Writes an ALprekDB panel object to the database. Automatically determines the table name from the S3 class. Factor columns are converted to character for storage; their levels are preserved in the column type registry for reconstruction on read.
Arguments
- conn
A DBI connection object from
db_init().- panel_obj
An
alprek_budget_panel,alprek_classroom_panel, oralprek_student_panelobject.- overwrite
Logical. If
TRUE, drops and recreates the table. DefaultFALSE.