select_filenames_by_date: This function basically handles how to proceed when selecting...

Description Usage Arguments Value

View source: R/utils.R

Description

Select names of the file to be loaded according to boundary conditions. 4 possible cases: 1. to = from = NULL. No dates have been provided, all the file_names in file_names are returned 2. to = NULL, from = given. All files from the given date onwards are selected 3. to = given, from = NULL. All files up to the given date are selected 4. to = from = given. Files within the dates interval are selected

Usage

1
select_filenames_by_date(file_names, from, to, date_format)

Arguments

file_names

a list of file names

from

Initial date. A character or NULL

to

Ending date. A character or NULL

date_format

date format

Value

Returns a list of selected filenames to be loaded


pegoraro/qchlorophyll documentation built on May 24, 2019, 11:46 p.m.