Flags records within 1 km of the GBIF secretariat in Copenhagen (12.58 E, 55.67 N), a location some records receive as a default.
Arguments
- x
A data frame of occurrence records.
- buffer
Buffer distance of the test, in the unit of its Buffer section; the default is the test's default buffer.
- ...
Further arguments to
flag_occurrences():columns,reference,gazetteers,land_scale.
Value
clean_<test>(): the rows of x the test does not flag, with the
columns of x unchanged. See keep_unflagged(), Cleaning functions.
CoordinateCleaner
Equivalent to cc_gbif(); same point, 72-gon
buffer within 0.95 m of the 1 km circle. The point lies outside the
1:50 million Natural Earth coast, so it also fails sea at land_scale = 50
and country_mismatch with code "DK", in both packages.
Custom gazetteer
gazetteers = list(gbif_headquarters = points), a data frame
of longitude and latitude; see flag_occurrences().
See also
flag_occurrences(), flag_tests()
Other tests:
clean_age_equal(),
clean_age_outlier(),
clean_age_range_outlier(),
clean_aohi(),
clean_basis_fossil(),
clean_capital(),
clean_centroid(),
clean_country_mismatch(),
clean_dataset_ddmm(),
clean_dataset_rounded(),
clean_duplicate(),
clean_equal(),
clean_establishment_introduced(),
clean_institution(),
clean_invalid(),
clean_issue_coordinate(),
clean_outlier(),
clean_range(),
clean_sea(),
clean_sea_nonmarine(),
clean_spatiotemporal_outlier(),
clean_urban(),
clean_zero()
Examples
x <- data.frame(decimalLongitude = c(12.58, 12.6), decimalLatitude = c(55.67, 55.7))
flag_occurrences(x, tests = "gbif_headquarters")$flag_gbif_headquarters
clean_gbif_headquarters(x)