nhanesAttr: Returns the attributes of an NHANES data table.

Description Usage Arguments Details Value Examples

Description

Returns attributes such as number of rows, columns, and memory size, but does not return the table itself.

Usage

1
nhanesAttr(nh_table)

Arguments

nh_table

The name of the specific table to retrieve

Details

nhanesAttr allows one to check the size and other charactersistics of a data table before importing into R. To retrieve these characteristics, the specified table is downloaded, characteristics are determined, then the table is deleted.

Value

The following attributes are returned as a list
nrow = number of rows
ncol = number of columns
names = name of each column
unique = true if all SEQN values are unique
na = number of 'NA' cells in the table
size = total size of table in bytes
types = data types of each column

Examples

1
2
nhanesAttr('BPX_E')
nhanesAttr('FOLATE_F')


Search within the nhanesA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.