CastData: Cast Data Function (CRUD)

Description Usage Arguments Examples

View source: R/castDataFunction.R

Description

This function casts data as part of a CRUD series of functions.

Usage

1

Arguments

data

Data to be cast.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)
}

jsdeherrera/shinyBoots documentation built on July 2, 2017, 1:01 p.m.