Description Usage Arguments Details Value Handling refType parameter Author(s) Examples
odataCleanName
- converts names to ODATA compliant version. Used to clean names in ODATA calls.
1 | odataCleanName(name, refType = "odataObject")
|
name |
string to clean |
refType |
Reference to the type of object being passed. |
odataCleanName
Clean a name for ODATA.
Returns name in ODATA compliant form
refType
parameterAs of now the refType
parameter defaults to the Value of "odataObject"
This will ensure that the leading underscode is placed in front of numbers
at the beginning of the odata string to comply with Odata Standards. However,
This function can be used for other objects as well to replace spaces and
hyphens with underscores.
Craig Parman info@ngsanalytics.com
Adam Wheeler adam.wheeler@thermofisher.com
Scott Russell scott.russell@thermofisher.com
1 2 3 4 5 6 7 | ## Not run:
new_name <- odataCleanName("384 Well Plate")
# returns "_384_WELL_PLATE"
new_name <- odataCleanName("384 Well Plate", "tenant")
# returns "384_WELL_PLATE"
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.