Description Usage Arguments Details Value
View source: R/load_indicators.R
All data tables requested by the WHO API contain a SpatialDim, TimeDim, Dim1, Dim2, Dim3 and DataSourceDim dimension. These dimensions have corresponding units, e.g. the type of the TimeDim column is typically a year.
1 |
data |
A raw WHO API dataset |
We can transform the dimension and its corresponding dimension type to one column by setting the values of DimType to the column name and letting Dim be the values. Note that this sometimes results into multiple columns if if the DimType reports multiple units like years and months.
A tidy-transformed WHO dataset
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.