NEWS.md
mdates_duration
class that introduces methods to annotate a duration or period with representations of its uncertainty<
, >
, <=
, >=
) (thanks @WerthPADOH)%l%
%le%
, %g%
, %ge%
, %><%
, %>=<%
)mdate()
for as_messydate()
%intersect%
and %union%
)is_element()
by is_subset()
for clarity and consistencymake_messydates()
function to also construct ranges of datesas_messydate()
function
contract()
function to ‘expand’ dates before ‘contracting’ themexpand()
function to handle, and properly convert, date objects that are not ‘mdate’as_messydate()
allowing users to choose component order of ambiguous datesas_messydate()
re-orders 6 digit date components if necessaryas_messydate()
to also extract dates from text stringsis_precise()
function that provides a logical test for precise datesmessydt
objects
add()
and subtract()
helper functions for arithmetic operationsexpand()
function
messydt
objects to Date
to manage negative dates
negative_dates()
helper function to coerce negative messydt
datescompact_negative_dates()
helper function to compact negative date rangesis.sequence()
as a helper function to check if dates are a rangeinterleave()
functionmake_messydate()
on_or_before()
on_or_after()
as_approximate()
as_uncertain()
(includes discrimination between month uncertainty and day and month uncertainty)as_messydate()
by adding zero padding for month, day or yearresequence()
to work consistently with messydate objectsexpand()
function to expand imprecise, unspecified, approximate, uncertain, and negative dates according to approximate ranges and added testsprecision()
to return the lengths of expanded datesmedian()
in resolve family of functions to work with changes to expand()
expand()
contract()
precision()
coerce_from_messydate()
as_messydate()
functionsexpand()
functionDESCRIPTION
fileR
folderLICENSE
fileNAMESPACE
fileNEWS
fileREADME
files.github
folder and filestests
folder and filesmessydt
class which follows the latest ISO 8601 (2019) standards
as_messydate()
function to coerce from date objects to messydate
as_messydate()
standardises date order, separators and ambiguityas.Date.messydt()
for coercing to date classas.POSIXct.messydt()
for coercing to POSIXct classas.POSIXlt.messydt()
for coercing to POSIXlt classexpand()
function for expanding ranged and uncertain datesmin.messydt()
to get minimum value from expanded rangemax.messydt()
to get maximum value from expanded rangemedian.messydt()
to get median value from expanded rangemean.messydt()
to get mean value from expanded rangemodal.messydt()
to get mode value from expanded rangecontract()
function for contracting expanded datesmake_messydate()
function to get messy dates from multiple columnsmd_intersect()
to find intersection of sets of messy datesmd_union()
to find union of sets of messy datesmd_multiset()
to join two sets of messy datesis_messydate()
to test for messydt classis_intersecting()
to test if dates intersectis_element()
to test for multiple elements in datesis_similar()
to test for similarities in datesàs_messydate()
functioncontract()
functionexpand()
functionmake_messydate()
function