Skip to content

Support for date/datetime parsing functions #9

Description

@vruusmann

The PMML specification supports temporal data types:
http://dmg.org/pmml/v4-3/DataDictionary.html

It should be possible to parse strings into "proper" date/datetime objects using the base::strptime function, and then do basic arithmetic on them (eg. calculating deltas).

For example, it should be possible to do something like that:

as.formula("y ~ I(strptime(x1) - strptime(x2))")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions