retrieve_swh: retrieve content from Software Heritage given a content...

Description Usage Arguments See Also Examples

View source: R/software-heritage.R

Description

retrieve content from Software Heritage given a content identifier

Usage

1
retrieve_swh(id, host = "https://archive.softwareheritage.org")

Arguments

id

a content identifier

host

the domain name for the Software Heritage API

See Also

retrieve, sources_swh

Examples

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

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