Package: forrescalc 0.0.1

Els Lommelen

forrescalc: Calculation of Aggregated Values on Dendrometry, Regeneration and Vegetation of Forests, Starting from Individual Tree Measures from Fieldmap

A collection of functions to load and aggregate measurements related to dendrometry, rejuvenation and vegetation, and to access plot level results from Flemish forest reserves in data package forresdat.

Authors:Els Lommelen [aut, cre], Anja Leyman [aut], Research Institute for Nature and Forest [cph, fnd]

forrescalc_0.0.1.tar.gz
forrescalc_0.0.1.zip(r-4.5)forrescalc_0.0.1.zip(r-4.4)forrescalc_0.0.1.zip(r-4.3)
forrescalc_0.0.1.tgz(r-4.4-any)forrescalc_0.0.1.tgz(r-4.3-any)
forrescalc_0.0.1.tar.gz(r-4.5-noble)forrescalc_0.0.1.tar.gz(r-4.4-noble)
forrescalc_0.0.1.tgz(r-4.4-emscripten)forrescalc_0.0.1.tgz(r-4.3-emscripten)
forrescalc.pdf |forrescalc.html
forrescalc/json (API)
NEWS

# Install 'forrescalc' in R:
install.packages('forrescalc', repos = c('https://inbo.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/inbo/forrescalc/issues

Pkgdown:https://inbo.github.io

On CRAN:

3.79 score 123 scripts 56 exports 58 dependencies

Last updated 3 months agofrom:4325507252. Checks:OK: 1 ERROR: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 22 2024
R-4.5-winERRORDec 22 2024
R-4.5-linuxERRORDec 22 2024
R-4.4-winERRORDec 22 2024
R-4.4-macERRORDec 22 2024
R-4.3-winERRORDec 22 2024
R-4.3-macERRORDec 22 2024

Exports:add_zeroscalc_deadw_decay_plotcalc_deadw_decay_plot_speciescalc_dendro_plotcalc_dendro_plot_speciescalc_diam_plotcalc_diam_plot_speciescalc_diam_statistics_speciescalc_intact_deadwoodcalc_reg_core_area_height_speccalc_reg_core_area_speciescalc_reg_plotcalc_reg_plot_heightcalc_reg_plot_height_speciescalc_reg_plot_speciescalc_variables_stem_levelcalc_variables_tree_levelcalc_veg_core_area_speciescalc_veg_plotcalculate_dendrometrycalculate_regenerationcalculate_vegetationcheck_data_deadwoodcheck_data_fmdbcheck_data_herblayercheck_data_plotdetailscheck_data_plotscheck_data_regenerationcheck_data_regspeciescheck_data_shootscheck_data_treescheck_data_vegetationcheck_trees_evolutioncompare_periods_per_plotcompose_stem_datacreate_statisticscreate_unique_tree_idfrom_access_to_forresdatfrom_forresdat_to_accessgive_diamclass_5cmload_data_deadwoodload_data_dendrometryload_data_herblayerload_data_regenerationload_data_shootsload_data_vegetationload_height_modelsload_plotinfomake_table_wideread_forresdatread_forresdat_tableremove_last_commit_forresdatremove_table_forresdatsave_results_accesssave_results_csvsave_results_forresdat

Dependencies:askpassassertthatbitbit64blobcachemcellrangerclicliprcpp11crayoncurlDBIdplyrfansifastmapfrictionlessfsgenericsgit2rgluehmshttrjsonlitelifecyclelubridatemagrittrmemoisemimeodbcopensslpillarpkgconfigplogrplyrprettyunitsprogresspurrrR6RcppreadrreadxlrematchrlangRSQLitestringistringrsystibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwithryaml

Overview package forrescalc

Rendered fromoverview_forrescalc.Rmdusingknitr::rmarkdownon Dec 22 2024.

Last update: 2024-09-23
Started: 2020-06-23

Readme and manuals

Help Manual

Help pageTopics
Add records with value zero for missing variable combinations in a given datasetadd_zeros
aggregate parameters by decay stage, plot and yearcalc_deadw_decay_plot
aggregate parameters by decay stage, plot, tree species and yearcalc_deadw_decay_plot_species
aggregate parameters by plot and yearcalc_dendro_plot
aggregate parameters by plot and tree speciescalc_dendro_plot_species
aggregate parameters by diameter class, plot and yearcalc_diam_plot
aggregate parameters by diameter class, plot, tree species and yearcalc_diam_plot_species
Give diameter statistics by forest reserve, species and yearcalc_diam_statistics_species
Calculate bole and crown volume of intact deadwoodcalc_intact_deadwood
aggregate regeneration parameters by plot, height, species and yearcalc_reg_core_area_height_spec
aggregate regeneration parameters by plot, species and yearcalc_reg_core_area_species
calculate species number by plot and yearcalc_reg_plot
calculate species number by plot, tree height class and yearcalc_reg_plot_height
aggregate parameters by plot, tree height class, species and yearcalc_reg_plot_height_species
calculate regeneration parameters by plot, species and yearcalc_reg_plot_species
Calculate additional variables on stem levelcalc_variables_stem_level
Calculate additional variables on tree levelcalc_variables_tree_level
aggregate vegetation parameters by core area, species and yearcalc_veg_core_area_species
aggregate vegetation parameters by plot and yearcalc_veg_plot
Calculates and aggregates parameters on dendrometry of treescalculate_dendrometry
aggregates parameters on regeneration of treescalculate_regeneration
aggregates parameters on vegetation of forestscalculate_vegetation
check table Deadwood from 'Fieldmap' database for inconsistenciescheck_data_deadwood
check tables from 'Fieldmap' database for inconsistenciescheck_data_fmdb
check table 'Herblayer' from 'Fieldmap' database for inconsistenciescheck_data_herblayer
check table 'Plotdetails' from 'Fieldmap' database for inconsistenciescheck_data_plotdetails
check table 'Plots' from 'Fieldmap' database for inconsistenciescheck_data_plots
check table 'Regeneration' from 'Fieldmap' database for inconsistenciescheck_data_regeneration
check table 'RegSpecies' from 'Fieldmap' database for inconsistenciescheck_data_regspecies
check table 'Shoots' from 'Fieldmap' database for inconsistenciescheck_data_shoots
check table 'Trees' from 'Fieldmap' database for inconsistenciescheck_data_trees
check table 'Vegetation' from 'Fieldmap' database for inconsistenciescheck_data_vegetation
check table 'Trees' from 'Fieldmap' database for inconsistencies between periodscheck_trees_evolution
compare parameters between periods (years that parameters are measured)compare_periods_per_plot
Combine dendro data and shoot data to give detailed stem datacompose_stem_data
Calculate statistics for the given datasetcreate_statistics
create_unique_tree_id for each individual tree over different yearscreate_unique_tree_id
copy table(s) from access database to git repository 'forresdat'from_access_to_forresdat
copy table(s) from git repository 'forresdat' to access databasefrom_forresdat_to_access
Calculate the diameter class of diameter measure datagive_diamclass_5cm
retrieves data on logs from 'Fieldmap' databaseload_data_deadwood
retrieve dendrometry data from 'Fieldmap' databaseload_data_dendrometry
retrieve species specific vegetation data from 'Fieldmap' databaseload_data_herblayer
retrieve regeneration data from 'Fieldmap' databaseload_data_regeneration
retrieve data on shoots from 'Fieldmap' databaseload_data_shoots
retrieve vegetation data from 'Fieldmap' databaseload_data_vegetation
retrieve height model data from git repository 'forresheights'load_height_models
retrieve generic plot data from 'Fieldmap' databaseload_plotinfo
change dataframe from long to wide formatmake_table_wide
load data package from git repository 'forresdat'read_forresdat
load tables from git repository 'forresdat'read_forresdat_table
remove last local change from git repository 'forresdat'remove_last_commit_forresdat
remove table(s) from data package 'forresdat'remove_table_forresdat
save results of calculations in Access databasesave_results_access
save results of calculations as '.csv'-filessave_results_csv
save results of calculations in git repository 'forresdat'save_results_forresdat