if (FALSE) {
# Search for fields that include the word "date"
search_all(fields, "date")
# Search for fields that include the word "marine"
search_all(fields, "marine")
# Search using a single taxonomic term
# (see `?search_taxa()` for more information)
search_all(taxa, "Reptilia") # equivalent
# Look up a unique taxon identifier
# (see `?search_identifiers()` for more information)
search_all(identifiers,
"https://id.biodiversity.org.au/node/apni/2914510")
# Search for species lists that match "endangered"
search_all(lists, "endangered") # equivalent
# Search for a valid taxonomic rank, "subphylum"
search_all(ranks, "subphylum")
# An alternative is to download the data and then `filter` it. This is
# largely synonymous, and allows greater control over which fields are searched.
request_metadata(type = "fields") |>
collect() |>
dplyr::filter(grepl("date", id))
}
Run the code above in your browser using DataLab