powered by
Check if the dataset has a correct format
check_file(file, noconfirm = FALSE, outfile = NULL)
A string The file to check
A logical, Use TRUE to skip confirmation about file writing
A character the path where the file will be save if it need to be modify, NULL to use the file's directory
Return a logical, if the file is correct it will be TRUE, else FALSE
# NOT RUN { library(dataesgobr) file <- system.file("extdata", "fichero.csv", package="dataesgobr") correct <- check_file(file, noconfirm = TRUE, outfile = tempdir()) # }
Run the code above in your browser using DataLab