dp_to_integer: Convert a vector to 'integer' using the specified field...

View source: R/field_integer.R

dp_to_integerR Documentation

Convert a vector to 'integer' using the specified field descriptor

Description

Convert a vector to 'integer' using the specified field descriptor

Usage

dp_to_integer(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 integer vector with fielddescriptor added as the 'fielddescriptor' attribute.


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