GetNextId | R Documentation |
This function gets the next ID in a data set as part of a CRUD series of functions. Used in the create data function.
GetNextId()
CreateData <- function(data) {
data <- CastData(data)
rownames(data) <- GetNextId()
if (exists("responses")) {
responses <<- rbind(responses, data)
} else {
responses <<- data
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.