parttime icon indicating copy to clipboard operation
parttime copied to clipboard

Work-in-progress R package for handling partial datetimes

Results 8 parttime issues
Sort by recently updated
recently updated
newest added

I'm not sure how important the ISO week date parsing is but I'm observing what I suspect are bugs when the ISO week date "year" is different from the Gregorian...

bug

I think that it would be useful to be able to cast `Date` and `POSIXt` objects to parttime objects. My initial thought would be something like the following: ``` r...

enhancement
design (api)
change::minor

Not entirely sure if you should care about such years but I noticed while playing around that `{parttime}` doesn't always correctly parse/format ISO 8601 years less than zero or greater...

The formatting of dates where a component in the middle is missing is confusing. For example: ``` > as.parttime("2020---02", format = parse_cdisc_datetime) [1] "2020-00-02" ``` I would expect `"2020-NA-02" or...

change::patch

To provide a more familiar interface for creating difftimes, parttime should provide: ``` `-`(, ) -> ``` In all cases, a partial difftime should be the widest resulting range from...

change::minor

It is hard to find out which parsers are available. For example, `parse_cdisc_datetime()` is mentioned in the Changelog but not on the `as.parttime()` reference page. I would suggest to add...

change::patch

Use of namespaced `S3method(...)` entries in `NAMESPACE` is not allowed in older versions of R. This was added to interoperate with `lucidate`, adding entries such as: ``` S3method(lucidate::year,partial_time) ``` This...

change::minor

I have a data set in which there are several date columns, and I need to use one (should be complete) for my analysis. Where the dates are completely missing...

enhancement
good first issue
design (api)
change::patch