hi,
I am new to the IPUMS community, and I expect to actively use the IPUMS API.
I am using R to get a data call using the IPUMS API key, but I am getting an error message that reads like this “Error: Your API call has errors. The API message returned is HTTP Status 404 ? Not Foundbody {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}
HTTP Status 404 ? Not Found
.”I am not completely sure what is wrong. See script below
library(ipumsr)
library(mapview)
set_ipums_api_key(“I inserted the key code here”, save=TRUE)
dc_pums_2021 ← get_pums(variables =c(“SEX”,“AGEP”,“HHT”,“MV”),
state=“DC”, survey = “ACS5”,
year=2021, recode = TRUE)