Test if a provided argument is a valid resource in Vipunen API. Valid
resources are fetched from the API.
Usage
valid_resource(x)
Arguments
x
character name of the resource
Value
logical TRUE/FALSE
Examples
# TRUEvalid_resource("julkaisut")#> No encoding supplied: defaulting to UTF-8.#> [1] TRUE# FALSEvalid_resource("foobar")#> No encoding supplied: defaulting to UTF-8.#> [1] FALSE