View source: R/db_get-helpers.R
create_empty_frame | R Documentation |
This function helps handle situations with no data by returning an empty data frame with the correct column names for the user-specified table.
create_empty_frame(table, db)
table |
A string specifying the specific table from the Oregon Extended live database. Should be one of "Accommodations", "Answers", "Districts", "Exams", "Items", "Preferences", "Schools", "Students", "Students_old", "Submissions", "SupplementalDistricts", "SupplementalSchools", "Tasks", "User", "UserStudents", or "UserStudents_old". |
db |
A string specifying the database to query. Defaults to
|
data.frame - contains column names that would be present for user-requested table
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.