getContentInfo: Get information on a content item from the viz.yaml

Description Usage Arguments See Also

View source: R/getContentInfo.R

Description

Returns a single content item. Reads from the viz.yaml in the current working directory

Usage

1
2
getContentInfo(viz.id, block = c("parameter", "fetch", "process",
  "visualize", "publish", "resource"), no.match = c("stop", "NA"))

Arguments

viz.id

a length-1 character string giving the ID for a single content item to return

block

the name or names of content blocks whose items should be included in the query

no.match

what to do if the viz.id is not found: either 'stop' (throw error) or 'NA' (return NA)

See Also

getContentInfos


USGS-VIZLAB/vizlab documentation built on July 10, 2019, 12:08 a.m.