read_csv_by_string_search: Read CSV By String Search

View source: R/read_csv_by_string.R

read_csv_by_string_searchR Documentation

Read CSV By String Search

Description

This convenience function searches either the default directory or a specified directory for a (1) .csv file that at least partially matches the string_search variable. The file is then read-in to R.

Usage

read_csv_by_string_search(string_search, directory = here::here())

Arguments

string_search

string or regular expression to search for in the directory

directory

string of the directory in which to search for CSV file; defaults to the current working directory using here::here()


NeuroShepherd/RankinLabTools documentation built on Sept. 23, 2022, 5:31 p.m.