View source: R/castDataFunction.R
CastData | R Documentation |
This function casts data as part of a CRUD series of functions.
CastData(data)
data |
Data to be cast. |
CreateDefaultRecord <- function() {
mydefault <- CastData(list(id = "0",
propertyForm = "",
yearForm = strftime(Sys.Date(), "%Y"),
monthForm = strftime(Sys.Date(), "%B"),
categoryForm = "",
notes = "",
requesterName = userInfo()$Name))
return (mydefault)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.