sqlSave64 | R Documentation |
Wrapper function for RODBC:sqlSave to save data to the NWOS database from a 64-bit R session
sqlSave64(data, tname, vtypes)
data |
is a dataframe containing records to be loaded to the NWOS DB |
tname |
is a string containing the table to which the data should be appended |
vtypes |
is a vector containing the oracle datatype associated with columns in data |
This function must be run on a machine with an ODBC connection (32-bit) to the USFS FIA production database through a user with read permissions.
a dataframe containing the return from the SQL query
sqlSave64(data=df,tname='FS_NWOS.CODES_UPDATE',vtypes=c(CREATED_DATE="Date"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.