format_from_dataframe {uscoauditlog}R Documentation

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

## Not run: 
filename = "data.xlsx"
dataframedata = clean_data_to_dataframe(filename)
format_from_dataframe(dataframedata)

## End(Not run)

[Package uscoauditlog version 1.0.3 Index]