issues
search
neherlab
/
covid19_scenarios
Models of COVID-19 outbreak trajectories and hospital demand
https://covid19-scenarios.org
MIT License
1.36k
stars
352
forks
source link
Invalid state names in india parser
#628
Closed
noleti
closed
4 years ago
noleti
commented
4 years ago
🐛 Bug Report
India parser API apparently likes to send data with for state name+hash sign sometimes, e.g.
https://github.com/neherlab/covid19_scenarios/blob/master/data/case-counts/india/IND-Nagaland%23.tsv
How to reproduce
Steps to reproduce the issue:
run india parser
Check for files generated with hash sign (e.g. IND-Nagaland#.tsv)
Does not happen all the time
😯 Current Behavior
Must be a problem upstream
🤔 Expected Behavior
State names should be consistent
💁 Possible Solution
We could try to catch in parser. I have only seen this for hash characters so far. So we can likely just .replace('#','') when parsing the state name.
🔦 Context
💻 Code Sample
🌍 Your Environment
Software
Version(s)
Browser
Operating System
Related
-
🐛 Bug Report
How to reproduce
Steps to reproduce the issue:
😯 Current Behavior
🤔 Expected Behavior
💁 Possible Solution
🔦 Context
💻 Code Sample
🌍 Your Environment
Related
-