isFormattedForDatabaseUpload: Is the data.frame formatted for uploading to a database?

View source: R/CsvHelper.R

isFormattedForDatabaseUploadR Documentation

Is the data.frame formatted for uploading to a database?

Description

This function is used to check a data.frame to ensure all column names are in snake case format.

Usage

isFormattedForDatabaseUpload(x, warn = TRUE)

Arguments

x

A data frame

warn

When TRUE, display a warning of any columns are not in snake case format

Value

Returns TRUE if all columns are snake case format. If warn == TRUE, the function will emit a warning on the column names that are not in snake case format.


CohortGenerator documentation built on Oct. 1, 2024, 1:09 a.m.