MacroData | R Documentation |
Peovide macroeconomics data from various sources: - FRED
path_to_dump
Local path to save data to.
delay
Delay between requests.
new()
Create a new MacroData object.
MacroData$new(path_to_dump, delay = 0.8)
path_to_dump
Local path to save data to.
delay
Delay between requests.
A new 'MacroData' object.
get_fred_metadata()
Get FRED metadata.
MacroData$get_fred_metadata(asset)
asset
binance asset. Can be cm, um, option or spot
NULL.
get_alfred()
Get data from alfred.
MacroData$get_alfred(id, vintage_dates, bin_len = 2000)
id
Fred series id.
vintage_dates
Vintage dates.
bin_len
Bin length.
Data table with data.
bulk_fred()
Bulk FRED database.
MacroData$bulk_fred(ids)
ids
Character vector, Fred series ids.
NULL.
clone()
The objects of this class are cloneable with this method.
MacroData$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.