Forum Discussion
Data Mining Us Census Data
Hi h2022
I notice that if we use the input box to enter a state/city/..., the URL will be updated to include that state/city/... and the table will include columns of data for all these regions.
To have data of all states, you may need to prepare a list of URLs in advance, which include all state name strings. Then query data from these URLs to get all the data.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
- h20223 years agoFrequent Visitor
Hmm yeah, I was hoping there was an easier way - like how they offer APIs for alot of their demographic data. I might just be better off going that route.
- v-jingzhang3 years agoCommunity Support
I agree, it would be easier with APIs. Have you found whether this website provides APIs for these data? I haven't found any yet.
- h20223 years agoFrequent Visitor
Actually they do offer an API for the American Community Survey data which has alot of the same demographic data in it, I tried that and it works. https://www.census.gov/data/developers/data-sets.html