Learn R Programming

fredr (version 0.1)

repeatCall: Repeat a call to FredR API function until all data is downloaded

Description

Repeat a call to FredR API function until all data is downloaded

Usage

repeatCall(f = NULL, ..., limit = 1000, offset = 0)

Arguments

f

one of the functions in the 'FredR' object that one wants to call repeatedly

...

additional parameters to FredR API function call

limit

number of units to be returned in a single call to the API

offset

offset

Value

data.table with the resulting dataset