MineSDG provides tools to explore and retrieve official Sustainable Development Goal (SDG) indicator data from the United Nations SDG API.
The package includes:
To view all indicators:
To list indicators under a specific goal:
Goal consistency validation:
dt <- fetch_sdg_country_data(
indicator = "15.3.1",
country = "IND",
year_range = c(2015, 2020)
)
head(dt)dt_goal <- fetch_sdg_country_data(
goal = 15,
country = "IND",
year_range = c(2015, 2020)
)
head(dt_goal)fetch_sdg_country_data(
indicator = "15.3.1",
country = "IND",
year_range = c(2015, 2020),
save = TRUE
)Files are saved under:
MineSDG 0.2.0 expands the package beyond data retrieval into a complete SDG analytics engine.
The following analytical layers are now available:
This function computes:
Includes:
These metrics are especially useful for ESG risk evaluation and operational performance diagnostics.
Outputs:
This tests beta-convergence across countries, helping assess whether lagging countries are catching up in SDG performance.
Produces narrative, board-ready interpretation suitable for:
MineSDG now includes a sector-specific interpretation layer tailored for mining sustainability analytics.
This enables translation of SDG indicators into mining-relevant sustainability domains, relevance scoring, and strategic narrative interpretation.
Example output:
The following mining sustainability domains are currently defined:
This layer enables sector-aware ESG analytics beyond generic SDG evaluation.
dt <- fetch_sdg_country_data(indicator = "15.3.1", country = "IND")
generate_mining_risk_profile(dt, indicator = "15.3.1")Example:
index <- generate_mining_esg_index(
data = dt_multi,
indicators = c("6.4.1", "13.2.2", "15.3.1"),
weighting_method = "domain_weighted"
)
indexMineSDG now supports a full analytical workflow:
Data Retrieval → Trend Diagnostics → Stability Analysis → Benchmarking → Convergence Testing → Executive Reporting → Visualization
This positions MineSDG as a research-grade SDG analytics framework suitable for: