Manushi-
Thank you! I changed the name and it worked.
I initially ran the notebook script as is. Then I used other variables for another locale (Michigan). I uploaded polygon data for census tracts based on 2010 Census Shapefiles. This however returned other errors. The code is below.
My follow up question is - should I change the polygon data if Census tracts is not supported by "variables from global data collections"?
I would be grateful for any insight (or suggested coursework in ESRI that can enable me learn even more).
Thanks
Babasola
from arcgis.features.enrich_data import enrich_layer
population_2019 = ['TOTPOP_CY', 'POPDENS_CY']
enriched = enrich_layer(MItracts_layer, analysis_variables=population_2019, output_name='Population density of Census Tracts in Michigan')· enriched
{"messageCode": "AO_100047", "message": "Enrichment may not be available for some features."}
{"messageCode": "AO_100000", "message": "Country aggregation mode supports only variables from global data collections. Following variables couldn't be processed: 'POPDENS_CY', 'TOTPOP_CY'."}