extract_aphia_id.RdThis function extracts the AphiaID from the first row of a given worms_records tibble. If the tibble is empty, it returns NA.
extract_aphia_id(record)A tibble containing worms_records with at least an 'AphiaID' column.
A numeric value representing the AphiaID of the first row in the tibble, or NA if the tibble is empty.