createTonnageString: Utility function to convert tonnage to strings

View source: R/createTonnageString.R

createTonnageStringR Documentation

Utility function to convert tonnage to strings

Description

inputs to get_ functions are required as strings when passed as a sql statement This function converts numeric inputs to character strings. Used specifically for tonnage class

Usage

createTonnageString(itemName, chosenItem)

Arguments

itemName

Character string. Variable name as it exists in the data base

chosenItem

User input value of variable listed in itemName

Value

A character string

Examples

## Not run: 
createTonnageString(itemName="toncl2",chosenItem=c(1,2))
createTonnageString(itemName="toncl2",chosenItem="all")


## End(Not run)

andybeet/dbutils documentation built on March 15, 2024, 4:43 p.m.