Learn R Programming

dataesgobr (version 1.0.0)

get_format: Get the format that matches with the extension passed like parameter

Description

Get the format that matches with the extension passed like parameter

Usage

get_format(ext)

Arguments

ext

A string that contains the extension

Value

A string

Examples

Run this code
# NOT RUN {
library(dataesgobr)
format <- get_format(".csv")
format <- get_format(".pdf")
# }

Run the code above in your browser using DataLab