load_dataset: Load dataset from a data.frame

Description Usage Arguments Value Examples

Description

Load dataset from a data.frame

Usage

1
load_dataset(dataframe, row = 1)

Arguments

dataframe

A data.frame with datasets from datos.gob.es

row

A number of the row in the data.frame. If the dataset has more than one element this param determinates the row to load. If row parameter is missing then the function will load the first row

Value

A dataesgobr object

Examples

1
2
3
4
5
6
7
library(dataesgobr)

datasets <- search_by_title('salud')
dataset <- load_dataset(datasets)

datasets <- search_by_title('consumo')
dataset <- load_dataset(datasets, 5)

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