Skip to contents

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.

Usage

get_current_version()

Value

A character of length 1, i.e. the label of the version in use.

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()
} # }