query_sources: List all known URL sources for a given Content URI

Description Usage Arguments Details Value See Also Examples

View source: R/query_sources.R

Description

List all known URL sources for a given Content URI

Usage

1
2
3
4
5
6
query_sources(
  id,
  registries = default_registries(),
  cols = c("source", "date"),
  ...
)

Arguments

id

a content identifier

registries

list of registries at which to register the URL

cols

names of columns to keep. Default are source and date. See details.

...

additional arguments

Details

possible columns are (in order): identifier, source, date, size, status, md5, sha1, sha256, sha384, sha512

Value

a data frame with all registration events when a URL or a local path (including the local store) have contained the corresponding content.

See Also

history register store

Examples

1
2
3
id <- paste0("hash://sha256/9412325831dab22aeebdd",
             "674b6eb53ba6b7bdd04bb99a4dbb21ddff646287e37")
query_sources(id)

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