query: query a Content URI or a URL with remote and/or local...

Description Usage Arguments Value Examples

View source: R/query.R

Description

query a Content URI or a URL with remote and/or local registries

Usage

1
query(uri, registries = default_registries(), ...)

Arguments

uri

a content identifier or a regular URL for a data file

registries

list of registries at which to register the URL

...

additional arguments

Value

a data frame with matching results

Examples

1
2
3
4
5
6
## By content identifier
query(paste0("hash://sha256/9412325831dab22aeebdd",
             "674b6eb53ba6b7bdd04bb99a4dbb21ddff646287e37"))
## By (registered) URL
query(paste0("https://knb.ecoinformatics.org/knb/d1/mn/v2/object/",
"ess-dive-457358fdc81d3a5-20180726T203952542"))

cboettig/contentid documentation built on April 1, 2021, 11:25 p.m.