
Returns what the dataset file ending should be for a given filename
Source:R/utils.R
file_dataset_format.Rd
Returns what the dataset file ending should be for a given filename
Examples
file_format <- "Stata dataset (.dta)"
identical(rdhs:::file_dataset_format(file_format),"dta")
#> [1] TRUE