dictionary

dictionary(dataset, scale=None, ref=None)

The variable dictionary of a dataset, one row per column.

Parameters

Name Type Description Default
dataset str Dataset id (see geo.datasets()) required
scale str | None The resource’s scale (default: the dataset’s native scale) None

Returns

Name Type Description
pandas.DataFrame Columns variable, label (the field’s title, a readable name for plot axes and legends), description (how it was built), unit, role (id, time, source_key or variable), aggregation (the rule geo.aggregate uses), source and reference_years (the actual years behind each stored year, e.g. "2012: 2008; 2024: 2023", when they differ).

Example

!pip install -q geo4bolivia
import geo4bolivia as geo
import plotly.express as px

d = geo.dictionary("sdg03")
display(d[["variable", "label", "unit", "aggregation", "reference_years"]])
variable label unit aggregation reference_years
0 geo_id Municipality ID
1 year Period
2 mun_id INE municipality code
3 index_sdg3 Good health and well-being index (0-100) index (0-100) weighted_mean:population 2012: ~2012; 2024: ~2024
4 sdg3_1_cpp Births attended by skilled health personnel (%) % of births weighted_mean:population 2012: 2012; 2024: 2024
5 sdg3_2_tmi Infant mortality (per 1,000 live births) deaths under 1 per 1,000 live births weighted_mean:population 2012: 2008; 2024: 2023
6 sdg3_2_tmn Under-5 mortality (per 1,000 live births) deaths under 5 per 1,000 live births weighted_mean:population 2012: 2008; 2024: 2023
7 sdg3_3_vih HIV incidence (per million people) cases per million people weighted_mean:population 2012: average 2011–2013; 2024: average 2022–2024
8 sdg3_3_tub Tuberculosis incidence (per 100,000 people) cases per 100,000 people weighted_mean:population 2012: average 2011–2013; 2024: average 2022–2024
9 sdg3_3_vec Vector-borne disease index (0-1) index (0-1) weighted_mean:population 2012: average 2011–2013; 2024: average 2022–2024
10 sdg3_7_tfa Mean parity of adolescent women 15-19 (childre... live births per woman 15-19 weighted_mean:population 2012: 2012; 2024: 2024