This function downloads a table from the NHANES website using its
URL. It is similar to nhanes
, except that it
requires the URL to be explicitly specified, and does not try to
infer it from the table name. It also performs some limited
cleansing of the data by default.
The URL may be completely specified, but the initial standard
prefix "https://wwwn.cdc.gov"
may be optionally
dropped. More precisely, if the URL starts with "/nchs/"
,
then the prefix is automatically added. It is possible to override
the default prefix by setting the environment variable
NHANES_TABLE_BASE
(this allows the use of a local or
alternative mirror of the CDC data).