A simple wrapper to occurrences
from ALA4R
. Performs a search for a species
(e.g. 'Eucalyptus globulus'), sets the download_reason
to 'testing' (see ?ala_reasons
), and returns only the species, the longitude, and the latitude of all observations.
get_occurrences_ala(species, ala_args = NULL) get_occurrences_gbif(species, gbif_args = NULL)
species | The full scientific species name, quoted. |
---|---|
ala_args | Optionally, a list of arguments passed to |
gbif_args | Optionally, a list of arguments passed to |
Note that when passing additional arguments to occ_search
, the following arguments are already set and can not be overriden : hasGeospatialIssue
(FALSE), limit
(50000), fields
(species, lat and long), and of course scientificName
. When passing additional arguments to occurrences
, only download_reason
(7) is already set.
get_occurrences_gbif
# NOT RUN { o <- get_occurrences_ala("Eucalyptus botryoides") # Should return a message like: # INFO [2017-05-12 09:52:10] ALA returned 3274 records for Eucalyptus botryoides in 2.6 sec. # }