df <- tibble::tibble(
scientificName = c("Crinia Signifera", "Crinia Signifera", "Litoria peronii"),
latitude = c(-35.27, -35.24, -35.83),
longitude = c(149.33, 149.34, 149.34),
eventDate = c("2010-10-14", "2010-10-14", "2010-10-14")
)
# Add occurrence information
df |>
set_occurrences(
occurrenceID = composite_id(random_id(), eventDate), # add composite ID
basisOfRecord = "humanObservation"
)
Run the code above in your browser using DataLab