nullify: Converts all values specified in the CLDF metadata as 'null'...

View source: R/nullify.R

nullifyR Documentation

Converts all values specified in the CLDF metadata as null to R's NA.

Description

Note that this is run by default on loading a dataset with cldf()

Usage

nullify(cldfobj, nulls = NULL)

Arguments

cldfobj

a CLDF Object

nulls

a dataframe of null values to replace (default=NULL).

Value

A cldf object

Examples

cldfobj <- cldf(system.file("extdata/huon", "cldf-metadata.json", package = "rcldf"))
cldfobj <- nullify(cldfobj)

SimonGreenhill/rcldf documentation built on Dec. 7, 2024, 7:33 p.m.