MattCocci / FredFetch

For pulling current and vintage date from FRED and ALFRED API
5 stars 9 forks source link

Fixed bug where a series with gaps wouldn't load properly. #6

Open michaelboutros opened 6 years ago

michaelboutros commented 6 years ago

Using latest, some series that have gaps would not be loaded properly because upon encountering the first gap value, denoted in Fred by a period, the textscan in latest_ would stop scanning. This fixes the issue by loading the entire column of values as a string and then converting it to a number.

Example Series: CUUR0000SEHA