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

View source: R/sources.R

sourcesR Documentation

List all known URL sources for a given Content URI

Description

List all known URL sources for a given Content URI

Usage

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

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






id <- paste0("hash://sha256/9412325831dab22aeebdd",
             "674b6eb53ba6b7bdd04bb99a4dbb21ddff646287e37")
sources(id)





cboettig/contentid documentation built on Oct. 24, 2023, 1:03 p.m.