Package: dataset 0.4.0

Daniel Antal

dataset: Create Data Frames for Exchange and Reuse

The 'dataset' package helps create semantically rich, machine-readable, and interoperable datasets in R. It extends tidy data frames with metadata that preserves meaning, improves interoperability, and makes datasets easier to publish, exchange, and reuse in line with ISO and W3C standards.

Authors:Daniel Antal [aut, cre], Marcelo Perlin [rev], Anna Márta Mester [rev], Mauro Lepore [rev]

dataset_0.4.0.tar.gz
dataset_0.4.0.zip(r-4.6)dataset_0.4.0.zip(r-4.5)dataset_0.4.0.zip(r-4.4)
dataset_0.4.0.tgz(r-4.5-any)dataset_0.4.0.tgz(r-4.4-any)
dataset_0.4.0.tar.gz(r-4.6-any)dataset_0.4.0.tar.gz(r-4.5-any)
dataset_0.4.0.tgz(r-4.5-emscripten)
dataset.pdf |dataset.html
dataset/json (API)
NEWS

# Install 'dataset' in R:
install.packages('dataset', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org'))

Reviews:rOpenSci Software Review #681

Bug tracker:https://github.com/ropensci/dataset/issues

Pkgdown site:https://dataset.dataobservatory.eu

Datasets:

On CRAN:

Conda:

datasetmetadata-management

9.05 score 18 stars 1 packages 108 scripts 10k downloads 80 exports 35 dependencies

Last updated from:3f8f51d9d8 (on main). Checks:10 OK. Indexed: no.

TargetResultTotal timeArtifact
linux-devel-x86_64OK160
pkgdown docsOK221
source / vignettesOK201
linux-release-x86_64OK171
macos-release-arm64OK86
macos-oldrel-arm64OK120
windows-develOK122
windows-releaseOK106
windows-oldrelOK109
wasm-releaseOK119

Exports:as_characteras_dataciteas_dataset_dfas_dublincoreas_factoras_numericbibrecordbind_defined_rowscontributorcontributor<-creatorcreator<-datacitedataset_dfdataset_formatdataset_format<-dataset_titledataset_title<-dataset_to_triplesdefineddescribedescriptiondescription<-dublincoregeolocationgeolocation<-get_bibentryget_namespace_attributeget_unit_attributeget_variable_conceptsget_variable_namespacesget_variable_unitsid_to_columnidentifieridentifier<-is_dataset_dfis.dataset_dfis.definedis.dublincoreis.relatedlabel_attributelanguagelanguage<-n_triplen_triplesnamespace_attributenamespace_attribute<-provenanceprovenance<-publication_yearpublication_year<-publisherpublisher<-related_createrelated_itemrelated_item<-relationrelation<-rightsrights<-set_bibentry<-set_namespace_attributeset_unit_attributestrip_definedsubjectsubject_createsubject<-unit_attributeunit_attribute<-var_conceptvar_concept<-var_labelvar_label<-var_labelsvar_labels<-var_namespacevar_namespace<-var_unitvar_unit<-xsd_convert

Dependencies:assertthatbitbit64clicliprcpp11crayondplyrforcatsgenericsgluehavenhmsISOcodeslabelledlifecyclemagrittrpillarpkgconfigprettyunitsprogresspurrrR6readrrlangstringistringrtibbletidyrtidyselecttzdbutf8vctrsvroomwithr

An Introduction to the dataset Package

Rendered fromintroduction.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-25
Started: 2025-07-23

dataset_df: Create Datasets that are Easy to Share Exchange and Extend

Rendered fromdataset_df.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-22
Started: 2024-12-16

defined: Semantically Enriched Vectors

Rendered fromdefined.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-25
Started: 2024-12-16

Design Principles & Future Work Semantically Enriched, Standards-Aligned Datasets in R

Rendered fromdesign.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-22
Started: 2025-08-05

Example Dataset Definitions

Rendered fromexample-dataset.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-25
Started: 2025-08-23

From R to RDF

Rendered fromrdf.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-25
Started: 2024-12-24

Modernising Citation Metadata in R: Introducing bibrecord

Rendered frombibrecord.Rmdusingknitr::rmarkdownon Aug 27 2025.

Last update: 2025-08-22
Started: 2025-05-22

Readme and manuals

Help Manual

Help pageTopics
Coerce a defined vector to characteras.character.haven_labelled_defined as_character as_character.haven_labelled_defined
Create a Bibentry Object with DataCite Metadata Fieldsas_datacite datacite is.datacite is.datacite.datacite print.datacite
Add or Retrieve Dublin Core Metadataas_dublincore dublincore is.dublincore print.dublincore
Coerce a defined vector to a factoras_factor
Coerce a defined vector to numericas.numeric.haven_labelled_defined as_numeric as_numeric.haven_labelled_defined
Create a Modern Metadata Object Compatible with bibentrybibrecord
Bind strictly defined rowsbind_defined_rows
Combine defined vectors with metadata checksc.haven_labelled_defined
Get or set contributorscontributor contributor<-
Get/set the Creator of the object.creator creator<-
Create a new 'dataset_df' objectas_dataset_df dataset_df is.dataset_df is_dataset_df print.dataset_df
Get or set the technical format of a datasetdataset_format dataset_format<-
Get or Set the Title of a Datasetdataset_title dataset_title<-
Dataset to triples (three columns or N-Triples)dataset_to_triples
Create a semantically well-defined, labelled vectordefined is.defined summary.haven_labelled_defined
Describe a dataset in N-Triples formatdescribe
Get or set the dataset Descriptiondescription description<-
A Small GDP Datasetgdp
Get or Set the Geolocation of a Dataset Objectgeolocation geolocation<-
Get or set the bibentryget_bibentry set_bibentry<-
Get concepts for all variables in a dataset_dfget_variable_concepts
Add Identifier to First Column of a Datasetid_to_column
Get or Set the Identifier of a Dataset or Metadata Recordidentifier identifier<-
Set the Primary Language of a Datasetlanguage language<-
Create an N-Triplen_triple
Create N-Triplesn_triples
Growth of Orange Treesorange_df
Get or update provenance informationprovenance provenance<-
Get or Set the Publication Year of a Dataset Objectpublication_year publication_year<-
Get or Set the Publisher of a Dataset Objectpublisher publisher<-
Add or retrieve related items (DataCite/Dublin Core)is.related related_create related_item related_item<- relation relation<-
Get or Set the Rights of a Dataset Objectrights rights<-
Strip the class from a defined vectorstrip_defined
Create, add, or retrieve a subjectis.subject subject subject<- subject_create
Get / set a concept definition for a vector or a datasetvar_concept var_concept<- var_concept<-.default
Get or Set a Variable Labellabel_attribute var_label var_label.dataset_df var_label.defined var_label<- var_label<-.haven_labelled_defined
Get or set all variable labels on a datasetvar_labels var_labels<-
Get or Set the Namespace of a Variableget_namespace_attribute get_variable_namespaces namespace_attribute namespace_attribute<- set_namespace_attribute var_namespace var_namespace<-
Get or Set a Unit of Measureget_unit_attribute get_variable_units set_unit_attribute unit_attribute unit_attribute<- var_unit var_unit<- var_unit<-.default
Cast defined vector to base numeric (double)vec_cast.double.haven_labelled_defined
Convert to XML Schema Definition (XSD) Typesxsd_convert xsd_convert.character xsd_convert.data.frame xsd_convert.dataset_df xsd_convert.Date xsd_convert.difftime xsd_convert.factor xsd_convert.haven_labelled_defined xsd_convert.integer xsd_convert.logical xsd_convert.numeric xsd_convert.POSIXct xsd_convert.tbl_df