Fishes of the Caribbean coast of Panama
This guide includes fishes that occur on the Caribbean coast of Panama, including those reported on coral reefs, mangroves and seagrass beds inside and outside the Bay of Almirante (Bocas del Toro), and around Isla Grande. Access the data with the radio buttons below.
The size of the pdf is about 56Mb.
Photos from Reef Life Survey and the Smithsonian Tropical Research Institute’s Shorefishes of the Greater Caribbean.
In order to get taxon details from the World Register of Marine Species (WoRMS) online database (specifically the hyperlink to the taxon page), we used the worms R package. First, we created a list of taxa (genus and species) which you can download here:
Next, we interated through the list with a simple for-loop and then appended the results to a dataframe. You can download the complete results of the database scrap for each taxa here:
library("worms")
library("tidyverse")
rm(worms_results, i, taxon_names)
taxon_names <- readr::read_delim("harvey2020a_taxon_names.txt", delim = "\t")
taxon_names <- data.frame(taxon_names)
worms_results <- c()
for(i in 1:nrow(taxon_names)) {
tmp_taxa <- taxon_names[i,]
tmp_results <- data.frame(wormsbynames(tmp_taxa, ids = TRUE,
match = TRUE,
verbose = TRUE,
chunksize = 150,
like = "false",
marine_only = "true",
sleep_btw_chunks_in_sec = 0.1))
worms_results <- rbind(worms_results, tmp_results)
rm(list = ls(pattern = "tmp_"))
}
worms_results$id <- NULL
worms_results$id <- 1:nrow(worms_results)
worms_results <- worms_results %>% dplyr::relocate(id)
readr::write_csv(data.frame(worms_results), "harvey2020a_worms_results.csv")