country_attribution | R Documentation |
c14bazAAR::determine_country_by_coordinate()
adds the column
country_coord with standardized country attribution based on the coordinate
information for the dates.
Due to the inconsistencies in the country column in many c14 source databases
it's often necessary to rely on the coordinate position (lat & lon)
for country attribution information. Unfortunately not all source databases store
coordinates.
determine_country_by_coordinate(x, suppress_spatial_warnings = TRUE)
## Default S3 method:
determine_country_by_coordinate(x, suppress_spatial_warnings = TRUE)
## S3 method for class 'c14_date_list'
determine_country_by_coordinate(x, suppress_spatial_warnings = TRUE)
x |
an object of class c14_date_list |
suppress_spatial_warnings |
suppress some spatial data messages and warnings |
an object of class c14_date_list with the additional column country_coord
library(magrittr)
example_c14_date_list %>%
determine_country_by_coordinate()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.