search_by_theme: Creates a data.frame containing datasets from datos.gob.es

Description Usage Arguments Value Examples

Description

Send a request to datos.gob.es using the theme param to search datasets that match with the theme, then the results are returned as data.frame

Usage

1
search_by_theme(theme, numentry = 50, page = 0)

Arguments

theme

Theme to search

numentry

Number of results for page

page

The number of page to see, the first page is 0

Value

A data.frame

Examples

1
2
3
4
library(dataesgobr)

datasetsPublic <- search_by_theme('sector-publico', 20)
datasetsSalud <- search_by_theme('salud', page = 2)

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