Title: | An R interface for the DBpedia Databus |
---|---|
Description: | Provides tools for uploading, downloading, and annotating data to the DBpedia Databus. |
Authors: | Anastasis Giannousakis [aut, cre] |
Maintainer: | Anastasis Giannousakis <[email protected]> |
License: | BSD_2_clause + file LICENSE |
Version: | 0.3.0 |
Built: | 2024-11-29 04:23:24 UTC |
Source: | https://github.com/pik-piam/r2databus |
Provides tools for uploading, downloading, and annotating data to the DBpedia Databus.
Maintainer: Anastasis Giannousakis [email protected]
Publishes a dataset on the Databus (energy.databus.dbpedia.org)
databusUpload(myKey = NULL, myData = NULL)
databusUpload(myKey = NULL, myData = NULL)
myKey |
a personal and secret API key (can be found or generated under https://energy.databus.dbpedia.org/user#settings) |
myData |
a list or a path to a JSON file with the dataset's metadata (if missing, defaults from the package's inst folder will be taken) |
Anastasis Giannousakis
## Not run: databusUpload(myKey = "a-s3cret-k3y", myData = NULL) ## End(Not run)
## Not run: databusUpload(myKey = "a-s3cret-k3y", myData = NULL) ## End(Not run)
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)
toolDatabusDownload( artifact, subtype = NULL, databusURL = "https://energy.databus.dbpedia.org" )
toolDatabusDownload( artifact, subtype = NULL, databusURL = "https://energy.databus.dbpedia.org" )
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 |
a list with the metadata associated with the dataset (file)
Anastasis Giannousakis
## 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)
## 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)