save_results_git.Rd
This function saves the results from calculations in the forrescalc package (or any other named list with dataframes) in a git repository. List item names will be used to name each of the tables, which contain as a content the different dataframes.
save_results_git(results, repo_path, push = FALSE, strict = TRUE)
results from calculations in package forrescalc as a named list
name and path of local git repository in which results should be saved
push commits directly to the remote on github? Default is FALSE (no). (This option can only be used with SSH.)
keep default TRUE to update data without structural changes, change to FALSE only if tables are structurally changed (e.g. additional column, change in sorting order,...)
No value is returned, data are saved in the specified git repository
if (FALSE) {
#change path before running
library(forrescalc)
data_dendro <-
load_data_dendrometry("C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb")
result_dendro <- calculate_dendrometry(data_dendro)
save_results_git(result = result_dendro, repo_path = "C:/gitrepo/forresdat")
}