Skip to content

carbonpredict

2.0.1

Predict Carbon Emissions for UK SMEs

0packages depend
2.5Kdownloads / year
86.1%test coverage
13/13checks pass

Overview

About
Maintained by Hamza SulemanFirst published 2025-10-143 releasesCRAN page ↗GitHub ↗

Predict Scope 1, 2 and 3 carbon emissions for UK Small and Medium-sized Enterprises (SMEs), using Standard Industrial Classification (SIC) codes and annual turnover data, as well as Scope 1 carbon emissions for UK farms. The 'carbonpredict' package provides single and batch prediction, plotting, and workflow tools for carbon accounting and reporting. The package utilises pre-trained models, leveraging rich classified transaction data to accurately predict Scope 1, 2 and 3 carbon emissions for UK SMEs as well as identifying emissions hotspots. It also provides Scope 1 carbon emissions predictions for UK farms of types: Cereals ex. rice, Dairy, Mixed farming, Sheep and goats, Cattle & buffaloes, Poultry, Animal production and Support for crop production. The methodology used to produce the estimates in this package is fully detailed in the following peer-reviewed publications: Phillpotts, A., Owen. A., Norman, J., Trendl, A., Gathergood, J., Jobst, Norbert., Leake, D. (2025) doi:10.1111/jiec.70106 "Bridging the SME Reporting Gap: A New Model for Predicting Scope 1 and 2 Emissions" and Wells, J., Trendl, A., Owen, A., Barrett, J., Gridley, J., Jobst, N., Leake, D. (2025) doi:10.1088/1748-9326/ae20ab "A Scalable Tool for Farm-Level Carbon Accounting: Evidence from UK Agriculture".

Install

Health

CRAN checks
13OK
Slowest check: 13.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.80
86.1%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 429 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #15,890 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
17530 days
66190 days
2.5K1 year
Compare downloads with other packages →
Also on190 r2u26 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
0Releases
47Commits
5Contributors
47 commits · Last activity 2026-01-23 · 0% stars, 30d

Stars over time

2025-09-25 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/david-leake/carbonpredict on 2026-08-16.

Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (4)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (4)
Author, Maintainer, Copyright holder
Contributor, Author
Contributor, Author
Contributor, Author · added in 2.0.0
Contributors (3)
Contributor, Author
Contributor, Author
Contributor, Author · added in 2.0.0
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.1Latest
    2026-01-23 · current release · diff ↗
  • 2.0.0
    2025-10-29 · diff ↗
  • 1.0.0
    2025-10-14
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-10-14
Total releases
3 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5.0
Download size
4.6 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("carbonpredict")
Suleman, H., Leake, D., Phillpotts, A., & Wells, J. (2026). carbonpredict: Predict Carbon Emissions for UK SMEs (Version 2.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.carbonpredict

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for carbonpredict version 2.0.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy