make_raw_data: Load raw dataframe from file or from passed-in dataframe

View source: R/data_input_functions.R

make_raw_dataR Documentation

Load raw dataframe from file or from passed-in dataframe

Description

Load raw dataframe from file or from passed-in dataframe

Usage

make_raw_data(filepath = NA, filetype = "csv", delim = ",", raw_df = NA)

Arguments

filepath

Default to NA. If loading data using filepath, specify filepath as a string.

filetype

Default to 'csv'. If loading data using filepath, specify either 'csv' or 'excel'. 'excel' option supports both 'xlsx' and 'xls' format.

delim

Defaulted to ','. Can specify other delimiters as well.

raw_df

Default to NA. If loading data using a dataframe. Pass in the dataframe instance.

Value

Raw dataframe for DigitAnalysis slot 'raw'


jlederluis/digitanalysis documentation built on Nov. 5, 2023, 11:46 a.m.