toolDatabusDownload: Tool: DatabusDownload

View source: R/toolDatabusDownload.R

toolDatabusDownloadR Documentation

Tool: DatabusDownload

Description

This function downloads a dataset (file) and its metadata from the Energy Databus (https://energy.databus.dbpedia.org/) Data are organised in "artifacts" on the databus. An artifact contains one or more datasets (files)

Usage

toolDatabusDownload(
  artifact,
  subtype = NULL,
  databusURL = "https://energy.databus.dbpedia.org"
)

Arguments

artifact

the Databus page hosting the artifact (i.e. one or more datasets and their metadata)

subtype

the specific dataset (file) to download

databusURL

in case another databus hosts the data, e.g. https://databus.dbpedia.org

Value

a list with the metadata associated with the dataset (file)

Author(s)

Anastasis Giannousakis

Examples

## Not run: 
toolDatabusDownload("https://energy.databus.dbpedia.org/giannoupik/GROUPNAME/ARTIFACT/",
"https://energy.databus.dbpedia.org/giannoupik/GROUPNAME/ARTIFACT/YOURVERSION/
ARTIFACT_FOO=BAR_TYPE=SOMEDATATYPE.rdf")

## End(Not run)

giannou/r2databus documentation built on Nov. 15, 2022, 7:07 a.m.