Package: brfssdata 0.1.1

Muntasir Masum
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.
Authors:
brfssdata_0.1.1.tar.gz
brfssdata_0.1.1.zip(r-4.7-any)brfssdata_0.1.1.zip(r-4.6-any)brfssdata_0.1.1.zip(r-4.5-any)
brfssdata_0.1.1.tgz(r-4.6-any)brfssdata_0.1.1.tgz(r-4.5-any)
brfssdata_0.1.1.tar.gz(r-4.7-any)brfssdata_0.1.1.tar.gz(r-4.6-any)
brfssdata_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
brfssdata/json (API)
| # Install 'brfssdata' in R: |
| install.packages('brfssdata', repos = c('https://muntasirmasum.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/muntasirmasum/brfssdata/issues
Pkgdown/docs site:https://muntasirmasum.github.io
- brfss_states - BRFSS reporting jurisdictions: FIPS codes, names, and Census regions
- brfss_std_pop_2000 - The 2000 projected U.S. standard population
brfsscdcduckdbepidemiologyparquetpublic-healthsrvyrsurvey
Last updated from:bd285d8945. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 188 | ||
| source / vignettes | OK | 192 | ||
| linux-release | OK | 184 | ||
| macos-release | OK | 161 | ||
| macos-oldrel | OK | 143 | ||
| windows-devel | OK | 160 | ||
| windows-release | OK | 167 | ||
| windows-oldrel | OK | 162 | ||
| wasm-release | OK | 107 |
Exports:as_survey_designbrfss_cache_clearbrfss_cache_dirbrfss_cache_infobrfss_citationbrfss_codebookbrfss_crosswalkbrfss_designbrfss_downloadbrfss_labelsbrfss_missing_codesbrfss_varsbrfss_year_infobrfss_yearsread_brfsssurvey_meansurvey_propsurvey_totalunweighted
Dependencies:clicpp11DBIdplyrduckdbgenericsgluejsonlitelatticelifecyclemagrittrMatrixminqamitoolsnumDerivpillarpkgconfigpurrrR6RcppRcppArmadillorlangsrvyrstringistringrsurveysurvivaltibbletidyrtidyselectutf8vctrswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Manage the local BRFSS data cache | brfss_cache_clear brfss_cache_dir brfss_cache_info |
| Citations for the package and the survey years an analysis used | brfss_citation |
| Codebook card: everything the catalogs know about a variable | brfss_codebook |
| Rename crosswalk: which variables are generations of one measure | brfss_crosswalk |
| Build a survey-design object for BRFSS analysis | brfss_design |
| Prefetch BRFSS data and metadata into the local cache | brfss_download |
| Value labels for BRFSS variables | brfss_labels |
| Codes CDC uses for missing-type answers | brfss_missing_codes |
| BRFSS reporting jurisdictions: FIPS codes, names, and Census regions | brfss_states |
| The 2000 projected U.S. standard population | brfss_std_pop_2000 |
| Search BRFSS variables across survey years | brfss_vars |
| One row per published BRFSS survey year | brfss_year_info |
| List the BRFSS survey years available for download | brfss_years |
| Options that change how brfssdata behaves | brfssdata-options |
| Read BRFSS survey microdata | read_brfss |
