Download, Parse, and Analyze NHANES Data with Mortality Linkage


[Up] [Top]

Documentation for package ‘nhanesR’ version 0.1.5

Help Pages

nhanes_cache_dir Get or set the nhanesR local cache directory
nhanes_cycles List available NHANES cycles
nhanes_download Download and cache NHANES XPT data files
nhanes_download_analyte Download NHANES files for an analyte using the CDC variable catalog
nhanes_followup_summary Summarize mortality follow-up by cycle
nhanes_harmonize Harmonize variable names across NHANES cycles and stack into one data frame
nhanes_lmf_cycles List NHANES cycles with a public-use LMF
nhanes_manifest List available files for a NHANES cycle and component
nhanes_merge Merge NHANES component data frames by SEQN
nhanes_mortality_download Download NHANES Public-Use Linked Mortality Files
nhanes_mortality_link Link mortality data onto an NHANES analytic dataset
nhanes_mortality_parse Parse NHANES Linked Mortality Files into data frames
nhanes_search_variables Search NHANES variables by keyword
nhanes_stack Stack NHANES data across multiple cycles
nhanes_survival_prep Prepare an NHANES-LMF dataset for survival analysis
nhanes_ucod_labels Lookup table for UCOD_LEADING cause-of-death codes
nhanes_variable_map Build a per-cycle variable map for an analyte
NH_describe NHANES-annotated variable descriptions
NH_label Attach CDC variable descriptions as Hmisc-style labels
svycph_fuse Fuse svycoxph and cph objects for rms ecosystem compatibility
svycph_set_basehaz Substitute weighted baseline hazard into a fused cph object
weighted_basehaz Compute survey-weighted cumulative baseline hazard with variance