Fishes of the Eastern Pacific coast of Panama
This guide includes species that occur on the Eastern Pacific coast of Panama, including those reported on coral reefs and on shallow rocky shores in the Coiba National Park and in the Pearl Islands. Access the data with the radio buttons below.
The size of the pdf is about 94Mb.
Photos from Reef Life Survey and the Smithsonian Tropical Research Institute’s Shorefishes of the Eastern Pacific.
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("harvey2020b_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), "harvey2020b_worms_results.csv")