code4romania/covid-19-date-la-zi

Make small and large cities data structure consistent

Opened this issue · 0 comments

Large cities parse expects to have "Incidență" in the json

incidenta: parseFloat(city['Incidență']),

while small cities parse expects "Incidența"
incidenta: parseFloat(city['Incidența']),

This can cause issues since the data automatically only creates jsons with "Incidența" for both sets of data. Propose to have them both use the same version and sanitize data to that version