Skip to content

Covid19 Cuba Data

Leynier Gutiérrez González edited this page Apr 7, 2020 · 1 revision

License: MIT Last commit GitHub commit activity Github Stars Github Forks Github Watchers GitHub contributors .github/workflows/main.yml

Fork of https://covid19cubadata.github.io to check data and generate other more comfortable and versioned data from the original data using GitHub Actions.

Endpoints

IMPORTANT!!! All the JSON displayed in the README are only to show the structure, they do not correspond to real data. To see the real data of the endpoints consult them.

Affected municipalities ordered from highest to lowest

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/affected_municipalities.json

[
  {"value": 10, "name": "Boyeros", "province": "La Habana", "total": 350},
]

Affected provinces ordered from highest to lowest

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/affected_provinces.json

[
  {"value": 108, "name": "La Habana", "total": 350},
]

Cases diagnosed by contagion mode

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/cases_by_mode_of_contagion.json

{
  "imported": {"name": "Importados", "value": 140},
  "inserted": {"name": "Introducidos", "value": 206},
  "autochthonous": {"name": "Autóctonos", "value": 0},
  "unknown": {"name": "Desconocidos", "value": 4}
}

Cases diagnosed by nationality (cubans, foreign, unknown)

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/cases_by_nationality.json

{
  "foreign": {"name": "Extranjeros", "value":32},
  "cubans": {"name": "Cubanos", "value":318},
  "unknown": {"name": "No reportados", "value":0}
}

Cases diagnosed by sex

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/cases_by_sex.json

{
  "men": {"name": "Hombres", "value": 180},
  "women": {"name": "Mujeres", "value": 170},
  "unknown": {"name": "No Reportados", "value": 0}
}

Comparison of accumulated cases diagnosed from Cuba with other countries.

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/comparison_of_accumulated_cases.json

{
  "countries": {
      "Afghanistan": [281,299,349],
      "Albania": [304,333,361],
      "Cuba": [288,320,350]
  },
  "updated":"2020/04/5"
}

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/distribution_by_age_ranges.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/distribution_by_nationality_of_foreign_cases.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/evolution_of_cases_by_days.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/evolution_of_deaths_by_days.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/evolution_of_recovered_by_days.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/list_of_tests_performed.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/map_data.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/note.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/resume.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/tests_by_days.json https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/updated.json

https://covid19cuba.github.io/covid19cubadata.github.io/api/v1/all.json