utils_load_directories_csv {podcleaner}R Documentation

Load directory "csv" file(s) into memory

Description

Loads specified directory "csv" file(s) into memory. Stacks individual directories into a single dataframe and further passes the output down to utils_format_directory_raw for initial formatting.

Usage

utils_load_directories_csv(
  type = c("general", "trades"),
  directories,
  path,
  verbose
)

Arguments

type

A character string: "general" or "trades". Refers to the type of directory to shall be loaded.

directories

A character string vector providing the name(s) of the directory(/ies) to load.

path

A character string specifying the path to the folder where the directory(/ies) live as ".csv" file(s).

verbose

Whether the function should be executed silently (FALSE) or not (TRUE).

Value

A dataframe.

Examples

## Not run: 
  utils_load_directories_csv(
    "general", "1861-1862",
    "home/projects/glasgow-entrepreneurs/data/general-directories", FALSE
  )

## End(Not run)


[Package podcleaner version 0.1.2 Index]