Package: brfssdata
Title: Access CDC Behavioral Risk Factor Surveillance System Data
Version: 0.1.1
Authors@R:
person("Muntasir", "Masum", , "muntasir.1124@gmail.com", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-4210-2844"))
Description: Download, cache, and analyze annual microdata from the
United States Centers for Disease Control and Prevention
Behavioral Risk Factor Surveillance System (BRFSS)
. Each requested survey year is
downloaded once as a compact file hosted on public releases,
verified against a published checksum, and cached locally;
queries then run through 'DuckDB' (via the 'duckdb' package),
so column selection and repeat analyses never re-transfer data.
Survey-design helpers construct 'srvyr' design objects with
year-appropriate weights, strata, and primary sampling units,
including explicit handling of the 2011 weighting methodology
change and of the codes CDC uses for missing-type answers.
License: MIT + file LICENSE
Depends: R (>= 4.2)
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 8.0.0
Suggests: curl, dplyr, knitr, rmarkdown, spelling, survey, testthat,
withr
Config/testthat/edition: 3
LazyData: true
Config/Needs/website: ggplot2, haven
Imports: cli, DBI, duckdb (>= 1.5.5), jsonlite, rlang, srvyr (>=
1.0.0), tibble, tools, utils
URL: https://muntasirmasum.github.io/brfssdata/,
https://github.com/muntasirmasum/brfssdata
VignetteBuilder: knitr
BugReports: https://github.com/muntasirmasum/brfssdata/issues
Language: en-US
Config/pak/sysreqs: make libicu-dev xz-utils
Repository: https://muntasirmasum.r-universe.dev
Date/Publication: 2026-10-17 05:50:40 UTC
RemoteUrl: https://github.com/muntasirmasum/brfssdata
RemoteRef: HEAD
RemoteSha: bd285d8945ce5a8d44cb5333d38bba4713d80aa8
NeedsCompilation: no
Packaged: 2026-10-18 06:12:11 UTC; root
Author: Muntasir Masum [aut, cre, cph] (ORCID:
)
Maintainer: Muntasir Masum