extract_rprt_year: Extracts year from report directory name

View source: R/time_series_utilities.R

extract_rprt_yearR Documentation

Extracts year from report directory name

Description

Extracts year from report directory name

Usage

extract_rprt_year(dirname = NULL, prefix = NULL)

Arguments

dirname

Character vector with directories' names. NULL by default.

prefix

A string with report directory name prefix (without trailing underscore. By default NULL.

Value

Integer vector same length as 'dirname' with years.


SWS-Methodology/faoswsTrade documentation built on Feb. 13, 2023, 1:04 a.m.