Download ALA Occurrences for a Taxon Within a Circular Area
Source:R/get_ala_circle_occurrences.R
get_ala_circle_occurrences.RdRetrieves occurrence records from the Atlas of Living Australia (ALA) for a specified taxon within a circular geographic area defined by a center point and radius.
Arguments
- taxon
Character. Scientific or common name that ALA can resolve.
- lat
Numeric. Latitude of circle centre in decimal degrees (WGS84).
- lon
Numeric. Longitude of circle centre in decimal degrees (WGS84).
- radius_km
Numeric. Radius in kilometres. Default is 10 km.
Character. ALA/GBIF login email. If NULL, assumes you've already called
galah_config()elsewhere. Default is NULL.- ...
Additional arguments passed to
atlas_occurrences(), such asfilter = galah_filter(year >= 2000).
Examples
if (FALSE) { # \dontrun{
# Get all bird records within 10 km of a point
birds <- get_ala_circle_occurrences(
taxon = "Aves",
lat = -33.7,
lon = 151.3,
radius_km = 10,
email = "your.email@example.com"
)
# With additional filters
recent_birds <- get_ala_circle_occurrences(
taxon = "Manorina melanocephala",
lat = -33.7,
lon = 151.3,
radius_km = 5,
filter = galah_filter(year >= 2010)
)
} # }