filter_files_by_date: Filter file list based on their date attributes

View source: R/filter_files_by_date.R

filter_files_by_dateR Documentation

Filter file list based on their date attributes

Description

Filter file list based on their date attributes

Usage

filter_files_by_date(
  file_names,
  n_return = "all",
  date_filter = "mtime",
  return_what = "paths"
)

Arguments

file_names

A character vector of fully expanded file paths (not a list)

n_return

The number of files to be returned or "all" of them

date_filter

Which file date property should be used for filtering?

return_what

What should the output format be, a vector of "paths" or a "table" of files and their attributes?

Value

A list of fully expanded file paths or a table of filtered file names with their attributes


cmstillwell/UWparserrr documentation built on Nov. 11, 2024, 10:38 p.m.