laptop and a wrench

Bug

When enriching a dataset referencing a country, the enrich method of the arcgis.geoenrichment module does not summarize analysis variables.

ArcGIS API for Python
Bug ID Number BUG-000171391
SubmittedOctober 10, 2024
Last ModifiedOctober 29, 2024
Applies toArcGIS API for Python
Version found2.3.0
Operating SystemWindows Server
Operating System Version2019 64 Bit
StatusAs Designed

Additional Information

This error is as designed since the country's enrich method does not take 'analysis_variables' as a keyword argument. The analysis variables must be passed into the 'enrich_variables' argument. Refer to this guide for further instructions: https://developers.arcgis.com/python/latest/guide/part6-country-enrich/

Workaround

Do not include a country in the enrich parameter. For example:

enrich(study_areas=["380 New York St Redlands CA 92373"], analysis_variables=["Age.FEM45","Age.FEM55","Age.FEM65"])

Steps to Reproduce

Bug ID: BUG-000171391

Software:

  • ArcGIS API for Python

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options