removed comments about function signature, changed code to appear correctly in output
This commit is contained in:
@@ -1,13 +1,11 @@
|
||||
# Segmentation Functions
|
||||
|
||||
The Segmentation Snapshot API function enables you to determine the pre-calculated population segment for a location. Segmentation is a method that divides a target market into subgroups based on shared common traits. For example, you can take the location of a store location and determine what classification of population exists around that location. If you need help creating coordinates from addresses, see the [Geocoding Functions](/cartodb-platform/dataservices-api/geocoding-functions/) documentation.
|
||||
The Segmentation Snapshot functions enable you to determine the pre-calculated population segment for a location. Segmentation is a method that divides a target market into subgroups based on shared common traits. For example, you can take the location of a store location and determine what classification of population exists around that location. If you need help creating coordinates from addresses, see the [Geocoding Functions](/cartodb-platform/dataservices-api/geocoding-functions/) documentation.
|
||||
|
||||
_**Note:** The Segmentation Snapshot API is currently only available for the United States. CartoDB includes the segmentation profile defined in the Output Data: US_tract_clusters_new_, as detailed in the _[Understanding America's Neighborhoods Using Uncertain Data from the American Community Survey](http://www.tandfonline.com/doi/pdf/10.1080/00045608.2015.1052335) contextual approach. Subsequent releases will include additional segmentation profiles._
|
||||
_**Note:** The Segmentation Snapshot functions are only available for the United States. CartoDB includes the segmentation profile defined in the Output Data: US_tract_clusters_new_, as detailed in the _[Understanding America's Neighborhoods Using Uncertain Data from the American Community Survey](http://www.tandfonline.com/doi/pdf/10.1080/00045608.2015.1052335) contextual approach. Subsequent releases will include additional segmentation profiles._
|
||||
|
||||
## OBS_GetSegmentationSnapshot( Point Geometry );
|
||||
|
||||
<<<<<<<<**PLEASE CONFIRM NAME, SPACING IN THE ACTUAL DATASERVICES API CODE APPEARS DIFFERENTLY FOR THIS FUNCTION?**>>>>>>>>
|
||||
|
||||
### Arguments
|
||||
|
||||
Name | Type | Description | Example Values
|
||||
@@ -26,7 +24,7 @@ __todo__
|
||||
|
||||
### Examples
|
||||
|
||||
```html
|
||||
```bash
|
||||
https://{{username}}.cartodb.com/api/v2/sql?q=SELECT * FROM
|
||||
OBS_GetSegmentationSnapshot({{point geometry}})
|
||||
```
|
||||
@@ -36,7 +34,7 @@ OBS_GetSegmentationSnapshot({{point geometry}})
|
||||
__Get the Segmentation Snapshot around the MGM Grand__
|
||||
|
||||
|
||||
```text
|
||||
```bash
|
||||
https://{username}.cartodb.com/api/v2/sql?q=SELECT * FROM
|
||||
OBS_GetSegmentationSnapshot(CDB_LatLng(36.10222, -115.169516))
|
||||
```
|
||||
@@ -44,7 +42,7 @@ OBS_GetSegmentationSnapshot(CDB_LatLng(36.10222, -115.169516))
|
||||
__Get the Segmentation Snapshot at CartoDB's NYC HQ__
|
||||
|
||||
|
||||
```text
|
||||
```bash
|
||||
https://{username}.cartodb.com/api/v2/sql?q=SELECT * FROM
|
||||
OBS_GetSegmentationSnapshot(CDB_LatLng(40.704512, -73.936669))
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user