covid-19-date-la-zi icon indicating copy to clipboard operation
covid-19-date-la-zi copied to clipboard

Make small and large cities data structure consistent

Open decembrya opened this issue 2 years ago • 0 comments

Large cities parse expects to have "Incidență" in the json https://github.com/code4romania/covid-19-date-la-zi/blob/c194afd20fcd54b4311105fc2bd09d62f552d2dc/utils/parse.js#L77 while small cities parse expects "Incidența" https://github.com/code4romania/covid-19-date-la-zi/blob/c194afd20fcd54b4311105fc2bd09d62f552d2dc/utils/parse.js#L56

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

decembrya avatar Mar 06 '22 16:03 decembrya