import_dir: import directory

View source: R/import_dir.R

import_dirR Documentation

import directory

Description

import directory

Usage

import_dir(
  dir,
  ...,
  method = c("rio", "vroom", "vroom_jp", "read_csv"),
  return_type = c("df", "list")
)

Arguments

dir

dir path

...

arguments passed to import method

method

import method chosen from import tibble

return_type

default is to bind dataframes together and remove duplicates. only recommended for a folder of files with the same data format. otherwise specify return as list of data frames

Value

data frame


Harrison4192/dataCleaner documentation built on March 20, 2024, 3:12 p.m.