process_file_name {RNHANES}R Documentation

Processes a file name to make sure it is valid and has the correct suffix and extension File names with an extension (e.g. ".XPT") are not altered

Description

Processes a file name to make sure it is valid and has the correct suffix and extension File names with an extension (e.g. ".XPT") are not altered

Usage

process_file_name(file_name, year, extension = ".XPT")

Arguments

file_name

name of the file

year

NHANES cycle year

extension

file extension


[Package RNHANES version 1.1.0 Index]