history_swh: return the history of archive events of a given software...

Description Usage Arguments See Also Examples

View source: R/software-heritage.R

Description

Note that unlike the generic query_history method, SWH history is repo-specific rather than content-specific. An archive event adds all content from the repo to the Software Heritage archival snapshot at once. Any individual file can still be referenced by its content identifier.

Usage

1
history_swh(origin_url, host = "https://archive.softwareheritage.org", ...)

Arguments

origin_url

The url address to a GitHub, GitLab, or other recognized repository origin

host

the domain name for the Software Heritage API

...

additional arguments

See Also

query_history, store_swh, sources_swh

Examples

1
2
3
 

history_swh("https://github.com/CSSEGISandData/COVID-19")

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