Skip to content

Instantly share code, notes, and snippets.

@johnjosephhorton
Created September 24, 2012 17:23
Show Gist options
  • Save johnjosephhorton/3777141 to your computer and use it in GitHub Desktop.
Save johnjosephhorton/3777141 to your computer and use it in GitHub Desktop.
Create a new table in the database with R
df.odw <- data.frame(application = df$application, p = df$p)
if(dbExistsTable(con, "predicted_response_probabilities")){
dbRemoveTable(con, "predicted_response_probabilities")
}
dbWriteTable(con, "predicted_response_probabilities", df.odw)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment