jcizel / fredr Goto Github PK
View Code? Open in Web Editor NEWFredR: R Interface to Federal Reserve Economic Data API
Home Page: http://www.jankocizel.com/FredR/
License: Other
FredR: R Interface to Federal Reserve Economic Data API
Home Page: http://www.jankocizel.com/FredR/
License: Other
When trying to pull certain data, such as the Treasury Maturity Rates from the FRED API, I receive the following error:
as.data.frame(fred$series.observations(series_id = 'GS10'))
Error setting the option for # 3 (status = 43) (enum = 81) (value = 0x7f85745483f0):
A libcurl function was given a bad argument CURLOPT_SSL_VERIFYHOST no longer
supports 1 as value!
Hi there,
Many thanks for the development effort, this tool's going to be great. I am trying to run search queries using RStudio, I have an api.key but any call to functions such as "series.search" will bring the following error:
Error in rbindlist(., fill = TRUE) : unused argument (fill = TRUE)
I think this might be related to the function xml2dt but I don't have any notion in XML...
Do you have any clue how I can fix that ?
Many thanks, Nic
I am working in RStudio on Windows. I have a St. Louis Fed API key and stored it in a variable called api.key. However, when I try to run fred <- FredR(api.key) I receive this error message:
Error in readChar(con, 5L, useBytes = TRUE) : cannot open the connection
In addition: Warning message:
In readChar(con, 5L, useBytes = TRUE) :
cannot open compressed file './inst/data/categories.RData', probable reason 'No such file or directory'
Any ideas? I have been able to install an API key with the acs package api.key.install function.
Thanks.
Hi:
I am fairly new to R but have followed your instructions on devtool installation and I believe successfully installed FredR and have an api key. However when I follow your instructions on fred <- FredR(api.key) I get an error message that FredR function cant be found. Specifically here is what I get:
Installing FredR
"C:/PROGRA1/R/R-311.3/bin/x64/R" --vanilla CMD INSTALL "C:/Users/Ardavan/AppData/Local/Temp/Rtmp2BKcCm/devtools1a00c13091/jcizel-FredR-cef0c9c"
--library="C:/Users/Ardavan/Documents/R/win-library/3.1" --install-tests
fred <- FredR(api.key)
Error: could not find function "FredR"
Can you assist?
Hello,
I work on FRED at the St. Louis Fed. Beginning on August 18, 2015, the FRED API will require HTTPS requests. This change will help provide secure communication with the FRED API. An automatic redirect will forward HTTP requests to HTTPS. We recommend that you update the URLs in your code. The API currently supports HTTPS to allow you to test your applications with this secure protocol.
Please contact us at [email protected] or 314-444-FRED (3733) if you have questions or concerns. Thanks for using FRED and the FRED API.
Sincerely,
Keith Taylor
[email protected]
missing quotes; does not work in Ubuntu 14.04
devtools::install_github(jcizel/FredR) >> devtools::install_github("jcizel/FredR")
fred$series.search("Population")
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 38
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 136
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 139
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 151
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 189
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 192
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 227
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 237
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 348
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 384
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 391
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 394
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 402
Unescaped '<' not allowed in attributes values
attributes construct error
Couldn't find end of Start Tag series line 425
Opening and ending tag mismatch: a9 line 427 and seriess
Premature end of data in tag c2 line 427
Premature end of data in tag a9 line 404
Premature end of data in tag c2 line 404
Premature end of data in tag a9 line 396
Premature end of data in tag c2 line 396
Premature end of data in tag a9 line 393
Premature end of data in tag c2 line 393
Premature end of data in tag a9 line 386
Premature end of data in tag c2 line 386
Premature end of data in tag a9 line 350
Premature end of data in tag c2 line 350
Premature end of data in tag a9 line 239
Premature end of data in tag c2 line 239
Premature end of data in tag a9 line 229
Premature end of data in tag c2 line 229
Premature end of data in tag a9 line 194
Premature end of data in tag c2 line 194
Premature end of data in tag a9 line 191
Premature end of data in tag c2 line 191
Premature end of data in tag a9 line 153
Premature end of data in tag c2 line 153
Premature end of data in tag a9 line 141
Premature end of data in tag c2 line 141
Premature end of data in tag a9 line 138
Premature end of data in tag c2 line 138
Premature end of data in tag a9 line 40
Premature end of data in tag c2 line 40
Premature end of data in tag seriess line 2
Error: 1: Unescaped '<' not allowed in attributes values
2: attributes construct error
3: Couldn't find end of Start Tag series line 38
4: Unescaped '<' not allowed in attributes values
5: attributes construct error
6: Couldn't find end of Start Tag series line 136
7: Unescaped '<' not allowed in attributes values
8: attributes construct error
9: Couldn't find end of Start Tag series line 139
10: Unescaped '<' not allowed in attributes values
11: attributes construct error
12: Couldn't find end of Start Tag series line 151
13: Unescaped '<' not allowed in attributes values
14: attributes construct error
15: Couldn't find end of Start Tag series line 189
16: Unescaped '<' not allowed in attributes values
17: attributes construct error
18: Couldn't find end of Start Tag series line 192
19: Unescaped '<' not allowed in attributes values
20: attributes construct error
21: Couldn't find end of Start Tag series line 227
22: Unescaped '<' not allowed in attributes values
23: attributes const
Hi,
I am trying to search for the GDP series as in your most basic example. When running:
gdp.series <- fred$series.search("GDP")
I get the error message:
Space required after the Public Identifier
SystemLiteral " or ' expected
SYSTEM or PUBLIC, the URI is missing
I must be making some very silly mistake but don't know what.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.