demography_filename: Translates cycle years into the correct demography filename...

View source: R/import.R

demography_filenameR Documentation

Translates cycle years into the correct demography filename suffix, e.g. '2001-2002' returns 'B'

Description

Translates cycle years into the correct demography filename suffix, e.g. '2001-2002' returns 'B'

Usage

demography_filename(year)

Arguments

year

NHANES cycle, e.g. "2001-2002"

Value

suffix character e.g. "B"


SilentSpringInstitute/RNHANES documentation built on Feb. 15, 2024, 11:26 p.m.