R/get-helpers.R
get_database_year.Rd
This function extracts the year of the database from the file name.
get_database_year(path)
Path to the database file.
An integer with the year.
get_database_year("path/to/database2025.sas") #> [1] 2025