Skip to contents

The v1-v7 crosswalk mints {ds_key}|{taxa} where taxa carries the dataset prefix (bl|bl:22698216, rng_iucn|rng_iucn:Oncorhynchus keta); v8 and later key the SAME source object by its bare id, with underscores for spaces (bl|22698216, ca_nmfs|Balaenoptera_ricei). AquaMaps keys (am|Fis-29291) are already identical. This is a rule about key spelling, so it lives here where a test can assert it.

Usage

native_key_v8(mdl_key)

Arguments

mdl_key

character stable model key(s) from the v1-v7 crosswalk

Value

character key(s) in the v8 spelling

Examples

native_key_v8("bl|bl:22698216")
#> [1] "bl|22698216"
native_key_v8("ch_nmfs|ch_nmfs:Acropora globiceps")
#> [1] "ch_nmfs|Acropora_globiceps"