micahjsmith / FredData.jl

Pull data from Federal Reserve Economic Data (FRED) directly into Julia
https://micahjsmith.github.io/FredData.jl/dev
Other
64 stars 19 forks source link

Fetch series when metadata fields are missing #1

Closed emoszkowski closed 8 years ago

emoszkowski commented 8 years ago

get_data fails without returning the data series when metadata queries fail. For example,

f = Fred()
data = get_data(f, "PRS85006063"; frequency="q", observation_start="1959-01-01")

throws a KeyError. Would it be possible to throw a warning but still return the series if non-essential metadata is missing?

micahjsmith commented 8 years ago

Thanks. Closed by d8891d957426f857a78c42c2752a61fd63393f0d