Removes or flags records within Artificial Hotspot Occurrence Inventory. Poorly geo-referenced occurrence records in biological databases are often erroneously geo-referenced to highly recurring coordinates that were assessed by Park et al 2022. See the reference for more details.
cc_aohi(
x,
lon = "decimalLongitude",
lat = "decimalLatitude",
species = "species",
taxa = c("Aves", "Insecta", "Mammalia", "Plantae"),
buffer = 10000,
geod = TRUE,
value = "clean",
verbose = TRUE
)
Depending on the ‘value’ argument, either a data.frame
containing the records considered correct by the test (“clean”) or a logical vector (“flagged”), with TRUE = test passed and FALSE = test failed/potentially problematic . Default = “clean”.
data.frame. Containing geographical coordinates and species names.
character string. The column with the longitude coordinates. Default = “decimalLongitude”.
character string. The column with the latitude coordinates. Default = “decimalLatitude”.
character string. The column with the species identity. Only required if verify = TRUE.
Artificial Hotspot Occurrence Inventory (AHOI) were created based on four different taxa, birds, insecta, mammalia, and plantae. Users can choose to keep all, or any specific taxa subset to define the AHOI locations. Default is to keep all: c("Aves", "Insecta", "Mammalia", "Plantae").
The buffer around each capital coordinate (the centre of the city), where records should be flagged as problematic. Units depend on geod. Default = 10 kilometres.
logical. If TRUE the radius around each capital is calculated based on a sphere, buffer is in meters and independent of latitude. If FALSE the radius is calculated assuming planar coordinates and varies slightly with latitude. Default = TRUE. See https://seethedatablog.wordpress.com/ for detail and credits.
character string. Defining the output value. See value.
logical. If TRUE reports the name of the test and the number of records flagged.
Park, D. S., Xie, Y., Thammavong, H. T., Tulaiha, R., & Feng, X. (2023). Artificial Hotspot Occurrence Inventory (AHOI). Journal of Biogeography, 50, 441–449. tools:::Rd_expr_doi("10.1111/jbi.14543")
Other Coordinates:
cc_cap()
,
cc_cen()
,
cc_coun()
,
cc_dupl()
,
cc_equ()
,
cc_gbif()
,
cc_inst()
,
cc_iucn()
,
cc_outl()
,
cc_sea()
,
cc_urb()
,
cc_val()
,
cc_zero()
x <- data.frame(species = letters[1:10],
decimalLongitude = c(runif(99, -180, 180), -47.92),
decimalLatitude = c(runif(99, -90,90), -15.78))
cc_aohi(x)
Run the code above in your browser using DataLab