Is taxon present in the Iberian Peninsula and/or Balearic Islands?
Source:R/is_present.R
is_present.Rd
Is taxon present in the Iberian Peninsula and/or Balearic Islands?
Arguments
- genus
character. One or more genera to check for presence. Required, unless
gbif.id
is provided.- species
character. Optional. One or more species names to check for presence. The length of
genus
must equal that ofspecies
, unless length(genus) == 1, in which case it will be assumed that all species belong to that same genus.- subspecies
character. Optional. One or more subspecies names to check for presence. The length of
species
must equal that ofsubspecies
, unless length(species) == 1, in which case it will be assumed that all subspecies belong to that same species.- gbif.id
character. Optional.
Examples
is_present("Laurus")
#> Laurus
#> TRUE
is_present("Laurus", "nobilis")
#> Laurus nobilis
#> TRUE
is_present("Laurus", "azorica")
#> Laurus azorica
#> FALSE
is_present("Laurus", c("nobilis", "azorica"))
#> Laurus nobilis Laurus azorica
#> TRUE FALSE
is_present(gbif.id = "3034015")
#> 3034015
#> TRUE