{
  "_id": "6a456d486ff6f2357552b0b3",
  "Package": "messydates",
  "Title": "A Flexible Class for Messy Dates",
  "Description": "Contains a set of tools for constructing and coercing into\nand from the \"mdate\" class. This date class implements ISO\n8601-2:2019(E) and allows regular dates to be annotated to\nexpress unspecified date components, approximate or uncertain\ndate components, date ranges, and sets of dates. This is useful\nfor describing and analysing temporal information, whether\nhistorical or recent, where date precision may vary.",
  "Version": "0.5.4",
  "Date": "2025-06-02",
  "Authors@R": "c(person(given = \"James\",\nfamily = \"Hollway\",\nrole = c(\"cre\", \"aut\", \"ctb\"),\nemail = \"james.hollway@graduateinstitute.ch\",\ncomment = c(\"IHEID\", ORCID = \"0000-0002-8361-9647\")),\nperson(given = \"Henrique\",\nfamily = \"Sposito\",\nrole = \"ctb\",\ncomment = c(\"IHEID\", ORCID = \"0000-0003-3420-6085\")),\nperson(given = \"Jael\",\nfamily = \"Tan\",\nrole = \"ctb\",\ncomment = c(\"IHEID\", ORCID = \"0000-0002-6234-9764\")),\nperson(given = \"Nathan\",\nfamily = \"Werth\",\nrole = \"ctb\"))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "LazyData": "true",
  "URL": "https://globalgov.github.io/messydates/",
  "BugReports": "https://github.com/globalgov/messydates/issues",
  "Config/Needs/build": "roxygen2, devtools",
  "Config/Needs/check": "covr, lintr, spelling",
  "Config/Needs/website": "pkgdown",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "logical-operators",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://globalgov.r-universe.dev",
  "Date/Publication": "2025-06-02 13:40:04 UTC",
  "RemoteUrl": "https://github.com/globalgov/messydates",
  "RemoteRef": "HEAD",
  "RemoteSha": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-01 19:37:03 UTC",
    "User": "root"
  },
  "Author": "James Hollway [cre, aut, ctb] (IHEID, ORCID:\n<https://orcid.org/0000-0002-8361-9647>),\nHenrique Sposito [ctb] (IHEID, ORCID:\n<https://orcid.org/0000-0003-3420-6085>),\nJael Tan [ctb] (IHEID, ORCID: <https://orcid.org/0000-0002-6234-9764>),\nNathan Werth [ctb]",
  "Maintainer": "James Hollway <james.hollway@graduateinstitute.ch>",
  "MD5sum": "5d34388ace8b467e091bcc12d3c8e31e",
  "_user": "globalgov",
  "_type": "src",
  "_file": "messydates_0.5.4.tar.gz",
  "_fileid": "b14fe438ea6a3f3d8d047359be2348870327cc3599e3ed64bad800679877e7e4",
  "_filesize": 4694580,
  "_sha256": "b14fe438ea6a3f3d8d047359be2348870327cc3599e3ed64bad800679877e7e4",
  "_created": "2026-07-01T19:37:03.000Z",
  "_published": "2026-07-01T19:40:56.180Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 84621032321,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8020723825"
    },
    {
      "job": 84621032296,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8020709834"
    },
    {
      "job": 84621032297,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8020692458"
    },
    {
      "job": 84621032278,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8020688357"
    },
    {
      "job": 84620407252,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8020648037"
    },
    {
      "job": 84621032206,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8020690622"
    },
    {
      "job": 84621032309,
      "time": 97,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8020686395"
    },
    {
      "job": 84621032275,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8020683023"
    },
    {
      "job": 84621032287,
      "time": 83,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8020681393"
    }
  ],
  "_buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/globalgov/messydates",
  "_commit": {
    "id": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
    "author": "James Hollway <james.hollway@graduateinstitute.ch>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #91 from globalgov/develop\n\nv0.5.4",
    "time": 1748871604
  },
  "_maintainer": {
    "name": "James Hollway",
    "email": "james.hollway@graduateinstitute.ch",
    "login": "jhollway",
    "linkedin": "in/jhollway",
    "orcid": "0000-0002-8361-9647",
    "description": "Professor of International Relations/Political Science\nand Co-Director of the Global Governance Centre",
    "uuid": 5595229
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "globalgov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "dates"
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "henriquesposito",
      "count": 575,
      "uuid": 69251755
    },
    {
      "user": "jhollway",
      "count": 185,
      "uuid": 5595229
    },
    {
      "user": "jaeltan",
      "count": 53,
      "uuid": 86478916
    },
    {
      "user": "werthpadoh",
      "count": 4,
      "uuid": 19596773
    },
    {
      "user": "estherpeev",
      "count": 2,
      "uuid": 74504941
    }
  ],
  "_userbio": {
    "uuid": 72271336,
    "type": "organization",
    "name": "Geneva Global Governance Observatory",
    "followers": 8,
    "description": "IHEID FNS/SNF CIES"
  },
  "_downloads": {
    "count": 366,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/messydates"
  },
  "_devurl": "https://github.com/globalgov/messydates",
  "_pkgdown": "https://globalgov.github.io/messydates/",
  "_searchresults": 12,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/messydates.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/globalgov/messydates",
  "_realowner": "globalgov",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2021-07-19"
    },
    {
      "version": "0.2.0",
      "date": "2021-11-12"
    },
    {
      "version": "0.2.1",
      "date": "2022-02-23"
    },
    {
      "version": "0.3.0",
      "date": "2022-06-02"
    },
    {
      "version": "0.3.1",
      "date": "2022-07-21"
    },
    {
      "version": "0.3.3",
      "date": "2022-12-21"
    },
    {
      "version": "0.3.5",
      "date": "2023-01-20"
    },
    {
      "version": "0.4.1",
      "date": "2024-04-19"
    },
    {
      "version": "0.5.2",
      "date": "2025-03-07"
    },
    {
      "version": "0.5.3",
      "date": "2025-03-22"
    },
    {
      "version": "0.5.4",
      "date": "2025-06-02"
    }
  ],
  "_exports": [
    "%><%",
    "%>=<%",
    "%g%",
    "%ge%",
    "%intersect%",
    "%l%",
    "%le%",
    "%union%",
    "as_approximate",
    "as_messydate",
    "as_uncertain",
    "contract",
    "day",
    "expand",
    "is_approximate",
    "is_bce",
    "is_element",
    "is_intersecting",
    "is_messydate",
    "is_precise",
    "is_similar",
    "is_subset",
    "is_uncertain",
    "make_messydate",
    "md_intersect",
    "md_multiset",
    "md_union",
    "mdate",
    "messyduration",
    "modal",
    "month",
    "new_messydate",
    "new_messyduration",
    "on_or_after",
    "on_or_before",
    "precision",
    "random",
    "validate_messydate",
    "validate_messyduration",
    "vmax",
    "vmean",
    "vmedian",
    "vmin",
    "vmodal",
    "vrandom",
    "year"
  ],
  "_datasets": [
    {
      "name": "battles",
      "title": "Dates of battles in 2001",
      "object": "battles",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Battle",
        "Date",
        "Parties",
        "US_party",
        "N_actors"
      ],
      "rows": 20,
      "table": true,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "battles",
      "title": "Dates of battles in 2001",
      "topics": [
        "battles"
      ]
    },
    {
      "page": "class_create",
      "title": "A flexible date class for messy dates",
      "topics": [
        "class_create",
        "new_messydate",
        "validate_messydate"
      ]
    },
    {
      "page": "class_duration",
      "title": "A duration class for mdates",
      "topics": [
        "class_duration",
        "messyduration",
        "messyduration.character",
        "messyduration.mdate",
        "new_messyduration",
        "validate_messyduration"
      ]
    },
    {
      "page": "class_make",
      "title": "Composes 'mdate' from multiple variables",
      "topics": [
        "class_make",
        "make_messydate"
      ]
    },
    {
      "page": "coerce_extrema",
      "title": "Resolves messy dates into an extrema",
      "topics": [
        "coerce_extrema",
        "max.mdate",
        "min.mdate",
        "vmax",
        "vmax.mdate",
        "vmin",
        "vmin.mdate"
      ]
    },
    {
      "page": "coerce_from",
      "title": "Coercion from messy dates",
      "topics": [
        "as.Date.mdate",
        "as.POSIXct.mdate",
        "as.POSIXlt.mdate",
        "coerce_from"
      ]
    },
    {
      "page": "coerce_tendency",
      "title": "Resolves messy dates into a central tendency",
      "topics": [
        "coerce_tendency",
        "mean.mdate",
        "median.mdate",
        "modal",
        "modal.mdate",
        "random",
        "random.mdate",
        "vmean",
        "vmean.mdate",
        "vmedian",
        "vmedian.mdate",
        "vmodal",
        "vmodal.mdate",
        "vrandom",
        "vrandom.mdate"
      ]
    },
    {
      "page": "coerce_to",
      "title": "Coercion from regular date classes to mdate",
      "topics": [
        "as_messydate",
        "as_messydate.character",
        "as_messydate.Date",
        "as_messydate.list",
        "as_messydate.numeric",
        "as_messydate.POSIXct",
        "as_messydate.POSIXlt",
        "coerce_to",
        "mdate"
      ]
    },
    {
      "page": "component_annotate",
      "title": "Annotates dates as censored, uncertain, or approximate",
      "topics": [
        "as_approximate",
        "as_uncertain",
        "component_annotate",
        "on_or_after",
        "on_or_before"
      ]
    },
    {
      "page": "component_extract",
      "title": "Extracting components from messy dates",
      "topics": [
        "component_extract",
        "day",
        "month",
        "precision",
        "precision.mdate",
        "year"
      ]
    },
    {
      "page": "convert_contract",
      "title": "Contract lists of dates into messy dates",
      "topics": [
        "contract",
        "convert_contract"
      ]
    },
    {
      "page": "convert_expand",
      "title": "Expand messy dates to lists of dates",
      "topics": [
        "convert_expand",
        "expand"
      ]
    },
    {
      "page": "convert_sequence",
      "title": "Sequence method for messydates",
      "topics": [
        "convert_sequence",
        "seq.mdate"
      ]
    },
    {
      "page": "operate_arithmetic",
      "title": "Arithmetic operations for messydates",
      "topics": [
        "+.mdate",
        "-.mdate",
        "operate_arithmetic"
      ]
    },
    {
      "page": "operate_inequalities",
      "title": "Logical operations on messy dates",
      "topics": [
        "<.mdate",
        "<=.mdate",
        ">.mdate",
        ">=.mdate",
        "operate_inequalities"
      ]
    },
    {
      "page": "operate_proportional",
      "title": "Proportion of messy dates meeting logical test",
      "topics": [
        "%><%",
        "%><%.mdate",
        "%>=<%",
        "%>=<%.mdate",
        "%g%",
        "%g%.mdate",
        "%ge%",
        "%ge%.mdate",
        "%l%",
        "%l%.mdate",
        "%le%",
        "%le%.mdate",
        "operate_proportional"
      ]
    },
    {
      "page": "operate_set",
      "title": "Set operations for messy dates",
      "topics": [
        "%intersect%",
        "%intersect%.mdate",
        "%union%",
        "%union%.mdate",
        "operate_set"
      ]
    },
    {
      "page": "operate_statements",
      "title": "Logical statements on messy dates",
      "topics": [
        "is_approximate",
        "is_bce",
        "is_intersecting",
        "is_messydate",
        "is_precise",
        "is_similar",
        "is_subset",
        "is_uncertain",
        "operate_statements"
      ]
    }
  ],
  "_readme": "https://github.com/globalgov/messydates/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "tibble",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 4.584331224367531,
  "_indexed": true,
  "_nocasepkg": "messydates",
  "_universes": [
    "globalgov",
    "jhollway"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-07-01T19:40:08.000Z",
      "distro": "resolute",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "4fe13821eb2b64979d77da0f7253527e87038e36f5f137eaade23311f95b8a94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.5.4",
      "date": "2026-07-01T19:39:30.000Z",
      "distro": "resolute",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "b91d1355801b9ee9bb309b45b938dcdcae11eabe6137fd7ef1afc85382672385",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.4",
      "date": "2026-07-01T19:38:47.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "93e0bfe41bfd623df73a94f633a75f1b84cb6029b5d953a2c91ebb1ae8a56716",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.5.4",
      "date": "2026-07-01T19:38:40.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "7b00e0335a93e87ac8cb0cf903623f0769ca3d6574a98744c36db337ddb17124",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.4",
      "date": "2026-07-01T19:39:10.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "38580650cf59732c3ddc0699d077519ee54c221354867ad19f25729554d37f60",
      "status": "success",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-07-01T19:38:18.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "4881cb1fcadb087e6da6e9b51947ac41f822b132550b6e590aace265ba38301c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-07-01T19:38:13.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "9f5b3a691cd09e27d24d13a8dc27d76a20f9e55463214684fdd0f9152fb03562",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.5.4",
      "date": "2026-07-01T19:38:09.000Z",
      "commit": "851677d9a6bbb87be2a7fa373bdbb4e1dac45d50",
      "fileid": "22f4568fb518516cd043d4e0558ffb49b0df4100bf28991a155034f6211e2388",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/globalgov/actions/runs/28542733742"
    }
  ]
}