GithubHelp home page GithubHelp logo

fredr's Issues

Problem Querying Data: Error setting the option for # 3

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!

Unable to load series - issue in "xml2dt" ?

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

Unable to install API key

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.

Issues with FredR

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

  • installing source package 'FredR' ...
    ** R
    ** inst
    ** tests
    ** preparing package for lazy loading
    Warning: replacing previous import by 'dplyr::between' when loading 'FredR'
    Warning: replacing previous import by 'dplyr::last' when loading 'FredR'
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    *** arch - i386
    Warning: replacing previous import by 'dplyr::between' when loading 'FredR'
    Warning: replacing previous import by 'dplyr::last' when loading 'FredR'
    *** arch - x64
    Warning: replacing previous import by 'dplyr::between' when loading 'FredR'
    Warning: replacing previous import by 'dplyr::last' when loading 'FredR'
  • DONE (FredR)

    fred <- FredR(api.key)
    Error: could not find function "FredR"

Can you assist?

FRED API to require HTTPS August 18.

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]

Installation command

missing quotes; does not work in Ubuntu 14.04
devtools::install_github(jcizel/FredR) >> devtools::install_github("jcizel/FredR")

Revisited this useful tool and find it's not functioning

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

Error when running minimal example

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.