forestables

Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest inventory) and IFN (Spain forest inventory) from R

https://github.com/emf-creaf/forestables

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
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.4%) to scientific vocabulary

Keywords

forestry opendata r
Last synced: 6 months ago · JSON representation

Repository

Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest inventory) and IFN (Spain forest inventory) from R

Basic Info
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 1
  • Open Issues: 3
  • Releases: 1
Topics
forestry opendata r
Created over 2 years ago · Last pushed 7 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%"
)
```

# forestables forestables website

[![R-CMD-check](https://github.com/emf-creaf/forestables/actions/workflows/R-CMD-check_main.yaml/badge.svg)](https://github.com/emf-creaf/forestables/actions/workflows/R-CMD-check_main.yaml)

Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest
inventory) and IFN (Spain forest inventory).

## Installation

You can install the development version of forestables from
[GitHub](https://github.com/emf-creaf/forestables) with:

``` r
# install.packages("devtools")
devtools::install_github("emf-creaf/forestables")
```

## Inventories files

`forestables` offers download functions to get the inventory files from the official
websites from each inventory:

  - [FIA](https://www.fs.usda.gov/research/products/dataandtools/tools/fia-datamart)  
  - [FFI](https://inventaire-forestier.ign.fr/dataifn/?lang=en)  
  - IFN:
      - [IFN2](https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/ifn2_descargas.html)
      - [IFN3](https://www.miteco.gob.es/es/biodiversidad/servicios/banco-datos-naturaleza/informacion-disponible/ifn3_bbdd_descargas_htm.html)
      (*accdb* are be used)
      - [IFN4](https://www.miteco.gob.es/es/biodiversidad/temas/inventarios-nacionales/inventario-forestal-nacional/cuarto_inventario.html)

We recommend to manually download and unzip the data in the desired folder.
Download functions are offered as helpers for programmatically approaches, but users should
be careful as data can be missing due to connection errors, link changes...

## Example

Download FFI (France forest inventory) and extract all plots from the Loire department for 2015:

```{r example_run}
library(forestables)
library(dplyr)

## Downloading all FFI data (if not already)
ffi_path <- tempdir()
download_inventory("FFI", destination = ffi_path)

## Get the plots
loire_plots_2015 <- ffi_to_tibble(
  "42",
  years = 2015,
  folder = ffi_path
) |>
  clean_empty(c("tree", "shrub", "regen")) |>
  inventory_as_sf()

## Explore the plots
loire_plots_2015
```

Owner

  • Name: Ecosystem Modelling Facility (CREAF)
  • Login: emf-creaf
  • Kind: organization
  • Email: ecosystemmodellingfacility@creaf.uab.cat

GitHub Events

Total
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 21
  • Create event: 1
Last Year
  • Issues event: 1
  • Watch event: 2
  • Issue comment event: 2
  • Push event: 21
  • Create event: 1

Committers

Last synced: 6 months ago

All Time
  • Total Commits: 401
  • Total Committers: 3
  • Avg Commits per committer: 133.667
  • Development Distribution Score (DDS): 0.302
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
MalditoBarbudo v****a@g****m 280
adrianatovar o****7@g****m 120
Miquel De Cáceres m****s@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 21
  • Total pull requests: 2
  • Average time to close issues: 2 months
  • Average time to close pull requests: about 2 hours
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.95
  • Average comments per pull request: 3.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 2.33
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • MalditoBarbudo (6)
  • miquelcaceres (3)
  • adrianatovar (1)
Pull Request Authors
  • miquelcaceres (2)
  • adrianatovar (1)
Top Labels
Issue Labels
bug (4) enhancement (3)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
proxy.golang.org: github.com/emf-creaf/forestables
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • data.table * depends
  • dtplyr * depends
  • assertthat * imports
  • cli * imports
  • dplyr * imports
  • fs * imports
  • furrr * imports
  • glue * imports
  • rlang * imports
  • sf * imports
  • stringr * imports
  • tidyr * imports
  • future * suggests
  • testthat >= 3.0.0 suggests