Get valid filters for a resource.

get_filters(resource = c("wcvp", "powo", "ipni", "tol"))

Arguments

resource

The resource being queried.

Value

A character vector of valid filters.

Examples

get_filters("wcvp")
#> [1] "accepted"     "families"     "genera"       "species"      "infraspecies"
get_filters("powo")
#> [1] "accepted"     "has_images"   "families"     "genera"       "species"     
#> [6] "infraspecies"
get_filters("ipni")
#> [1] "families"      "genera"        "species"       "infraspecies" 
#> [5] "infragenera"   "infrafamilies"