Learn R Programming

dataesgobr (version 1.0.0)

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

Description

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

Usage

search_by_publisher(publisher, numentry = 50, page = 0)

Arguments

publisher

Publisher 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 {
url <- make_url("publisher", 'L01280066')
publisherID <- get_id(url)
datasets <- search_by_publisher(publisherID)
datasets2 <- search_by_publisher('L01280066')
# }

Run the code above in your browser using DataLab