There is the US json for the current situation in US, yet the json only shows the States while I'd also need the coordinates to place them in a map.
On here we have the long
and lat
for each State, not sure how could I merge the 2 to combine them into a single file adding the coordinates for each State.
US data json is:
[
{
"date": 20200421,
"state": "AK",
...
},
{
"date": 20200421,
"state": "AL",
"positive": 5231,
"negative": 43295,...
For each state I am looking at adding:
[
{
"date": 20200421,
"state": "AK",
"lat": "63.588753",
"long": "-154.493062",
Then be able to download it. Or is there any other way I could programmatically get the coords instead of adding them each time? Not sure how to approach it.
UPDATE
Added php tag
too as this could be done via backend.