GetNextId: Get Next ID (CRUD)

Description Usage Examples

View source: R/getNextID.R

Description

This function gets the next ID in a data set as part of a CRUD series of functions. Used in the create data function.

Usage

1

Examples

1
2
3
4
5
6
7
8
9
CreateData <- function(data) {
data <- CastData(data)
rownames(data) <- GetNextId()
if (exists("responses")) {
  responses <<- rbind(responses, data)
} else {
  responses <<- data
}
}

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