Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle dates in R environment #30

Closed
amattioc opened this issue Jan 28, 2021 · 0 comments
Closed

Handle dates in R environment #30

amattioc opened this issue Jan 28, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@amattioc
Copy link
Collaborator

Currently date and time_period objects are not managed by the R environment. We should consider adding support for dates at least for dates:

  • from R to VTL: date classes in datatset components shoud be marshalled into VTL dates (YYYY-MM-DD) (this could be a bit tricky as JRI seems not to support dates natively, but it should be feasible anyway). Only date classes will be supported, so it will be up to the user to perform conversins before entering VTL.

  • from VTL to R: currently dates and time_period is cast to string because even jdx does not support dates. It should be possible to format everything to a standard R date format (YYYY-MM-DD) and set a flag somewhere that implies recasting once in R (as.Date should be sufficient). An example of flag could be an attribute (e.g. date_columns) that lists all the date components

@amattioc amattioc added the enhancement New feature or request label Jan 28, 2021
@amattioc amattioc self-assigned this Feb 25, 2021
@amattioc amattioc added this to the 1.0.7 milestone Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant