Package: MineSDG 0.4.0

MineSDG: Mining Industry SDG Impact Calculator

Provides tools to calculate quantitative scores for the United Nations Sustainable Development Goals (SDGs) for the mining, minerals and metals sector. Retrieves official indicator data from the 'United Nations SDG API', runs trend, stability, benchmarking and convergence diagnostics, maps indicators to mining-sector materiality domains via a bundled ontology, computes site-level Key Performance Indicators (KPIs) aligned with Global Reporting Initiative (GRI) 11, International Council on Mining and Metals (ICMM) Mining Principles and Sustainability Accounting Standards Board (SASB) EM-MM conventions, scores sites on a 0-100 SDG scorecard, and ships an interactive 'shiny' dashboard with demonstration datasets. An Environmental, Social and Governance (ESG) reporting layer generates Global Reporting Initiative (GRI), International Council on Mining and Metals (ICMM) and Business Responsibility and Sustainability Reporting (BRSR) reports from a disclosure bundle interface, with framework mappings shipped as data and rendering to 'HTML', 'PDF', 'Word' and 'Excel' via 'Quarto' and 'openxlsx2'. Official Sustainable Development Goals information and indicator methodology are available from the United Nations Sustainable Development Goals website <https://sdgs.un.org/goals>.

Authors:Manoj Kumar [aut, cre]

MineSDG_0.4.0.tar.gz
MineSDG_0.4.0.zip(r-4.7-any)MineSDG_0.4.0.zip(r-4.6-any)MineSDG_0.4.0.zip(r-4.5-any)
MineSDG_0.4.0.tgz(r-4.6-any)MineSDG_0.4.0.tgz(r-4.5-any)
MineSDG_0.4.0.tar.gz(r-4.7-any)MineSDG_0.4.0.tar.gz(r-4.6-any)
MineSDG_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
MineSDG/json (API)

