search for: ordinal_ind

Displaying 1 result from an estimated 1 matches for "ordinal_ind".

2016 Aug 31
0
New strptime conversion specification for ordinal suffixes
...o be found in the raw data wild? My suggestion would be %o for ordinal suffixes. These would obviously be locale-specific, but in English, %o would match to: - st - nd - rd - th - st - nd - rd - th Other languages may be covered by this <https://en.wikipedia.org/wiki/Ordinal_indicator> and/or this <https://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts> Wikipedia page on ordinal superscripts & Unicode superscripts, respectively. With this implemented, converting ord_dates to a Date or POSIXct would be as simple as: as.Date(ord_dates, format = &quo...