Learn R Programming

datapackage (version 0.2.0)

dp_to_string: 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(), ...)

Value

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

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.