Learn R Programming

dataesgobr (version 1.0.0)

load_dataset: Load dataset from a data.frame

Description

Load dataset from a data.frame

Usage

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

Run this code
# NOT RUN {
library(dataesgobr)
# }
# NOT RUN {
datasets <- search_by_title('salud')
dataset <- load_dataset(datasets)

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

Run the code above in your browser using DataLab