powered by
Get the extension that matches with the format passed like parameter
get_extension(format)
A string that contains the format
A string
# NOT RUN { library(dataesgobr) extension <- get_extension("text/csv") extension <- get_extension("application/pdf") # }
Run the code above in your browser using DataLab