R/utils.R
valid_resource.Rd
Test if a provided argument is a valid resource in Vipunen API. Valid resources are fetched from the API.
valid_resource(x)
character name of the resource
logical TRUE/FALSE
# TRUE valid_resource("julkaisut") #> [1] TRUE # FALSE valid_resource("foobar") #> [1] FALSE