Closed djay closed 3 years ago
is there anyway to unencode whatever they did to their csv file? @porames
Use TIS-620 encoding. I think it's a temporary mistake but meanwhile you can decode it like this https://github.com/porames/the-researcher-covid-bot/blob/f565c79f5133cb4bb42b9b891696e83c16001132/bot_jobs/get_provincial_dataset.py
@porames worked like a charm. thats so much for that. never heard of tis-60 before.
https://data.go.th/dataset/8a956917-436d-4afd-a2d4-59e4dd8e906e/resource/be19a8ad-ab48-4081-b04a-8035b5b2b8d6/download/confirmed-cases.csv
Not sure what they have done or if there is a way unencode it
Hopefully it goes away today when it next updates. But since the API version and xlsx are 3 weeks out of date and the csv has now been overwritten in the cache, it does show a weak point in the system they I'm not sure how to get around.