Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_decennial gives incorrect values for 2000 aian and aianprofile #568

Open
resistor4u opened this issue Apr 24, 2024 · 0 comments
Open

Comments

@resistor4u
Copy link

Run the code below:

aian2000 <- get_decennial(geography="state",
                          variables=c("PCT001001"),
                          pop_group="all", pop_group_label=T,
                          year=2000,
                          sumfile="aian",
                          show_call=T,
                          output="wide")
aianpro2000 <- get_decennial(geography="state",
                             #variables=c("AIANHH","DP1_C0","POPGROUP"),
                             variables=c("AIANHH","DP1_C0"),
                             pop_group="all", pop_group_label=T,
                             year=2000,
                             sumfile="aianprofile",
                             show_call=T,
                             output="wide")

Both datasets have POPGROUP variables and POPGROUP_LABEL attributes, according to the API (https://api.census.gov/data/2000/dec/aian/variables/POPGROUP.json and https://api.census.gov/data/2000/dec/aianprofile/variables/POPGROUP.json). One of these groups is "3A5" with label "Kaibab Band of Paiute Indians of the Kaibab Indian Reservation alone (G29)" and "8U3" with label "Kaibab Band of Paiute Indians of the Kaibab Indian Reservation alone or in any combination (G29) and (100-299) or (300, A01-Z99) or (400-999)".

These groups (and several others) do not appear in the results above nor in the API call. Which makes me think it's not a tidycensus problem, but why are they not being reported? There were well over 100 ppl living at Kaibab in 2000, so I would be very surprised if there were not over 100 ppl who identified as Kaibab Paiute in the 2000 census and I don't think the 2000 reporting threshold was higher than 100?

Since the groups aren't in the results of the API call, the issue isn't likely with tidycensus. Is this a census reporting problem, or am I selecting inappropriate variables, or...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant