whep

Processing agro-environmental data

https://github.com/eduaguilera/whep

Science Score: 26.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
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.8%) to scientific vocabulary

Keywords

agriculture biogeochemistry biophysical-modeling carbon crops environment footprints land-use livestock nitrogen nutrition phosphorus planetary-boundaries quantitative-history social-metabolism water
Last synced: 6 months ago · JSON representation

Repository

Processing agro-environmental data

Basic Info
Statistics
  • Stars: 1
  • Watchers: 2
  • Forks: 1
  • Open Issues: 14
  • Releases: 1
Topics
agriculture biogeochemistry biophysical-modeling carbon crops environment footprints land-use livestock nitrogen nutrition phosphorus planetary-boundaries quantitative-history social-metabolism water
Created about 1 year ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# Who Has Eaten the Planet whep website


[![R-CMD-check](https://github.com/eduaguilera/whep/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/eduaguilera/whep/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/whep)](https://CRAN.R-project.org/package=whep)
[![whep status badge](https://eduaguilera.r-universe.dev/whep/badges/version)](https://eduaguilera.r-universe.dev/whep)
[![Codecov test coverage](https://codecov.io/gh/eduaguilera/whep/branch/main/graph/badge.svg)](https://app.codecov.io/gh/eduaguilera/whep?branch=main)


## Project

#### **Who Has Eaten the Planet? The paths of food systems beyond the safe and just operating space (1850-2020)**

Food production covers the most basic human need, and simultaneously is the
main driver of anthropogenic environmental impacts. These impacts have resulted
in the transgression, during the brief period since the industrial revolution,
of the planetary boundaries defining the safe operating space of humanity. A
rich research literature quantifies the last 60 years’ fast, heterogeneous,
and often unfair development in food supply and related environmental impacts,
and how these depend on agro-climatic factors, technology, and trade flows, all
of which have greatly changed but with different trajectories around the world.
However, these developments lack an integrated approach, and are very poorly
quantified before 1961. WHEP will bridge these knowledge gaps, assessing "who
has eaten the planet" by answering the questions: 

> What are the environmental impacts of food production since 1850?

> What is the role of trade in food supply and in displacing the responsibilities for these impacts?

> How are impacts related to planetary boundaries, food supply and inequality?

These highly ambitious goals are addressed by four objectives: 

1. Constructing a consolidated global country-level annual database on
    agricultural production and management, using massive data collation in
    combination with modeling.
2. Estimating the environmental impacts: greenhouse gas emissions and carbon,
    land, water, nitrogen, and phosphorus through spatially explicit,
    integrated, dynamic modeling.
3. Calculating product footprints and tracing them along international trade
    chains.
4. Analyzing the observed trajectories in the safe and just operating space,
    by assessing the drivers, and how impacts at the production and consumption
    levels are related to fair and healthy supply. This ground-breaking
    research will shed new light on the environmental history of food, opening
    up many new research frontiers, and providing necessary information to
    design fair and sustainable policies.

You can also visit the [European project site](https://cordis.europa.eu/project/id/101115126).

## R package

The WHEP project heavily relies on data. We use the R programming language.
This repository is built as an R package containing functionality that we
think might be useful to share to others as part of the project. This will
also include functions for easily downloading the data gathered by the project.

## Installation

The package is under constant development. Initial stable releases are
available from both CRAN and [R-universe
](https://eduaguilera.r-universe.dev/whep).

You can install the stable version on CRAN:

``` r
install.packages('whep')
```

If you want the development version of `whep`, you can:

``` r
# Install from GitHub
pak::pak("eduaguilera/whep")

# Install from R-universe
install.packages(
  "whep",
  repos = c("https://eduaguilera.r-universe.dev", "https://cloud.r-project.org")
)
```

## Usage

You can read more about the package's functionalities from the documentation
at the [reference page](https://eduaguilera.github.io/whep/reference/index.html).

## Contributing

We try to follow best coding practices, specifically focused on R package
creation. The process is roughly summarized in:

- Use git. Work on your own branch.
- Track dependencies using `renv` R package.
- Add your new functionality inside `R/` directory as functions.
- Add function documentation.
- Write clean code. Follow [Tidyverse style guide](https://style.tidyverse.org/).
- Write tests for your code.
- Create pull requests. Ask for review.

The project is starting with **contributors** that are still learning about
coding and best practices. For this reason, if you're **inexperienced**, we have
written a **small free online book** explaining most of the things you need from
the previous steps, covering both git and R package development. You can
directly **access it [here](https://lbm364dl.github.io/follow-the-workflow)**.
Anyone is welcome to contribute, but we highly recommend to go through this
guide to become familiar with the workflow if you are still not used to it.

Owner

  • Name: Eduardo Aguilera
  • Login: eduaguilera
  • Kind: user

GitHub Events

Total
  • Create event: 3
  • Release event: 1
  • Issues event: 5
  • Issue comment event: 3
  • Push event: 67
  • Pull request review comment event: 95
  • Pull request event: 8
  • Pull request review event: 46
  • Fork event: 1
Last Year
  • Create event: 3
  • Release event: 1
  • Issues event: 5
  • Issue comment event: 3
  • Push event: 67
  • Pull request review comment event: 95
  • Pull request event: 8
  • Pull request review event: 46
  • Fork event: 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 17
  • Total pull requests: 23
  • Average time to close issues: 9 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 2
  • Total pull request authors: 3
  • Average comments per issue: 0.12
  • Average comments per pull request: 0.13
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 17
  • Pull requests: 23
  • Average time to close issues: 9 days
  • Average time to close pull requests: 4 days
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.12
  • Average comments per pull request: 0.13
  • Merged pull requests: 14
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lbm364dl (15)
  • afuenteshinojosa (1)
Pull Request Authors
  • lbm364dl (20)
  • eduaguilera (2)
  • AliceBeckmann (1)
Top Labels
Issue Labels
documentation (8) clean code (6) enhancement (3) priority:medium (3) good first issue (2) fast and furious (1) help wanted (1) priority:high (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 189 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: whep

Processing Agro-Environmental Data

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 189 Last month
Rankings
Dependent packages count: 25.8%
Dependent repos count: 31.7%
Average: 47.7%
Downloads: 85.5%
Maintainers (1)
Last synced: 6 months ago