Skip to contents

A synthetic offline snapshot shaped identically to the output of fetch_sdg_country_data(): indicators 15.3.1 (land degradation), 6.4.1 (water-use efficiency) and 8.8.1 (occupational injuries) for India, Australia, Chile and South Africa, 2015-2023. Enables every analytics and risk function to run without network access.

Usage

demo_sdg_country

Format

A data.table with 108 rows and 5 variables: indicator, country, year, value, unit.

Source

Simulated via data-raw/make_datasets.R; values follow plausible national trajectories but are not official UN statistics.

Examples

analyze_sdg_trend(demo_sdg_country[demo_sdg_country$indicator == "6.4.1", ])
#>    indicator country observations start_year end_year start_value end_value
#>       <char>  <char>        <int>      <int>    <int>       <num>     <num>
#> 1:     6.4.1     AUS            9       2015     2023      35.004    40.869
#> 2:     6.4.1     CHL            9       2015     2023      21.989    26.210
#> 3:     6.4.1     IND            9       2015     2023      11.902    15.774
#> 4:     6.4.1     ZAF            9       2015     2023      14.869    17.568
#>    absolute_change percent_change     cagr     slope trend_direction
#>              <num>          <num>    <num>     <num>          <char>
#> 1:           5.865       16.75523 1.955238 0.7858167      Increasing
#> 2:           4.221       19.19596 2.219251 0.5454667      Increasing
#> 3:           3.872       32.53235 3.583418 0.5297167      Increasing
#> 4:           2.699       18.15186 2.106895 0.2829833      Increasing