Select to view content in your preferred language

How to make a geoenrichment request with standard geography - US Boundary

317
0
07-12-2019 01:26 PM
CraigMiller2
New Contributor

I'm successfully querying demographic variables using the geoenrichment REST API and specifying a study area as geometry.  Now I'd like to fetch a few of the variables for the entire US.  I've seen several examples of this being done for specific zip codes, but can't seem to figure out what my request options should look like for the entire 'US'.

What I have...

StudyAreas = [
  {
    "geographyType":"standard",
    "sourceCountry":"US",
    "layer":"countries",
    "ids":["US"]
  }
]

Any suggestions?

0 Kudos
0 Replies