list.recent.files: List most recent files

View source: R/list.recent.files.R

list.recent.filesR Documentation

List most recent files

Description

Will find inside the folder with all the files the file with the recent-most data, per lake. Name of each data file sould follow the format: "lacXX_data_compile_YYYYMM_YYYYMM.txt" or "lacXX_data_compile_YYYYMM.txt"

Usage

list.recent.files(path)

Arguments

path

Path to folder with all the files. Format of files within the path should be "lacXX_data_compile_YYYYMM_YYYYMM.txt". lacXX gives the lac number, and YYYYMM are the start and end dates of the recording. The second date will be used to filter out the most recent file.

Author(s)

Rosalie Bruel


rosalieb/rhobo documentation built on Dec. 7, 2023, 10:43 p.m.