list_csv: Listing csv files in a folder

Description Usage Arguments Examples

View source: R/utilities.R

Description

This function allows you to create a vector with paths to csv files in the specified folder

Usage

1
list_csv(path = getwd(), pattern = ".csv$", full.names = T, ...)

Arguments

path

a string, path to the folder with the files

pattern

a regular expression. Only filenames that match pattern will be returned

full.names

a logical value. If TRUE the full path will be returned, otherwise only the file names

Examples

1
list_rasters('a_data/original_data')

sitscholl/rebecka_package documentation built on Aug. 25, 2020, 4:20 a.m.