read.latest: Reads the latest file in a folder.

Description Usage Arguments

Description

Reads the latest file in a folder.

Usage

1
read.latest(folder = NULL, filetype = "json", pattern = NULL, ...)

Arguments

folder

path to folder

filetype

csv, csv2, json or excel. Defaults to json.

pattern

pattern to match files on. Note that by default files are filtered by file extensions correct for the type.

...

further arguments passed to jsonlite::fromJSON, read.csv, openxlsx::read.xlsx, etc.


Karel-Kroeze/Utilities documentation built on May 8, 2019, 4:47 p.m.