Skip to content

Commit

Permalink
fix(census_helper_new): remove check that errors if age or sex ar…
Browse files Browse the repository at this point in the history
…e `TRUE`, since `age` and `sex` are now supported
  • Loading branch information
rossellhayes committed Jan 19, 2024
1 parent f5f8ee3 commit e1148f6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/census_helper_v2.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ census_helper_new <- function(
if(!(year %in% c("2000","2010","2020"))){
stop("Interface only implemented for census years '2000', '2010', or '2020'.")
}
if (any(age, sex)){
stop("Models using age and sex not currently implemented.")
}

if (is.null(census.data) || (typeof(census.data) != "list")) {
toDownload = TRUE
Expand Down

0 comments on commit e1148f6

Please sign in to comment.