Basic API question (I watched several videos already)

It looks like to only practical way to get data is the API. I've watched several videos, read pages etc, and am still lost.

All ACS API's start with https://api.census.gov/data/2021/acs

For acs-1 its https://api.census.gov/data/2021/acs/acs1

api.census.gov/data/2021/acs/acs1?get=NAME,group(B01001)

api.census.gov/data/2021/acs/acs1/subject?get=NAME,group(S0101)

api.census.gov/data/2021/acs/acs1/profile?get=group(DP02)

api.census.gov/data/2021/acs/acs1/cprofile?get=group(CP05)

api.census.gov/data/2021/acs/acs1/spp?get=NAME,group(S0201)

Then there is ^&^&^ I don't understand and then to get county level data this goes at the end   &for=county:*  

I want table S0101 for all counties with;

County name

County ID

S0101_C01_001E

S0101_C01_032E

S0101_C01_036E
S0101_C02_036E

S0101_C06_001E

Long day at work and now its 1am and I'm doing this???

Parents Reply Children
  • Thanks so Much! It works. I was under the assumption the column-meta-data file fields would all have data. So I have to check the download data file, find fields I want and make sure there is data, then create the URL. I think it will take me 30-60 minutes for each download file and I have around 18 tables to download. 

    Add a day to download the URL data into tabs, clean it up and make it into 1 happy table with all the fields together. Then Tableau.

    If I ever do this again, and nothing big changes to the tables it might take me 4-6 hours

    I could use the methodology for ACS-5, although the data and tables might be slightly different.

    Thanks again !