Skip to contents

This function extracts the year of the database from the file name.

Usage

get_parquet_year(path)

Arguments

path

Path to the parquet file.

Value

An integer with the year.

Examples

get_parquet_year("path/to/year=2025/file.parquet")
#> [1] 2025