List all known URL sources for a given Content URI

sources(
  id,
  registries = default_registries(),
  cols = c("source", "date"),
  all = TRUE,
  ...
)

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.

all

should we query remote registries even if a local source is found? Default TRUE

...

additional arguments

Value

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

Details

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

See also

history register store

Examples

if (FALSE) { # interactive() # \donttest{ id <- paste0("hash://sha256/9412325831dab22aeebdd", "674b6eb53ba6b7bdd04bb99a4dbb21ddff646287e37") sources(id) # } }