# Install 'MineSDG' in R:
install.packages('MineSDG', repos = c('https://imanojkumar.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/imanojkumar/minesdg/issues

Pkgdown/docs site:https://imanojkumar.github.io

Datasets:

On CRAN:

Conda:

esggri-standardsmetalsmineralsminingsdgsustainability

4.78 score 1 stars 193 downloads 50 exports 31 dependencies

Last updated from:1e0b4c62e9. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK155
source / vignettesOK189
linux-releaseOK143
macos-releaseOK180
macos-oldrelOK187
windows-develOK161
windows-releaseOK85
windows-oldrelOK91
wasm-releaseOK120

Exports:analyze_sdg_convergenceanalyze_sdg_trendas_disclosure_bundlebenchmark_sdg_performancebundle_kpibundle_rawbundle_scorecalculate_community_investmentcalculate_energy_intensitycalculate_ghg_intensitycalculate_land_restorationcalculate_safety_performancecalculate_waste_intensitycalculate_water_efficiencycalculate_workforce_diversitycompile_site_disclosurescompute_sdg_stabilityexplore_sdg_ontologyfetch_sdg_country_dataframework_crosswalkgenerate_brsr_kpisgenerate_brsr_reportgenerate_brsr_sectionAgenerate_brsr_sectionBgenerate_gri_reportgenerate_icmm_reportgenerate_mining_esg_indexgenerate_mining_risk_profilegenerate_sdg_executive_summaryget_sdg_metadatagri_content_indexicmm_default_paramslist_mining_kpislist_sdg_indicatorsmap_bundle_to_frameworkmap_sdg_to_mining_domainplot_domain_radarplot_mining_esg_indexplot_sdg_benchmarkplot_sdg_convergenceplot_sdg_radarplot_sdg_trendplot_sdg_volatilityrender_minesdg_reportrun_minesdg_dashboardscore_portfolio_sdgscore_site_sdgsummarize_sdg_datavalidate_sdg_indicatorwrite_report_xlsx

Dependencies:askpassclicpp11curldata.tabledplyrfarvergenericsggplot2gluegtablehttr2isobandlabelinglifecyclemagrittropensslpillarpkgconfigR6RColorBrewerrlangS7scalessystibbletidyselectutf8vctrsviridisLitewithr

ESG Reporting: GRI, ICMM and BRSR
The disclosure bundle | Framework mappings are data | GRI | ICMM | BRSR | Rendering | Portfolio and radar views

Last update: 2026-07-20
Started: 2026-07-20

MineSDG - Strategic Analytics & Sector Intelligence
1. Introduction | 2. SDG Analytics Layer | Listing SDG Indicators | Validating Indicators | Fetching Data for a Single Indicator | Fetching All Indicators Under a Goal | Saving Data | Advanced Analytics | Trend Analysis | Stability & Volatility Diagnostics | Benchmarking Performance | Convergence Analysis | Executive Summary Generation | Visualization Layer | 3. Mining-Sector Interpretation Layer | Mapping SDG to Mining Domains | Domain Categories | Mining Risk Engine | Mining Risk Profiling | Composite Mining ESG Index | Plot Mining ESG Index | Summary

Last update: 2026-07-20
Started: 2026-07-20

Tutorial: SDG Ontology, Site Scorecards & Dashboard
1. The SDG-to-Mining ontology | 2. The KPI registry | 3. Scoring a site | 4. Portfolio comparison | 5. Offline SDG analytics | 6. The Shiny dashboard

Last update: 2026-07-20
Started: 2026-07-20

Tutorial: Site-Level KPI Calculators
1. Why site-level KPIs? | 2. Working with the demo data | 3. Individual calculators | 4. Using your own data

Last update: 2026-07-20
Started: 2026-07-20

Readme and manuals

Help Manual

Help pageTopics
Analyze SDG Convergenceanalyze_sdg_convergence
Analyze SDG Indicator Trendanalyze_sdg_trend
Coerce an object to a disclosure bundleas_disclosure_bundle
Benchmark SDG Performancebenchmark_sdg_performance
BRSR disclosure crosswalkbrsr_crosswalk
Read a KPI value from a disclosure bundlebundle_kpi
Read a raw input field from a disclosure bundlebundle_raw
Read composite or goal-level scores from a disclosure bundlebundle_score
Calculate Community Investment Ratio (SDG 1 / SDG 17)calculate_community_investment
Calculate Energy Intensity and Renewable Share (SDG 7)calculate_energy_intensity
Calculate GHG Emissions Intensity (SDG 13)calculate_ghg_intensity
Calculate Land Restoration Rehabilitation Ratecalculate_land_restoration
Calculate Safety Performance Rates (SDG 8.8)calculate_safety_performance
Calculate Mineral Waste Intensity (SDG 12)calculate_waste_intensity
Calculate Water Use Efficiency (SDG 6.4)calculate_water_efficiency
Calculate Workforce Diversity and Localisation (SDG 5 / SDG 8)calculate_workforce_diversity
Compile a site disclosure bundlecompile_site_disclosures
Compute SDG Stability Metricscompute_sdg_stability
Demo Mine Site Panel Datademo_mine_sites
Demo SDG Country Data (Offline Snapshot)demo_sdg_country
Explore the SDG-to-Mining Ontologyexplore_sdg_ontology
Fetch Country-Level SDG Data from the United Nations SDG APIfetch_sdg_country_data
Access the framework crosswalk datasetsframework_crosswalk
BRSR Section C: principle-wise KPI tablesgenerate_brsr_kpis
Generate a BRSR reportgenerate_brsr_report
BRSR Section A: general disclosuresgenerate_brsr_sectionA
BRSR Section B: management and process disclosuresgenerate_brsr_sectionB
Generate a GRI sustainability reportgenerate_gri_report
Generate an ICMM Mining Principles reportgenerate_icmm_report
Generate Composite Mining ESG Indexgenerate_mining_esg_index
Generate Mining SDG Risk Profilegenerate_mining_risk_profile
Generate Executive Summary for SDG Performancegenerate_sdg_executive_summary
Get SDG Metadata (Cached)get_sdg_metadata
GRI content indexgri_content_index
GRI disclosure crosswalkgri_crosswalk
ICMM Mining Principles crosswalkicmm_crosswalk
Default parameters for ICMM reportingicmm_default_params
ICMM recommendation rulesicmm_recommendation_rules
List Mining KPIs from the Registrylist_mining_kpis
List SDG Indicators and Descriptionslist_sdg_indicators
Map a disclosure bundle onto a reporting frameworkmap_bundle_to_framework
Map SDG Indicator to Mining-Sector Domainmap_sdg_to_mining_domain
Mining KPI Registrymining_kpi_registry
Mining-domain radar chart for a site scorecardplot_domain_radar
Plot Mining ESG Composite Indexplot_mining_esg_index
Plot SDG Benchmark Comparisonplot_sdg_benchmark
Plot SDG Convergenceplot_sdg_convergence
SDG radar chart for a site scorecardplot_sdg_radar
Plot SDG Indicator Trendplot_sdg_trend
Plot SDG Volatilityplot_sdg_volatility
Render a MineSDG report to HTML, PDF, DOCX or XLSXrender_minesdg_report
Launch the MineSDG Shiny Dashboardrun_minesdg_dashboard
Score a portfolio of sitesscore_portfolio_sdg
Score a Mine Site Against SDG-Aligned KPI Thresholdsscore_site_sdg
SDG-to-Mining Ontologysdg_mining_ontology
Summarize SDG Indicator Datasummarize_sdg_data
Validate SDG Indicator Codevalidate_sdg_indicator
Export a MineSDG report's tables to an Excel workbookwrite_report_xlsx