# subset the occurrence data returning only data points 50km from the reference coordinates
Colombia_site_1 <- subset_by_coordinate_ref(
dataframe = Colombia,
coordinate_reference = c(-74.083310, 7.488485),
distance_threshold = 50000
)
head(Colombia_site_1)
Run the code above in your browser using DataLab