From 9a44c7fd1e707185ef3f2c7610d086e8902eb533 Mon Sep 17 00:00:00 2001 From: antaldaniel Date: Tue, 17 Dec 2024 13:13:03 +0100 Subject: [PATCH] URL corrections --- DESCRIPTION | 2 +- R/datacite.R | 2 +- R/dublincore.R | 1 + man/datacite.Rd | 2 +- vignettes/new_requirements.Rmd | 4 ++-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index b52640c..bb95bac 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,7 +21,7 @@ Description: The aim of the 'dataset' package is to make tidy datasets easier to License: GPL (>= 3) Encoding: UTF-8 URL: https://dataset.dataobservatory.eu/ -BugReports: https://github.com/dataset/dataset/issues +BugReports: https://github.com/dataobservatory/dataset/issues Roxygen: list(markdown = TRUE) LazyData: true Imports: diff --git a/R/datacite.R b/R/datacite.R index aeea7fc..2671d58 100644 --- a/R/datacite.R +++ b/R/datacite.R @@ -83,7 +83,7 @@ #' Geolocation = "US", #' Language = "en") #' -#' as_datacite(iris_dataset, type="dataset") +#' as_datacite(iris_dataset) #' @export datacite <- function(Title, diff --git a/R/dublincore.R b/R/dublincore.R index a55baae..00f1679 100644 --- a/R/dublincore.R +++ b/R/dublincore.R @@ -102,6 +102,7 @@ #' The species are Iris setosa, versicolor, and virginica." #' ) + dublincore <- function( title, creator, diff --git a/man/datacite.Rd b/man/datacite.Rd index 774faa1..926f5b5 100644 --- a/man/datacite.Rd +++ b/man/datacite.Rd @@ -146,7 +146,7 @@ datacite( Geolocation = "US", Language = "en") -as_datacite(iris_dataset, type="dataset") +as_datacite(iris_dataset) } \seealso{ Other metadata functions: diff --git a/vignettes/new_requirements.Rmd b/vignettes/new_requirements.Rmd index 4fe534b..0254b8f 100644 --- a/vignettes/new_requirements.Rmd +++ b/vignettes/new_requirements.Rmd @@ -37,7 +37,7 @@ Another important lesson was that the first version of the dataset package wante ## New requirement settings -The new dataset package would be streamlined to provide a tidier version of the [tidy data definition](https://cran.r-project.org/web/packages/tidyr/vignettes/tidy-data.html). "Tidy datasets provide a standardised way to link the structure of a dataset (its physical layout) with its semantics (its meaning)." The aim of the dataset package is to improve the semantic infrastructure of tidy datasets beyond the current capabilities of the tidyverse packages, relaxing the exclusive use of the semantic definitions of the SDMX statistical metadata standards. +The new dataset package would be streamlined to provide a tidier version of the [tidy data definition](https://cran.r-project.org/package=tidyr/vignettes/tidy-data.html). "Tidy datasets provide a standardised way to link the structure of a dataset (its physical layout) with its semantics (its meaning)." The aim of the dataset package is to improve the semantic infrastructure of tidy datasets beyond the current capabilities of the tidyverse packages, relaxing the exclusive use of the semantic definitions of the SDMX statistical metadata standards. The dataset package and its dependencies (or, more specifically, new extensions) will only work with tidy datasets. In the context of tidy data, "A dataset is a collection of values, usually either numbers (if quantitative) or strings (if qualitative). Values are organised in two ways. Every value belongs to a variable and an observation." @@ -141,7 +141,7 @@ To demonstrate the long-term ambition, we want to develop the following function The [Wikibase Data Model](https://www.mediawiki.org/wiki/Wikibase/DataModel) is a relatively simple and flexible data model. It works with concepts and properties as relationships among concepts. A tidy dataset that applies the _Wikibase Data Model_ can be described (using the definitions of Wikidata, the world's largest public database created with Wikibase) the following: -The key column defines the data subject or statistical unit with a QID identifier. This identifier is denoted with a capital Q followed by an integer number. The QID is unique in one instance of a Wikibase database. The full identifier contains the URL of this database and the QID. For example, unambiguously defines the small country of Andorra in many natural languages, and with the connection of various actionable, persistent identifiers. (Check out on the linked page for example: _sovereign microstate between France and Spain, in Western Europe_, or or ) +The key column defines the data subject or statistical unit with a QID identifier. This identifier is denoted with a capital Q followed by an integer number. The QID is unique in one instance of a Wikibase database. The full identifier contains the URL of this database and the QID. For example, unambiguously defines the small country of Andorra in many natural languages, and with the connection of various actionable, persistent identifiers. (Check out on the linked page for example: _sovereign microstate between France and Spain, in Western Europe_, or or `https://isni.org/isni/000000012150090X/`. ```{r installwbdataset, eval=FALSE} # install.packages("devtools")