build_url_groups: Build url groups for get_requests

Description Usage Arguments Value Author(s)

View source: R/get_table.R

Description

Harvest API v2 only accepts 100 urls every 15 seconds. build_url_groups breaks urls into groups of 100 naming the last group, "Last_Group". Groups run requests and then R sleeps for 15 seconds get requests to the Harvest API v2. The function is a wrapper around the httr::GET function and safely returns the httr result as result or error.

Usage

1

Arguments

...

Additional arguments, potentially passed to other functions - see details in get_table

url

Character vector of urls of the get request

Value

named list

Author(s)

Mark Druffel, mdruffel@propellerpdx.com


propellerpdx/harvestR documentation built on Jan. 5, 2021, 2:33 p.m.