Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

combine_csvs

Combine CSVs in a directory


Description

Given a directory (and, optionally, a pattern to search against), concatenate all CSV files into a single tibble.

Usage

combine_csvs(dir, pattern = "*.csv", ...)

Arguments

dir

Path to the directory to look at for files.

pattern

Pattern to use for detecting files. (Default: '*.csv')

...

Parameters to pass to readr::read_csv.

Value

A tibble of concatenated data from multiple CSV files.


upstartr

Utilities Powering the Globe and Mail's Data Journalism Template

v0.1.1
MIT + file LICENSE
Authors
Tom Cardoso [aut, cre] (creator and maintainer), Michael Pereira [ctb], The Globe and Mail Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.