dp_to_string: Convert a vector to 'string' using the specified...

View source: R/field_string.R

dp_to_stringR Documentation

Convert a vector to 'string' using the specified fielddescriptor

Description

Convert a vector to 'string' using the specified fielddescriptor

Usage

dp_to_string(x, fielddescriptor = list(), ...)

Arguments

x

the vector to convert.

fielddescriptor

the field descriptor for the field.

...

passed on to other methods.

Details

When fielddescriptor is missing a default field descriptor is generated.

Value

Will return an character vector with fielddescriptor added as the 'fielddescriptor' attribute.


djvanderlaan/datapackage documentation built on June 12, 2025, 2:44 a.m.