Package: RNHANES 1.1.1

Herb Susmann

RNHANES: Facilitates Analysis of CDC NHANES Data

Tools for downloading and analyzing CDC NHANES data, with a focus on analytical laboratory data.

Authors:Herb Susmann [cre, aut], Silent Spring Institute [cph]

RNHANES_1.1.1.tar.gz
RNHANES_1.1.1.zip(r-4.5)RNHANES_1.1.1.zip(r-4.4)RNHANES_1.1.1.zip(r-4.3)
RNHANES_1.1.1.tgz(r-4.4-any)RNHANES_1.1.1.tgz(r-4.3-any)
RNHANES_1.1.1.tar.gz(r-4.5-noble)RNHANES_1.1.1.tar.gz(r-4.4-noble)
RNHANES_1.1.1.tgz(r-4.4-emscripten)RNHANES_1.1.1.tgz(r-4.3-emscripten)
RNHANES.pdf |RNHANES.html
RNHANES/json (API)
NEWS

# Install 'RNHANES' in R:
install.packages('RNHANES', repos = c('https://silentspringinstitute.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/silentspringinstitute/rnhanes/issues

On CRAN:

nhanespublichealth

7.47 score 65 stars 75 scripts 407 downloads 1 mentions 14 exports 39 dependencies

Last updated 5 months agofrom:5c7c761277. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 31 2024
R-4.5-winOKOct 31 2024
R-4.5-linuxOKOct 31 2024
R-4.4-winOKOct 31 2024
R-4.4-macOKOct 31 2024
R-4.3-winOKOct 31 2024
R-4.3-macOKOct 31 2024

Exports:nhanes_cycle_yearsnhanes_data_filesnhanes_detection_frequencynhanes_geometric_meannhanes_histnhanes_load_datanhanes_load_demography_datanhanes_quantilenhanes_sample_sizenhanes_searchnhanes_surveynhanes_survey_designnhanes_variablesnhanes_vcov

Dependencies:askpassclicurlDBIdplyrfansiforeigngenericsgluehttrjsonlitelatticelifecyclemagrittrMatrixmimeminqamitoolsnumDerivopensslpillarpkgconfigR6RcppRcppArmadillorlangrvestselectrstringistringrsurveysurvivalsystibbletidyselectutf8vctrswithrxml2

Introduction to RNHANES

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Oct 31 2024.

Last update: 2016-09-26
Started: 2016-04-12

Readme and manuals

Help Manual

Help pageTopics
RNHANES simplifies downloading and analyzing NHANES data.RNHANES-package rnhanes-package RNHANES rnhanes
Translates cycle years into the correct demography filename suffix, e.g. '2001-2002' returns 'B'demography_filename
Download an NHANES data file from a given cycledownload_nhanes_file
Returns the NHANES file suffix for the given yearfile_suffix
Download an NHANES description fileload_nhanes_description
Compute quantiles from NHANES weighted survey datanhanes_analyze
List the valid NHANES cycle yearsnhanes_cycle_years
List the NHANES data filesnhanes_data_files
Compute detection frequencies of NHANES datanhanes_detection_frequency
Compute geometric means from NHANES weighted survey datanhanes_geometric_mean
Plot a weighted histogram of an NHANES variablenhanes_hist
Download NHANES data files.nhanes_load_data
Download NHANES demography files for a specific cycle.nhanes_load_demography_data
Compute quantiles from NHANES weighted survey datanhanes_quantile
Compute the sample size of NHANES datanhanes_sample_size
Search the results from nhanes_variables or nhanes_data_filesnhanes_search
Apply a function from the survey package to NHANES datanhanes_survey
Build survey objects for NHANES datanhanes_survey_design
Load the NHANES comprehensive variable listnhanes_variables
Extract variance/covariance matrix from parameters of svymeannhanes_vcov
Processes a file name to make sure it is valid and has the correct suffix and extension File names with an extension (e.g. ".XPT") are not alteredprocess_file_name
Check that the year is in the correct format e.g. '2001-2002' is correct and returns TRUE, '2001' is not correct and returns FALSEvalidate_year