get_file_json: Retrieves file metadata information for a file given its ID

Description Usage Arguments Value Examples

View source: R/update_file_metadata.R

Description

Retrieves file metadata information for a file given its ID

Usage

1
2
3
4
5
get_file_json(
  file,
  key = Sys.getenv("DATAVERSE_KEY"),
  server = "data.qdr.syr.edu"
)

Arguments

file

The numeric ID for the file

key

The API key

server

The dataverse installation to be used

Value

The JSON return from the API as a List

Examples

1
fileJSON <- get_file_json(396501, key="", server = "demo.dataverse.org")

QualitativeDataRepository/dvcurator documentation built on Nov. 8, 2021, 10 a.m.