api icon indicating copy to clipboard operation
api copied to clipboard

Older files are been updated frequently

Open john2014 opened this issue 6 years ago • 3 comments

If you look at the folder: https://github.com/covid19india/api/tree/gh-pages/v3, the last updated date for most files is around 10 hours ago. These older files should not be updated.

If you look at history for July 29 file, https://github.com/covid19india/api/commits/gh-pages/v3/data-2020-06-29.json, you would see that it been updated a lot of times.

john2014 avatar Jul 06 '20 04:07 john2014

@shuklaayush We make corrections for previous dates when new information is available regarding some case. But is the code logic updating all the files in every run?

sudevschiz avatar Jul 07 '20 15:07 sudevschiz

Only those files are updated for which git detects a diff. This would only happen if there are modifications in the sheets.

I can see that a lot of old files have been recently updated. I'm guessing there are some corrections going on in the sheets.

shuklaayush avatar Jul 07 '20 15:07 shuklaayush

Sometimes data in sheets are updated for previous dates. This is the reason why older files are getting updated.

JunaidBabu avatar Jul 24 '20 19:07 JunaidBabu