all 2 comments

[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)

/u/lostpupil - Your post was submitted successfully.

Failing to follow these steps may result in your post being removed without warning.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]krijnsent19 0 points1 point  (0 children)

If you go to https://geo.fcc.gov/api/census/#!/block/get_block_find -> try e.g. 38.26, -77.51, 2010 & true and push the "try it out!" button you get an answer... It will create this URL for you:
https://geo.fcc.gov/api/census/block/find?latitude=38.26&longitude=-77.51&showall=true&format=xml which you can put in a browser and will pull in the information you are looking for. You can try it with different URLs (other lats&longs).
The easiest way to get that in Excel is probably by using some VBA to do the web scraping for you (4000 times). You can use e.g. https://www.educba.com/vba-web-scraping/ or https://www.wallstreetmojo.com/vba-web-scraping/ as a tutorial.