dp_to_date {datapackage} | R Documentation |
Convert a vector to 'date' using the specified field descriptor
Description
Convert a vector to 'date' using the specified field descriptor
Usage
dp_to_date(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 Date
vector with fielddescriptor
added as the
'fielddescriptor' attribute.
[Package datapackage version 0.2.3 Index]