brfssdata: Access CDC Behavioral Risk Factor Surveillance System Data
Download, cache, and analyze annual microdata from the United States Centers for Disease Control and Prevention Behavioral Risk Factor Surveillance System (BRFSS) <https://www.cdc.gov/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.
| Version: |
0.1.0 |
| Depends: |
R (≥ 4.2) |
| Imports: |
cli, DBI, duckdb (≥ 1.5.5), jsonlite, rlang, srvyr (≥
1.0.0), tibble, tools, utils |
| Suggests: |
curl, dplyr, knitr, rmarkdown, spelling, survey, testthat, withr |
| Published: |
2026-08-21 |
| DOI: |
10.32614/CRAN.package.brfssdata (may not be active yet) |
| Author: |
Muntasir Masum
[aut, cre, cph] |
| Maintainer: |
Muntasir Masum <muntasir.1124 at gmail.com> |
| BugReports: |
https://github.com/muntasirmasum/brfssdata/issues |
| License: |
MIT + file LICENSE |
| URL: |
https://muntasirmasum.github.io/brfssdata/,
https://github.com/muntasirmasum/brfssdata |
| NeedsCompilation: |
no |
| Language: |
en-US |
| Citation: |
brfssdata citation info |
| Materials: |
README, NEWS |
| CRAN checks: |
brfssdata results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=brfssdata
to link to this page.