Lists and lets the user interactively pick a filter from lists.

pick_filter(type = NULL)

Arguments

type

string: (optional) type of filter to create query string for. Options are c("resource", "specieslist" , "layer"). Species lists are waiting development from the API side.

Value

a string ready to be places in the argument ‘fq’ in function occurrences.

See also

occurrences for download reasons; sbdi_config

Examples

if (FALSE) { fq_str <- pick_filter("resource") #"data_resource_uid:dr5" x <- occurrences(taxon="genus:Accipiter", download_reason_id=10, fq=fq_str) }