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 April 25, 2024, 8:27 a.m.