file_dataset_format {rdhs} | R Documentation |
Returns what the dataset file ending should be for a given filename
Description
Returns what the dataset file ending should be for a given filename
Usage
file_dataset_format(file_format)
Arguments
file_format |
FileFormat for a file as taken from the API,
e.g. |
Value
One of "dat","dat","sas7bdat","sav" or "dta"
Examples
file_format <- "Stata dataset (.dta)"
identical(rdhs:::file_dataset_format(file_format),"dta")
[Package rdhs version 0.8.1 Index]