Description Usage Arguments Value Examples
View source: R/business_logic_functions.R
To format the ship type to get the ship image file
1 | format_ship_type(ship_type, suffix = "", file_extension = "png")
|
ship_type |
A string with the ship's type |
file_extension |
A string which contains file extension. Defaults to .png |
type |
A string which contains the suffix that can be appended to the file name. Default is empty string |
A string which contains the file name corresponding to the ship type
1 | format_ship_type("Cargo")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.