Skip to contents

Find ICES code types by text match

Usage

ices_find_code_types(query, max_results = 20)

Arguments

query

Search string matched against key, description, and longDescription.

max_results

Maximum number of rows to return (default 20).

Value

Filtered tibble of code types. Empty when nothing matches, and also when the request to ICES fails, which warns, naming the request.

Examples

if (FALSE) { # \dontrun{
# Needs the live ICES service; run in checks once an offline fixture exists.
matching_types <- ices_find_code_types("gear")
} # }