This function is primarily used to add data to the FacileDataSet's SQLite database. x is new data to add, and to is the a table of the form that is expected in the database. We check that the columns of x are a superset of columns in x and the matching columns are all of the same class.

conform_data_frame(x, to)

Arguments

x

a data.frame that needs to be checked and conformed

to

the prototype data.frame that x needs to be aligned against.

Value

the tibble version of x that is arranged to look like to.