Package: carbonpredict
Title: Predict Carbon Emissions for UK SMEs
Version: 2.0.1
Authors@R: c(
    person("Hamza", "Suleman", , "Hamza.Suleman@lloydsbanking.com", role = c("aut", "cre", "cph")),
    person("Alec", "Phillpotts", , "ee21ap@leeds.ac.uk", role = c("ctb", "aut")),
    person("Jasmine", "Wells", , "ee21jjw@leeds.ac.uk", role = c("ctb", "aut")),
    person("David", "Leake", , "David.Leake@lloydsbanking.com", role = c("ctb", "aut")))
Description: 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".
License: MIT + file LICENSE
URL: https://github.com/david-leake/carbonpredict
Encoding: UTF-8
Depends: R (>= 3.5.0)
RoxygenNote: 7.3.3
Imports: dplyr, ggplot2, progress, lmerTest, networkD3, htmltools,
        htmlwidgets
Suggests: testthat (>= 3.0.0), mockery, png, grid
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-01-23 14:44:37 UTC; Hamza
Author: Hamza Suleman [aut, cre, cph],
  Alec Phillpotts [ctb, aut],
  Jasmine Wells [ctb, aut],
  David Leake [ctb, aut]
Maintainer: Hamza Suleman <Hamza.Suleman@lloydsbanking.com>
Repository: CRAN
Date/Publication: 2026-01-23 19:50:28 UTC
Built: R 4.6.0; ; 2026-04-25 15:38:03 UTC; windows
