whyceewhite / CarLess

Logging commuting trips completed using transit or pedestrian modes of transportation.
0 stars 0 forks source link

Use most recent fuel price if data does not exist #78

Closed whyceewhite closed 9 years ago

whyceewhite commented 9 years ago

When obtaining the weekly fuel prices from EIA, the start of the week's data is on a Monday. However, the data is not released until several days later (~Wednesday). Therefore, log entries that occur on Monday and Tuesday will not have fuel price data. As a result, modify the logic to return the most recent fuel price if the week is not represented.