View source: R/data_input_functions.R
process_digit_data | R Documentation |
DigitAnalysis
. Parse and clean the data for digit analysis.Create an object instance for DigitAnalysis
. Parse and clean the data for digit analysis.
process_digit_data(
filepath = NA,
digit_columns = NA,
filetype = "csv",
delim = ",",
raw_df = NA
)
filepath |
Default to NA. If loading data using filepath, specify filepath as a string. |
digit_columns |
All potential data columns to be analyzed. Defaulted to NA. Can be specified as any of
|
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. |
An object in DigitAnalysis
process_digit_data('col_name', filepath='~/filename.csv')
process_digit_data('col_name', filepath='~/filename.xlsx', filetype='excel', delim=',')
process_digit_data('col_name', raw_df=my_dataframe)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.