The events API returns events that include region codes (for EEZs, etc.). There is currently no way to translate the codes back into the EEZ label. A quick modification to the get_region_id function should allow it to take in a EEZ or MPA code an return the corresponding label. See the code below for one implementation.
The events API returns events that include region codes (for EEZs, etc.). There is currently no way to translate the codes back into the EEZ label. A quick modification to the
get_region_id
function should allow it to take in a EEZ or MPA code an return the corresponding label. See the code below for one implementation.