dataset0.4.1 package

Create Data Frames for Exchange and Reuse

description

Get or set the dataset Description

dublincore

Add or Retrieve Dublin Core Metadata

expand_triples

Internal: Expand multi-valued DC fields to RDF triples

fix_contributor

Format contributors into a citation string

describe

Describe a dataset in N-Triples format

as_factor

Coerce a defined vector to a factor

as.POSIXct.haven_labelled_defined

Coerce a defined POSIXct vector to a base R POSIXct

as_character

Coerce a defined vector to character

datacite

Create a Bibentry Object with DataCite Metadata Fields

as_logical

Coerce a defined vector to logical

as_numeric

Coerce a defined vector to numeric

as_tibble.dataset_df

Coerce a dataset_df to a tibble

as.data.frame.dataset_df

Convert a dataset_df to a base data.frame

as.Date.haven_labelled_defined

Coerce a defined Date vector to a base R Date

dataset_df

Create a new dataset_df object

bibrecord

Create a Modern Metadata Object Compatible with bibentry

bind_defined_rows

Bind strictly defined rows

c.haven_labelled_defined

Combine defined vectors with metadata checks

clean_person_name

Remove role suffixes from formatted person names

contributor

Get or set contributors

creator

Get/set the Creator of the object.

dataset_format

Get or set the technical format of a dataset

dataset_title

Get or Set the Title of a Dataset

dataset_to_triples

Dataset to triples (three columns or N-Triples)

default_provenance

Build default provenance bundle

defined

Create a semantically enriched vector with variable-level metadata

geolocation

Get or Set the Geolocation of a Dataset Object

get_bibentry

Get or set the bibentry

get_variable_concepts

Get concepts for all variables in a dataset_df

haven_labelled_defined

Semantic labelled vector class

id_to_column

Add Identifier to First Column of a Dataset

identifier

Get or Set the Identifier of a Dataset or Metadata Record

language

Set the Primary Language of a Dataset

map_role_to_schema

Map R person roles to schema.org-style roles

n_triple

Create an N-Triple

n_triples

Create N-Triples

print.haven_labelled_defined

Print a defined (haven_labelled_defined) vector

provenance

Get or update provenance information

publication_year

Get or Set the Publication Year of a Dataset Object

publisher

Get or Set the Publisher of a Dataset Object

relation

Add or retrieve related items (DataCite/Dublin Core)

rights

Get or Set the Rights of a Dataset Object

strip_defined

Strip the class from a defined vector

var_namespace

Get or Set the Namespace of a Variable

subject

Create, add, or retrieve a subject

triples_column_generate

Internal: Generate RDF triples for a single column

triples_to_ntriples

Internal: Convert triple data.frame to N-Triples format

var_concept

Get / set a concept definition for a vector or a dataset

var_label

Get or Set a Variable Label

var_labels

Get or set all variable labels on a dataset

var_unit

Get or Set a Unit of Measure

vec_cast_named

From haven

xsd_convert

Convert to XML Schema Definition (XSD) Types

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.

  • Maintainer: Daniel Antal
  • License: GPL (>= 3)
  • Last published: 2025-11-16