Return 1 if a species has a common name in NCBI, 0 otherwise

species_ncbi_common_exists(species)

Arguments

species

The focal species to examine

Value

1 or 0

Examples

species_ncbi_common_exists('Puma concolor')
#> #> Retrieving data for taxon 'Puma concolor'
#> [1] 1
species_ncbi_common_exists('Pomatomus saltatrix')
#> #> Retrieving data for taxon 'Pomatomus saltatrix'
#> [1] 0