checkForID | R Documentation |
Checks for some sort of ID column, which is by default converted to character. Returns a message for failures. This is meant to work with dataset upload modules.
checkForID(data, message = NULL, idcol = "ID", aschar = T)
data |
A table. |
message |
A default message for failures. |
idcol |
Name of ID column, defaulting to "ID". |
aschar |
Convert ID column to character. |
A list with elements result with the result data and message with a message to show.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.