A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

knfi

An R package was developed to efficiently manage and analyze large-scale National Forest Inventory (NFI) data in South Korea, streamlining the process of monitoring forest ecosystem changes using extensive nationwide survey data.
https://github.com/syoung9836/knfi

Category: Biosphere
Sub Category: Forest Observation and Management

Keywords

data-analysis-r forestry r

Last synced: about 9 hours ago
JSON representation

Repository metadata

Analysis of Korean National Forest Inventory in R

README.md

knfi: Analysis of Korean National Forest Inventory Database

cran version
rstudio mirror downloads

Overview

Understanding the current status of forest resources is essential for monitoring changes in forest ecosystems and generating related statistics. In South Korea, the National Forest Inventory (NFI) surveys over 4,500 sample plots nationwide every five years and records 70 items, including forest stand, forest resource, and forest vegetation surveys. Many researchers use NFI as the primary data for research, such as biomass estimation or analyzing the importance value of each species over time and space, depending on the research purpose. However, the large volume of accumulated forest survey data from across the country can make it challenging to manage and utilize such a vast dataset. To address this issue, we developed an R package that efficiently handles large-scale NFI data across time and space. The package offers a comprehensive workflow for NFI data analysis. It starts with data processing, where read_nfi() function reconstructs NFI data according to the researcher's needs while performing basic integrity checks for data quality. Following this, the package provides analytical tools that operate on the verified data. These include functions like summary_nfi() for summary statistics, diversity_nfi() for biodiversity analysis, iv_nfi() for calculating species importance value, and biomass_nfi() and cwd_biomass_nfi() for biomass estimation. Finally, for visualization, the tsvis_nfi() function generates graphs and maps, allowing users to visualize forest ecosystem changes across various spatial and temporal scales. This integrated approach and its specialized functions can enhance the efficiency of processing and analyzing NFI data, providing researchers with insights into forest ecosystems. The NFI Excel files (.xlsx) are not included in the R package and must be downloaded separately. Users can access these NFI Excel files by visiting the Korea Forest Service Forestry Statistics Platform (https://kfss.forest.go.kr/stat/ptl/article/articleList.do?curMenu=11694&bbsId=microdataboard) to download the annual NFI Excel files, which are bundled in .zip archives. Please note that this website is only available in Korean, and direct download links can be found in the notes section of the read_nfi() function.

Distribution of National Forest Inventory sample plots (left) and sampling design of the National Forest Inventory (right) (Korea Forest Research Institute, 2011)

Plot design of National Forest Inventory (Korea Forest Research Institute, 2011)

Installation

# The easiest way to get knfi is to install just knfi:
install.packages("knfi")

# Or the development version from GitHub:
remotes::install_github("SYOUNG9836/knfi")

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 6 days ago

Total Commits: 26
Total Committers: 1
Avg Commits per committer: 26.0
Development Distribution Score (DDS): 0.0

Commits in past year: 26
Committers in past year: 1
Avg Commits per committer in past year: 26.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
SYOUNG9836 y****6@k****r 26

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 0
Total pull requests: 0
Average time to close issues: N/A
Average time to close pull requests: N/A
Total issue authors: 0
Total pull request authors: 0
Average comments per issue: 0
Average comments per pull request: 0
Merged pull request: 0
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

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/syoung9836/knfi

Top Issue Authors

Top Pull Request Authors


Top Issue Labels

Top Pull Request Labels


Package metadata

cran.r-project.org: knfi

Analysis of Korean National Forest Inventory Database

  • Homepage: https://github.com/SYOUNG9836/knfi
  • Documentation: http://cran.r-project.org/web/packages/knfi/knfi.pdf
  • Licenses: GPL-3
  • Latest release: 1.0.1 (published 5 months ago)
  • Last Synced: 2025-04-26T02:30:33.479Z (1 day ago)
  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 269 Last month
  • Rankings:
    • Dependent packages count: 28.017%
    • Dependent repos count: 34.553%
    • Average: 49.774%
    • Downloads: 86.75%
  • Maintainers (1)

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.5.0 composite
  • actions/checkout v4 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite
DESCRIPTION cran
  • R >= 3.6 depends
  • BiodiversityR * imports
  • broom * imports
  • cellranger * imports
  • cowplot * imports
  • data.table * imports
  • dplyr * imports
  • drat * imports
  • ggplot2 * imports
  • ggpubr * imports
  • magrittr * imports
  • plotrix * imports
  • readxl * imports
  • rlang * imports
  • sf * imports
  • sp * imports
  • stats * imports
  • stringr * imports
  • tidyr * imports
  • vegan * imports
  • kadmin * suggests
  • knitr * suggests
  • rmarkdown * suggests

Score: 5.598421958998375