I'm pretty new to R and using GitHub, so I'm not sure if I'm doing something wrong. but I'm trying to scrape the Alfred database using this project: https://github.com/onnokleen/alfred/blob/master/R/get_alfred_series.R
Im looking to see what data is scraped from the databace and in the end modify the code to get the data im looking for.
I copied and ran the get alfred series code and download the Alfred library. Then I tried to run one of his examples but I get this error.
get_alfred_series("INDPRO", "test",
observation_start = "2013-03-01", observation_end = "2013-03-30",
realtime_start = "2015-01-02", realtime_end = "2015-02-02")
Error: lexical error: invalid char in json text. Error in content(GET(paste0("ht (right here) ------^
To make the post shorter I didnt include the code for the functin, but its on the link.
I must be doing something wrong, no one else using that project seems to have that error. If anyone can try it out to see if they get an error? or if not, could tell me the steps they took to run this error-free?