removed comments about function signature, changed code to appear correctly in output

This commit is contained in:
csobier
2016-05-09 08:36:05 -04:00
parent df8810f55d
commit 8c6318e25d
2 changed files with 9 additions and 14 deletions
+4 -7
View File
@@ -1,13 +1,11 @@
# Demographic Functions
The Demographic Snapshot API function enables you to collect demographic details around a point location. For example, you can take the coordinates of a coffee shop and find the average population characteristics around that location. If you need help creating coordinates from addresses, see the [Geocoding Functions](/cartodb-platform/dataservices-api/geocoding-functions/) documentation.
The Demographic Snapshot functions enable you to collect demographic details around a point location. For example, you can take the coordinates of a coffee shop and find the average population characteristics around that location. If you need help creating coordinates from addresses, see the [Geocoding Functions](/cartodb-platform/dataservices-api/geocoding-functions/) documentation.
_**Note:** The Demographic Snapshot API is currently only available for the United States._
_**Note:** The Demographic Snapshot functions are only available for the United States._
## OBS_GetDemographicSnapshot( Point Geometry );
<<<<<<<<**PLEASE CONFIRM NAME, SPACING IN THE ACTUAL DATASERVICES API CODE APPEARS DIFFERENTLY FOR THIS FUNCTION?**>>>>>>>>
Fields returned include information about income, education, transportation, race, and more. Not all fields will have information for every coordinate queried.
### Arguments
@@ -23,7 +21,7 @@ The Demographic Snapshot contains a broad subset of demographic measures in the
### Examples
```html
```bash
https://{{username}}.cartodb.com/api/v2/sql?q=SELECT * FROM
OBS_GetDemographicSnapshot({{point geometry}})
```
@@ -41,9 +39,8 @@ OBS_GetDemographicSnapshot(CDB_LatLng(39.648333, -77.465))
__Get the Demographic Snapshot in the Upper West Side__
```text
```bash
https://{username}.cartodb.com/api/v2/sql?q=SELECT * FROM
OBS_GetDemographicSnapshot(CDB_LatLng(40.80, -73.960))
```