Skip to content

brfssdata

0.1.0

Access CDC Behavioral Risk Factor Surveillance System Data

0packages depend
87downloads / year
28.3%test coverage
12/12checks pass

Overview

About
Maintained by Muntasir MasumFirst published 2026-08-211 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
12OK
Slowest check: 7.9 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.06
28.3%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-22
    7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 841 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
92%
References docs
0%

Downloads

87
CRAN downloads in the past year
Rank #24,866 · ~0/day · ~7/mo
brfssdata
Daily download trend is not available in this view yet.

Repository

Repository
3Stars
0Forks
5Open issues
0Open PRs
42Releases
93Commits
1Contributors
93 commits · Last activity 2026-08-24 · +200% stars, 30d

Stars over time

2026-08-22 · 12026-08-25 · 3

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/muntasirmasum/brfssdata on 2026-08-23.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (2)
AirVS Code
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • 0.1.0Latest
    2026-08-21 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-08-21
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2
Bundled data
1.7 KB / 2 files
Download size
456 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("brfssdata")
Masum, M. (2026). brfssdata: Access CDC Behavioral Risk Factor Surveillance System Data (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.brfssdata

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for brfssdata version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy