Select to view content in your preferred language

Utilizing the arcgis.geoenrichment module for data enrichment and running into issue of Country Code

600
1
06-15-2023 09:47 AM
Labels (1)
AadithThiruvallarai
New Contributor

I am using the arcgis.geoenrichment, arcgis.geometry, and arcgis.gis modules to ascertain enrichment data for particular analysis variables. I originally was using ArcGIS Business Analyst but was running into an issue of my browser crashing due to running out of memory so I switched over to the ArcGIS Python API.

My particular use case is creating 1-mile buffer areas around ~100 points and ascertaining enrichment data from them. I created an API key, using my student account, that allows for Basemaps, Geocoding (stored), Geocoding (not stored), Service area, and Geoenrichment.

After switching over to Visual Studio, I consulted these two links:

  1. arcgis.geoenrichment module 
  2. intro to performing enrichment data

and modified the examples provided.

Here is my code:

not-working-code-1.png

not-working-code-2.png

Here is the error message:

error-msg.png

How do I specify the U.S. iso3 code?

0 Kudos
1 Reply
JoshuaPust
New Contributor III

Are you setting Country to "ATA"? Thats what the error message is saying. Below is how I ensure that USA is the Business Analyst dataset being used. What country are you intending to use?

JoshuaPust_1-1694013065197.png

 

0 Kudos