Description Usage Arguments Examples
Downloads US data from FRED website and saves as a dataframe funtion takes 3 arguments - the output folder, filename, and an option to chose between output specifications.
1 2 | get.US.data(folder = "data/input/", file = "rstar.data.us.csv",
pcGDP = FALSE)
|
folder |
the csv to perform the HLW estimation on. Please see elp file for required column names |
file |
a string for the country you are performing the estimates on - this is used in the output file name |
pcGDP |
logical. (default) FALSE uses real GDP, TRUE uses real GDP per capita |
1 2 3 4 5 | folder <- "data/inputData/" # output folder
file <- "rstar.data.us.csv" # output filename
pcGDP <- FALSE # False uses real GDP, true uses real GDP per capita
get.US.data(folder = folder, file = file)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.