# \donttest{
# Using a data frame
df <- data.frame(sample_longitude_dd = c(10.9, 18.3),
sample_latitude_dd = c(58.1, 58.3))
lookup_xy(df)
# Area search within a radius
lookup_xy(df, areas = 500)
# Using separate coordinate vectors
lookup_xy(lon = c(10.9, 18.3), lat = c(58.1, 58.3))
# }
Run the code above in your browser using DataLab