options(rmarkdown.html_vignette.check_title = FALSE) library(pddcs) indicators <- indicatorlist[indicatorlist$source == 'who',]$indicator
This vignette provides details on the source data retrieved from WHO.
library(pddcs)
fetch_indicator()
with source = 'who'
retrieves data from the Global Health Observatory provided by WHO.
Note that some indicators are re-scaled before being returned by fetch_indicator()
. Currently this applies to SH.MED.NUMW.P3, SH.MED.PHYS.ZS and SH.MED.BEDS.ZS, which are all re-scaled from values per 10,000 to values per 1,000.
The following r length(indicators)
indicators are available for WHO.
library(dplyr) data(indicatorlist) indicatorlist %>% filter(source == 'who') %>% select(indicator)
# Fetch data on hospital beds df <- fetch_indicator('SH.MED.BEDS.ZS', source = 'who') # Fetch data for mortality rate attributed to unsafe water df <- fetch_indicator( indicator = c('SH.STA.WASH.P5', 'SH.STA.WASH.FE.P5', 'SH.STA.WASH.MA.P5'), source = 'who')
WHO. Global Health Observatory. https://www.who.int/data/gho
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.