forestables
Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest inventory) and IFN (Spain forest inventory).
https://github.com/emf-creaf/forestables
Category: Biosphere
Sub Category: Forest Observation and Management
Keywords
forestry opendata r
Last synced: about 16 hours ago
JSON representation
Repository metadata
Read and uniformize forest inventories data from the FIA (USA forest inventory), FFI (France forest inventory) and IFN (Spain forest inventory) from R
- Host: GitHub
- URL: https://github.com/emf-creaf/forestables
- Owner: emf-creaf
- License: other
- Created: 2023-06-27T15:09:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-26T08:57:28.000Z (about 1 month ago)
- Last Synced: 2025-12-06T14:25:06.105Z (20 days ago)
- Topics: forestry, opendata, r
- Language: R
- Homepage: https://emf-creaf.github.io/forestables/
- Size: 27.4 MB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 2
- Releases: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- License: 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
[](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 metadata
- Name: Ecosystem Modelling Facility (CREAF)
- Login: emf-creaf
- Email: ecosystemmodellingfacility@creaf.uab.cat
- Kind: organization
- Description:
- Website: https://emf.creaf.cat/
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/80052794?v=4
- Repositories: 10
- Last ynced at: 2023-03-08T06:13:46.862Z
- Profile URL: https://github.com/emf-creaf
GitHub Events
Total
- Issues event: 2
- Watch event: 2
- Issue comment event: 2
- Push event: 22
- Create event: 1
Last Year
- Issues event: 1
- Issue comment event: 1
- Push event: 11
Committers metadata
Last synced: 12 days ago
Total Commits: 440
Total Committers: 3
Avg Commits per committer: 146.667
Development Distribution Score (DDS): 0.325
Commits in past year: 26
Committers in past year: 2
Avg Commits per committer in past year: 13.0
Development Distribution Score (DDS) in past year: 0.423
| Name | Commits | |
|---|---|---|
| MalditoBarbudo | v****a@g****m | 297 |
| adrianatovar | o****7@g****m | 142 |
| Miquel De Cáceres | m****s@g****m | 1 |
Issue and Pull Request metadata
Last synced: about 1 month ago
Total issues: 10
Total pull requests: 3
Average time to close issues: about 2 months
Average time to close pull requests: about 3 hours
Total issue authors: 3
Total pull request authors: 2
Average comments per issue: 0.4
Average comments per pull request: 4.0
Merged pull request: 3
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- MalditoBarbudo (6)
- miquelcaceres (3)
- adrianatovar (1)
Top Pull Request Authors
- miquelcaceres (2)
- adrianatovar (1)
Top Issue Labels
- bug (4)
- enhancement (3)
Top Pull Request Labels
Package metadata
- 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
- Homepage:
- Documentation: https://pkg.go.dev/github.com/emf-creaf/forestables#section-documentation
- Licenses: other
- Latest release: v0.0.6 (published over 1 year ago)
- Last Synced: 2025-12-21T22:09:10.222Z (5 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.401%
- Average: 5.583%
- Dependent repos count: 5.764%
Dependencies
- 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
Score: -Infinity