format_ship_type: To format the ship type to get the ship image file

Description Usage Arguments Value Examples

View source: R/business_logic_functions.R

Description

To format the ship type to get the ship image file

Usage

1
format_ship_type(ship_type, suffix = "", file_extension = "png")

Arguments

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

Value

A string which contains the file name corresponding to the ship type

Examples

1

vedhav/shipdashboard documentation built on Jan. 1, 2021, 12:37 p.m.