pick_filter: List and pick existing filters

Description Usage Arguments Value See Also Examples

View source: R/pick_filter.R

Description

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

Usage

1

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

1
2
3
4
5
6
7
## Not run: 
fq_str <- pick_filter("resource") #"data_resource_uid:dr5"
x <- occurrences(taxon="genus:Accipiter", 
                  download_reason_id=10,
                  fq=fq_str)

## End(Not run)

bioatlas/r-functionality documentation built on Nov. 1, 2020, 3:42 a.m.