convert_to_hex_string: Utility function used throughout the package

View source: R/utilities.R

convert_to_hex_stringR Documentation

Utility function used throughout the package

Description

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(s)

Kelli Johnson

Examples

## Not run: 
common_name <- c("lingcod", "sablefish", "Pacific cod")
convert_to_hex_string(common_name)

## End(Not run)


nwfsc-assess/nwfscSurvey documentation built on April 29, 2024, 9:51 p.m.