nhanesTableSummary | R Documentation |
Summarize a NHANES table
nhanesTableSummary(nh_table, use = c("data", "codebook", "both"), ...)
nh_table |
the name of a valid NHANES table |
use |
character string, whether to create a summary from the
data itself or the codebook, which respectively use either the
NHANES SAS data files or the HTML documentation files. If
|
... |
additional arguments, usually passed on to either
|
Returns a per-variable summary of a NHANES table either using the actual data or its corresponding codebook
A data frame with one row per variable, with columns
depending on the value of the use
argument.
nhanesTableSummary('DEMO_D', use = "data")
nhanesTableSummary('DEMO_D', use = "codebook")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.