if (FALSE) {
# Download occurrence records of *Perameles*,
# Only return scientificName and eventDate columns
galah_config(email = "your-email@email.com")
galah_call() |>
galah_identify("perameles")|>
galah_select(scientificName, eventDate) |>
atlas_occurrences()
# Only return the "basic" group of columns and the basisOfRecord column
galah_call() |>
galah_identify("perameles") |>
galah_select(basisOfRecord, group = "basic") |>
atlas_occurrences()
# When used in a pipe, `galah_select()` and `select()` are synonymous.
# Hence the previous example can be rewritten as:
request_data() |>
identify("perameles") |>
select(basisOfRecord, group = "basic") |>
collect()
}
Run the code above in your browser using DataLab