View source: R/createStringYear.R
createStringYear | R Documentation |
inputs to get_ functions are required as strings when passed as a sql statement This function converts numeric inputs to character strings
createStringYear(itemName, chosenItem, convertToCharacter, numChars)
itemName |
Character string. Variable name as it exists in the data base |
chosenItem |
User input value of variable listed in itemName |
convertToCharacter |
Boolean. Should we convert the |
numChars |
Numeric scalar. Number of characters to format the numeric |
A charachter string
## Not run:
createString(itemName="area",area=503,convertToCharacter=TRUE,numChars=3)
createString(itemName="species_itis",species,convertToCharacter=TRUE,numChars=6)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.