Get the version of the FORCIS database currently used
Source:R/get_current_version.R
get_current_version.Rd
Returns the version of the FORCIS database currently used in the project.
This function will read the content of the hidden file .forcis
created by
the function download_forcis_db()
. This file keeps track of the latest
version of the database used for a dedicated project. For more information,
please read the vignette available at
https://frbcesab.github.io/forcis/articles/database-versions.html.
Examples
if (FALSE) { # \dontrun{
# Attach the package ----
library("forcis")
# Folder in which the database will be saved ----
path_to_save_db <- "data"
# Download the database ----
download_forcis_db(path = path_to_save_db, version = NULL)
# Get the version of the database ----
get_current_version()
} # }