return_desired_format: Return a file name with the requested format

View source: R/utils.R

return_desired_formatR Documentation

Return a file name with the requested format

Description

Combines the information passed and returns it in the format stipulated in argument 'to_format'.

Usage

return_desired_format(country, year, database, level, to_format)

Arguments

country

A string with the country as 'cc'.

year

A string with four digit year as 'yyyy'.

database

A string with database as 'd'.

level

A string with level as 'l'.

to_format

A string with the desired format.

Details

To be used inside 'change_file_name_format()'.

Value

A string with the file name in the stipulated format.


JosepER/lissyrtools documentation built on Jan. 26, 2025, 10:01 p.m.