Learn R Programming

dataesgobr (version 1.0.0)

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

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

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

Run this code
# NOT RUN {
library(dataesgobr)
# }
# NOT RUN {
datasetsPublic <- search_by_theme('sector-publico', 20)
datasetsSalud <- search_by_theme('salud', page = 2)
# }

Run the code above in your browser using DataLab