I'm trying to scrape age data from this map (go to the "Cases By County" section and click the right arrow once): https://samford.maps.arcgis.com/apps/opsdashboard/index.html#/b1ea36da38064bb499b77f5e76ee7bf0.
With tremendous help from (How do I scrape data from an ArcGIS Online map?), I've done the following. First, I went to the app json text. I extracted the id of the first mapWidget object, which is b0f4656b5402467d9d94dc5440be4b4a, and then went to https://www.arcgis.com/sharing/rest/content/items/b0f4656b5402467d9d94dc5440be4b4a/data. For testing, I decided to try to extract age data, so I found the operationalLayers
array of feature layers from that page, and determined the url to be https://services7.arcgis.com/4RQmZZ0yaZkGR1zy/ArcGIS/rest/services/Statewide_COVID19_CONFIRMED_DEMOG_PUBLIC/FeatureServer/0. From there, I tried querying 0=0
, which returns this. But as you can see, it returns map-related results, instead of numerical data that you can see in the chart.
This whole interface seems very foreign to me, so could someone help query the data the right way?
Thanks.