gen_file_path: Generate a Source Linkage File, file path

View source: R/gen_file_path.R

gen_file_pathR Documentation

Generate a Source Linkage File, file path

Description

Generate a Source Linkage File, file path

Usage

gen_file_path(year, file_version, call, dev = FALSE, ext = "parquet")

Arguments

year

Year of the file to be read, you can specify multiple years which will then be returned as one file. It will be converted to short FY using format_year().

file_version

Version of the file (individual / episode).

call

Supply environment from the top-level function to make any error messages more useful.

dev

Whether to get the file from the development area (⁠/conf/sourcedev/Source_Linkage_File_Updates⁠). The default (FALSE) will get the production file from the usual area.

ext

[Questioning] The file extension to read.

Value

a fs_path object.


Moohan/slfhelper documentation built on April 25, 2024, 5:24 a.m.