get_resp_paginated: Make GET requests over several pages of an API

Description Usage Arguments Value

View source: R/utils.R

Description

Make GET requests over several pages of an API

Usage

1
get_resp_paginated(ch_url, num_pages = 1, page = 0, ...)

Arguments

ch_url

URL to request from, preferably from the path_* functions

num_pages

Number of pages to request

page

The page at which the request should being. This should rarely be used

...

Arguments passed to GET

Value

the parsed JSON object as a list but inside the items slots it contains all data lists obtained from the pages specified in num_pages


cimentadaj/datos_gob documentation built on April 16, 2021, 11:47 a.m.