From f7769bb97f899890953eb97959f8e533ca5c6d17 Mon Sep 17 00:00:00 2001 From: Kyle Walker Date: Mon, 4 Mar 2024 10:54:00 -0600 Subject: [PATCH] fix #560 by converting vacant variables appropriately for 2022 --- DESCRIPTION | 4 ++-- R/load_data.R | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d5d2381..5c862f8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,12 +1,12 @@ Package: tidycensus Type: Package Title: Load US Census Boundary and Attribute Data as 'tidyverse' and 'sf'-Ready Data Frames -Version: 1.6.1 +Version: 1.6.2 Authors@R: c( person(given = "Kyle", family = "Walker", email="kyle@walker-data.com", role=c("aut", "cre")), person(given = "Matt", family = "Herman", email = "mfherman@gmail.com", role = "aut"), person(given = "Kris", family = "Eberwein", email = "eberwein@knights.ucf.edu", role = "ctb")) -Date: 2024-01-26 +Date: 2024-03-04 URL: https://walker-data.com/tidycensus/ BugReports: https://github.com/walkerke/tidycensus/issues Description: An integrated R interface to several United States Census Bureau diff --git a/R/load_data.R b/R/load_data.R index 953603c..4a810de 100644 --- a/R/load_data.R +++ b/R/load_data.R @@ -1022,7 +1022,7 @@ load_data_pums_vacant <- function(variables, state, puma, key, year, survey, # for which years is data dictionary available in pums_variables? # we'll use this a couple times later on - recode_years <- 2017:2021 + recode_years <- 2017:2022 base <- sprintf("https://api.census.gov/data/%s/acs/%s/pums", year, survey)