Package: dataset 0.4.1

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.1.tar.gz
dataset_0.4.1.zip(r-4.6)dataset_0.4.1.zip(r-4.5)dataset_0.4.1.zip(r-4.4)
dataset_0.4.1.tgz(r-4.5-any)dataset_0.4.1.tgz(r-4.4-any)
dataset_0.4.1.tar.gz(r-4.6-any)dataset_0.4.1.tar.gz(r-4.5-any)
dataset_0.4.1.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/docs site:https://docs.ropensci.org

Datasets:

On CRAN:

Conda:

datasetmetadata-management

9.38 score 20 stars 1 packages 113 scripts 1.8k downloads 83 exports 35 dependencies

Last updated from:e2d5463f54 (on main). Checks:10 OK. Indexed: yes.

TargetResultTotal timeArtifact
linux-devel-x86_64OK156
pkgdown docsOK189
source / vignettesOK227
linux-release-x86_64OK148
macos-release-arm64OK97
macos-oldrel-arm64OK101
windows-develOK103
windows-releaseOK108
windows-oldrelOK130
wasm-releaseOK128

Exports:as_characteras_dataciteas_dataset_dfas_dublincoreas_factoras_logicalas_numericas_tibbleas.tibble.dataset_dfbibrecordbind_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 Nov 16 2025.

Last update: 2025-11-15
Started: 2025-07-23

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

Rendered fromdataset_df.Rmdusingknitr::rmarkdownon Nov 16 2025.

Last update: 2025-11-15
Started: 2024-12-16

defined: Semantically Enriched Vectors

Rendered fromdefined.Rmdusingknitr::rmarkdownon Nov 16 2025.

Last update: 2025-11-15
Started: 2024-12-16

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

Rendered fromdesign.Rmdusingknitr::rmarkdownon Nov 16 2025.

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

Example Dataset Definitions

Rendered fromexample-dataset.Rmdusingknitr::rmarkdownon Nov 16 2025.

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

From R to RDF

Rendered fromrdf.Rmdusingknitr::rmarkdownon Nov 16 2025.

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

Modernising Citation Metadata in R: Introducing bibrecord

Rendered frombibrecord.Rmdusingknitr::rmarkdownon Nov 16 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 as_factor.haven_labelled_defined
Coerce a defined vector to logicalas_logical as_logical.haven_labelled_defined
Coerce a defined vector to numericas_numeric as_numeric.haven_labelled_defined
Coerce a 'dataset_df' to a tibbleas.tibble.dataset_df as_tibble as_tibble.dataset_df
Convert a 'dataset_df' to a base 'data.frame'as.data.frame.dataset_df
Coerce a defined Date vector to a base R Dateas.Date.haven_labelled_defined
Coerce a defined POSIXct vector to a base R POSIXctas.POSIXct.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 enriched vector with variable-level metadatadefined 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
Print a defined (haven_labelled_defined) vectorprint.haven_labelled_defined
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
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