View source: R/get_current_version.R
get_current_version | R Documentation |
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.
get_current_version()
A character
of length 1, i.e. the label of the version in use.
## Not run:
# 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()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.