load_data: Load data from a file

Description Usage Arguments Value Examples

Description

This function loads the data from the file passed like param

Usage

1
load_data(file, outfile = NULL)

Arguments

file

A file with data previously downloaded

outfile

A character the path where the file will be save if it need to be modify, NULL to use the file's directory

Value

A data.frame

Examples

1
2
3
4
5
library(dataesgobr)

file <- system.file("extdata", "fichero.csv", package = "dataesgobr")
load_data(file)
load_data(file, outfile = tempdir())

dataesgobr documentation built on June 18, 2019, 5:04 p.m.