Learn R Programming

analysisPipelines (version 1.0.2)

checkSchema: Compare the schemas of two dataframes

Description

Compare the schemas of two dataframes

Usage

checkSchema(dfOld, dfNew)

Arguments

dfOld

Old dataframe

dfNew

New dataframe

Value

Returns a list with details on added columns, removed columns, comparison between column classes, and a logical whether the schema has remained the same from the old dataframe to the new one

Details

Compares the schemas of two dataframes, providing information on added and removed columns in the new dataframe as compared to the old

See Also

Other Package core functions for batch/one-time analyses: AnalysisPipeline-class, generateReport, initialize,BaseAnalysisPipeline-method