CLPFUDatabase

CLPFUDatabase: A suite of R packages for energy conversion chain analysis - Published in JOSS (2024)

https://github.com/energyeconomydecoupling/cl-pfu-joss-paper

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: EnergyEconomyDecoupling
  • License: mit
  • Language: TeX
  • Default Branch: master
  • Size: 224 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.Rmd

---
output: github_document
bibliography: paper.bib
---








[link-cran]:             https://cran.r-project.org
[link-ecctools]:         https://github.com/earamendia/ECCTools
[link-eroitools]:        https://github.com/earamendia/EROITools
[link-iea]:              https://www.iea.org
[link-ieatools]:         https://github.com/MatthewHeun/IEATools
[link-ieaeweb]:          https://www.iea.org/data-and-statistics/data-product/world-energy-balances
[link-ilo]:              https://www.ilo.org/
[link-fao]:              https://www.fao.org/
[link-matsbyname]:       https://github.com/MatthewHeun/matsbyname
[link-matsindf]:         https://github.com/MatthewHeun/matsindf
[link-mwtools]:          https://github.com/EnergyEconomyDecoupling/MWTools
[link-pfusetup]:         https://github.com/EnergyEconomyDecoupling/PFUSetup
[link-pfupipeline]:      https://github.com/EnergyEconomyDecoupling/PFUPipeline
[link-pfuaggpipeline]:   https://github.com/EnergyEconomyDecoupling/PFUAggPipeline
[link-pfupipelinetools]: https://github.com/EnergyEconomyDecoupling/PFUPipelineTools
[link-clpfudatabase]:    https://github.com/EnergyEconomyDecoupling/CLPFUDatabase
[link-pins]:             https://pins.rstudio.com
[link-rclabels]:         https://github.com/MatthewHeun/RCLabels
[link-recca]:            https://github.com/MatthewHeun/Recca
[link-targets]:          https://docs.ropensci.org/targets
[link-tidyverse]:        https://www.tidyverse.org


[![DOI](https://joss.theoj.org/papers/10.21105/joss.06057/status.svg)](https://doi.org/10.21105/joss.06057)


## JOSS paper

This repository contains a paper published in  
the [Journal of Open Source Software (JOSS)](https://joss.theoj.org)
covering the suite of `R` packages associated with the 
CL-PFU^["CL-PFU" 
is an initialism for "Country-Level
Primary, Final, and Useful."
The CL-PFU database contains many countries as well as 
continental and world aggregations.
Technically speaking, 
we create [matsindf][link-matsindf] data frames
stored as [pins][link-pins] on a pinboard, 
not SQL or similar databases.] database.


## Statement of need

Historically, Societal Exergy Analysis (SEA)
practitioners have analyzed the ECCs
of individual countries using linked spreadsheets,
often starting with primary- and final-stage data 
from the [International Energy Agency][link-iea]'s (IEA's)
[extended world energy balances][link-ieaeweb] (EWEBs)
[@Ayres:2003ec; @Serrenho:2014aa; @Brockway:2014aa; @Brockway:2015aa]. 
Data were stored in varying and inconsistent formats.
An early SEA database [@De-Stercke:2014]
estimated energy efficiencies 
of end-use machines using the economic status of countries,
thereby precluding use in energy-economy studies.

The authors of the current paper and others in the field
wanted to expand SEA to cover all countries, but
the spreadsheet approach to SEA was
deemed not scalable.
A new approach to SEA was needed, 
one that scaled across all countries 
for many years without relying on economic data
to estimate machine efficiencies. 


## CL-PFU database

We created a suite of `R` packages 
and the metapackage `CLPFUDatabase`
to support the creation and use of the CL-PFU database.
The CL-PFU database is a new resouce 
for the SEA research community and
assists SEA practitioners 
to analyze energy conversion chains (ECCs).
The new packages enable, for the first time, scalable SEA.


## `R` packages

The `R` packages covered by this paper include
three packages that support the PSUT framework of
[Heun et al. [-@Heun:2018]](https://doi.org/10.1016/j.apenergy.2018.05.109).
These packages are 
generally useful and available on [CRAN][link-cran].

| Package | Purpose |
|:--------|:--------|
| [RCLabels][link-rclabels]     | Manipulates matrix row and column names in [matsindf][link-matsindf] data frames |
| [matsbyname][link-matsbyname] | Performs matrix mathematics that respects row and column names |
| [matsindf][link-matsindf]     | Stores matrices in cells of data frames, thereby enabling analyses with [tidyverse][link-tidyverse] syntax |


Several additional packages support the creation of the CL-PFU database. 
The packages in the following table are available on GitHub.

| Package | Purpose |
|:--------|:--------|
| [IEATools][link-ieatools]             | Converts [IEA EWEB][link-ieaeweb] data to RUVY matrices in [matsindf][link-matsindf] data frames |
| [MWTools][link-mwtools]               | Converts [ILO][link-ilo] and [FAO][link-fao] data to RUVY matrices of human and animal muscle work in [matsindf][link-matsindf] data frames |
| [Recca][link-recca]                   | Performs `R` energy conversion chain analysis |
| [PFUSetup][link-pfusetup]             | Identifies input and output locations for the [PFUPipeline][link-pfupipeline] and [PFUAggPipeline][link-pfuaggpipeline] pipelines |
| [PFUPipelineTools][link-pfupipelinetools] | Provides basic functionality for all PFU pipelines |
| [PFUPipeline][link-pfupipeline]       | Provides a [targets][link-targets] pipeline to create a data frame of RUVY matrices |
| [PFUAggPipeline][link-pfuaggpipeline] | Provides a [targets][link-targets] pipeline to aggregate RUVY matrices |
| [CLPFUDatabase][link-clpfudatabase]   | A metapackage (like `tidyverse`) to quickly load all package dependencies for the CL-PFU database |


## References

Owner

  • Name: EnergyEconomyDecoupling
  • Login: EnergyEconomyDecoupling
  • Kind: organization

JOSS Publication

CLPFUDatabase: A suite of R packages for energy conversion chain analysis
Published
January 09, 2024
Volume 9, Issue 93, Page 6057
Authors
Matthew Kuperus Heun ORCID
Engineering Department, Calvin University, School of Earth and Environment, University of Leeds, School for Public Leadership, Stellenbosch University
Zeke Marshall ORCID
School of Earth and Environment, University of Leeds
Emmanuel Aramendia ORCID
School of Earth and Environment, University of Leeds
Editor
Tim Tröndle ORCID
Tags
energy exergy matrix mathematics energy efficiency

GitHub Events

Total
Last Year

Committers

Last synced: 11 months ago

All Time
  • Total Commits: 208
  • Total Committers: 2
  • Avg Commits per committer: 104.0
  • Development Distribution Score (DDS): 0.005
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Matthew Heun m****n@m****m 207
ZekeMarshall m****e@o****m 1
Committer Domains (Top 20 + Academic)
me.com: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 19
  • Total pull requests: 0
  • Average time to close issues: 5 days
  • Average time to close pull requests: N/A
  • Total issue authors: 3
  • Total pull request authors: 0
  • Average comments per issue: 2.05
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MatthewHeun (17)
  • nmstreethran (1)
  • abhishektiwari (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels