oturns / geosnap

The Geospatial Neighborhood Analysis Package
https://oturns.github.io/geosnap-guide
BSD 3-Clause "New" or "Revised" License
247 stars 32 forks source link

handling updates to inflation adjustment table #215

Closed knaaptime closed 4 years ago

knaaptime commented 4 years ago

ok, this took awhile to find.

To handle inflation, we read in an adjustment table from BLS . That's intentionally done on-the-fly, so we're always using BLS's data. But they recently updated the table and the new one has 5 header rows instead of 6, so the table was being read (so no errors) but wasn't being parsed properly (because no year column). In travis, this is all pretty invisible and just appears as though LTDB can't be found.

I like the idea of reading these data directly from the source but we could just store the table internally to avoid this sort of error in the future