This function loads one or more tables from the access database and saves them in a git repository.

from_access_to_git(database, tables, repo_path, push = FALSE, strict = TRUE)

Arguments

database

name of fieldmap/access database (with specific fieldmap structure) including path

tables

vector with table names of tables that should be moved

repo_path

name and path of local git repository in which results should be saved

push

push commits directly to the remote on github? Default is FALSE (no). (This option can only be used with SSH.)

strict

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,...)

Value

No value is returned, the tables are saved in the git repository.

Examples

if (FALSE) {
#change paths before running
library(forrescalc)
from_access_to_git(
  database = "C:/MDB_BOSRES_selectieEls/FieldMapData_MDB_BOSRES_selectieEls.accdb",
  tables = c("qAliveDead", "qdecaystage"),
  repo_path = "C:/gitrepo/forresdat"
)
}