Skip to content

Commit

Permalink
fixing generate_codebook bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wcurrangroome committed Jan 31, 2024
1 parent bf6c589 commit c930784
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
12 changes: 9 additions & 3 deletions R/generate_codebook.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,15 @@
#' passed to `variables` that are not generated by `compile_acs_data()` are returned
#' in the codebook with missing definitions.
#' @examples
#' acs_variables = list_acs_variables(year = "2022")
#' generate_codebook(
#' variables = acs_variables,
#' df = compile_acs_data(
#' variables = list_acs_variables(year = 2022),
#' years = c(2022),
#' geography = "county",
#' states = "NJ",
#' counties = NULL,
#' retain_moes = TRUE)
#' codebook = generate_codebook(
#' variables = colnames(df %>% dplyr::select(-matches("percent"))),
#' years = c(2022))
#' @export
#' @importFrom magrittr %>%
Expand Down
2 changes: 0 additions & 2 deletions man/compile_acs_data.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions man/generate_codebook.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c930784

Please sign in to comment.