Learn R Programming

uscoauditlog (version 1.0.3)

format_from_dataframe: Helper Function

Description

Reads in the outputted data frame from the clean_data_to_dataframe function and formats and returns the data as a dictionary that uses FIELD types as keys and NON-FIELD types as the values of those keys

Usage

format_from_dataframe(dataframedata)

Arguments

dataframedata

Input the cleaned .xlsx sheet outputted from the function clean_data_to_dataframe

Value

Returns a vector dictionary that contains the formatted version of the cleaned data.

Examples

Run this code
# NOT RUN {
filename = "data.xlsx"
dataframedata = clean_data_to_dataframe(filename)
format_from_dataframe(dataframedata)
# }

Run the code above in your browser using DataLab