NASA-IMPACT / covid-dashboard

https://earthdata.nasa.gov/covid19/
Other
19 stars 4 forks source link

Add name to API response #296

Closed olafveerman closed 4 years ago

olafveerman commented 4 years ago

Add name property to indicators when there's only a note. Eg, the following should have "name": "Nightlights"

{
  "id": "nightlights",
  "notes": "Nighttime lights data show an abrupt decrease in night lights corresponding to the onset of the shelter-in-place order. The location of decreased lights – predominantly in the central business districts, market areas, and entertainment districts – can be identified in the “before” and “after” imagery.",
  "highlight_bands": null
}
olafveerman commented 4 years ago

This was fixed through a combination of:

Currently on the API:

image