get_dvn_manifest: List dataverse files

View source: R/state_dataverse.R

get_dvn_manifestR Documentation

List dataverse files

Description

Get a listing of files on dataverse

Usage

get_dvn_manifest(
  icews_doi = get_doi(),
  server = Sys.getenv("DATAVERSE_SERVER")
)

Arguments

icews_doi

DOI of the main ICEWS repo on Dataverse, see get_doi()

server

For unit tests only; default is set to dataverse::get_dataset() default.

Value

A list of length 2, containing:

  • file_list: a summary list of all files on DVN, consisting of the data files but also documentation and metadata files.

  • dataverse_dataset: a list tibble with two columns:

    • repo: "weekly" or "historic"'

    • content: objects of class "dataverse_dataset", returned by dataverse::get_dataset().


andybega/icews documentation built on July 7, 2023, 1:29 p.m.