get_ext {rio} | R Documentation |
A utility function to retrieve the file type from a file extension (via its filename/path/URL)
get_ext(file)
file |
A character string containing a filename, file path, or URL. |
A characters string containing a file type recognized by rio.