Skip to contents

Utility function used throughout the package

Usage

convert_to_hex_string(x)

Arguments

x

A string of either common_name or sci_name

Details

Function that converts a string to a hex string for common name or scientific name when pulling data. This function is used within the pull_* functions that retrive species specific data

Author

Kelli Johnson

Examples

if (FALSE) {
common_name <- c("lingcod", "sablefish", "Pacific cod")
convert_to_hex_string(common_name)
}