process_file_name: Processes a file name to make sure it is valid and has the...

View source: R/import.R

process_file_nameR 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


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