{
  "_id": "6a1d37ab1d7bb097a0a3da59",
  "Package": "cstidy",
  "Title": "Helpful Functions for Cleaning Surveillance Data",
  "Version": "2025.10.27",
  "Authors@R": "c(\nperson(c(\"Richard\",\"Aubrey\"), \"White\", email = \"hello@rwhite.no\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-6747-1726\")),\nperson(given = \"CSIDS\", role = c(\"cph\"))\n)",
  "Description": "Helpful functions for the cleaning and manipulation of\nsurveillance data, especially with regards to the creation and\nvalidation of panel data from individual level surveillance\ndata.",
  "License": "MIT + file LICENSE",
  "URL": "https://www.csids.no/cstidy/, https://github.com/csids/cstidy",
  "BugReports": "https://github.com/csids/cstidy/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-01 07:32:02 UTC",
    "User": "root"
  },
  "Author": "Richard Aubrey White [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6747-1726>), CSIDS [cph]",
  "Maintainer": "Richard Aubrey White <hello@rwhite.no>",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://raubreywhite.r-universe.dev",
  "Date/Publication": "2025-10-27 11:30:02 UTC",
  "RemoteUrl": "https://github.com/cran/cstidy",
  "RemoteRef": "HEAD",
  "RemoteSha": "dd6aeb49bd396531e712e3952f9129588b08dc69",
  "MD5sum": "50517f716843bdeb3f98d36e2c65c957",
  "_user": "raubreywhite",
  "_type": "src",
  "_file": "cstidy_2025.10.27.tar.gz",
  "_fileid": "0bfb1148f4e69031f843d840330fe21f6324412dc069cbb1d7fb2ce647248eba",
  "_filesize": 562577,
  "_sha256": "0bfb1148f4e69031f843d840330fe21f6324412dc069cbb1d7fb2ce647248eba",
  "_created": "2026-06-01T07:32:02.000Z",
  "_published": "2026-06-01T07:41:31.611Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78806128672,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325776187"
    },
    {
      "job": 78806128703,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325771961"
    },
    {
      "job": 78806128698,
      "time": 117,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325828357"
    },
    {
      "job": 78806128722,
      "time": 125,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325772609"
    },
    {
      "job": 78805698347,
      "time": 189,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325730018"
    },
    {
      "job": 78806128659,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325761640"
    },
    {
      "job": 78806128733,
      "time": 106,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7325760140"
    },
    {
      "job": 78806128689,
      "time": 108,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7325760706"
    },
    {
      "job": 78806128716,
      "time": 119,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7325763667"
    }
  ],
  "_buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/cstidy",
  "_commit": {
    "id": "dd6aeb49bd396531e712e3952f9129588b08dc69",
    "author": "Richard Aubrey White <hello@rwhite.no>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2025.10.27\n",
    "time": 1761564602
  },
  "_maintainer": {
    "name": "Richard Aubrey White",
    "email": "hello@rwhite.no",
    "login": "raubreywhite",
    "orcid": "0000-0002-6747-1726",
    "twitter": "@raubreywhite",
    "description": "Applied infectious diseases statistician. Head of @norsyss within @folkehelseinstituttet \n",
    "uuid": 1532091
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "csdata",
      "role": "Imports"
    },
    {
      "package": "cstime",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "glue",
      "role": "Suggests"
    },
    {
      "package": "gt",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-44",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "2025.10.27",
      "date": "2025-10-27"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "raubreywhite",
      "count": 2,
      "uuid": 1532091
    }
  ],
  "_userbio": {
    "uuid": 1532091,
    "type": "user",
    "name": "Richard Aubrey White",
    "description": "Applied infectious diseases statistician. Head of @norsyss within @folkehelseinstituttet "
  },
  "_downloads": {
    "count": 683,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cstidy"
  },
  "_devurl": "https://github.com/csids/cstidy",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cstidy.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "raubreywhite",
  "_cranurl": false,
  "_releases": [
    {
      "version": "2023.5.24",
      "date": "2023-05-24"
    },
    {
      "version": "2025.10.27",
      "date": "2025-10-27"
    }
  ],
  "_exports": [
    "%>%",
    "csfmt_rts_data_v1",
    "csfmt_rts_data_v2",
    "expand_time_to",
    "generate_test_data",
    "heal_time_csfmt_rts_data_v1",
    "heal_time_csfmt_rts_data_v2",
    "identify_data_structure",
    "remove_class_csfmt_rts_data",
    "set_csfmt_rts_data_v1",
    "set_csfmt_rts_data_v2",
    "unique_time_series"
  ],
  "_datasets": [
    {
      "name": "nor_covid19_cases_by_time_location_csfmt_rts_v1",
      "title": "Covid-19 data for PCR-confirmed cases in Norway (nation and county)",
      "object": "nor_covid19_cases_by_time_location_csfmt_rts_v1",
      "class": [
        "csfmt_rts_data_v1",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "granularity_time",
        "granularity_geo",
        "country_iso3",
        "location_code",
        "border",
        "age",
        "sex",
        "isoyear",
        "isoweek",
        "isoyearweek",
        "season",
        "seasonweek",
        "calyear",
        "calmonth",
        "calyearmonth",
        "date",
        "covid19_cases_testdate_n",
        "covid19_cases_testdate_pr100000"
      ],
      "rows": 11028,
      "table": true,
      "tojson": true
    },
    {
      "name": "nor_covid19_icu_and_hospitalization_csfmt_rts_v1",
      "title": "Norwegian Covid-19 data for ICU and hospitalization",
      "object": "nor_covid19_icu_and_hospitalization_csfmt_rts_v1",
      "class": [
        "csfmt_rts_data_v1",
        "data.table",
        "data.frame"
      ],
      "fields": [
        "granularity_time",
        "granularity_geo",
        "country_iso3",
        "location_code",
        "border",
        "age",
        "sex",
        "isoyear",
        "isoweek",
        "isoyearweek",
        "season",
        "seasonweek",
        "calyear",
        "calmonth",
        "calyearmonth",
        "date",
        "icu_with_positive_pcr_n",
        "hospitalization_with_covid19_as_primary_cause_n"
      ],
      "rows": 919,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "expand_time_to",
      "title": "Expand time to",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "expand_time_to"
      ]
    },
    {
      "page": "generate_test_data",
      "title": "Generate test data",
      "topics": [
        "generate_test_data"
      ]
    },
    {
      "page": "heal_time_csfmt_rts_data_v1",
      "title": "Provides corresponding healed times (deprecated)",
      "topics": [
        "heal_time_csfmt_rts_data_v1"
      ]
    },
    {
      "page": "heal_time_csfmt_rts_data_v2",
      "title": "Provides corresponding healed times",
      "topics": [
        "heal_time_csfmt_rts_data_v2"
      ]
    },
    {
      "page": "identify_data_structure",
      "title": "Hash the data structure of a dataset for a given column",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "identify_data_structure",
        "identify_data_structure.csfmt_rts_data_v2",
        "identify_data_structure.tbl_Microsoft SQL Server"
      ]
    },
    {
      "page": "nor_covid19_cases_by_time_location_csfmt_rts_v1",
      "title": "Covid-19 data for PCR-confirmed cases in Norway (nation and county)",
      "topics": [
        "nor_covid19_cases_by_time_location_csfmt_rts_v1"
      ]
    },
    {
      "page": "nor_covid19_icu_and_hospitalization_csfmt_rts_v1",
      "title": "Norwegian Covid-19 data for ICU and hospitalization",
      "topics": [
        "nor_covid19_icu_and_hospitalization_csfmt_rts_v1"
      ]
    },
    {
      "page": "remove_class_csfmt_rts_data",
      "title": "Remove class csfmt_rts_data_*",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "remove_class_csfmt_rts_data"
      ]
    },
    {
      "page": "set_csfmt_rts_data_v1",
      "title": "Convert data.table to csfmt_rts_data_v1 (deprecated)",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "csfmt_rts_data_v1",
        "set_csfmt_rts_data_v1"
      ]
    },
    {
      "page": "set_csfmt_rts_data_v2",
      "title": "Convert data.table to csfmt_rts_data_v2",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "csfmt_rts_data_v2",
        "set_csfmt_rts_data_v2"
      ]
    },
    {
      "page": "unique_time_series",
      "title": "Unique time series",
      "concept": [
        "csfmt_rts_data"
      ],
      "topics": [
        "unique_time_series"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/cstidy/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/cstidy/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "crayon",
    "csdata",
    "cstime",
    "data.table",
    "digest",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "benchmarks.Rmd",
      "filename": "benchmarks.html",
      "title": "Benchmarks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "set_csfmt_rts_data_v1"
      ],
      "created": "2023-05-24 06:40:02",
      "modified": "2025-10-27 11:30:02",
      "commits": 2
    },
    {
      "source": "csfmt_rts_data_v2.Rmd",
      "filename": "csfmt_rts_data_v2.html",
      "title": "Data format (csfmt_rts_data_v2)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "csfmt_rts_data_v2",
        "Style",
        "Ordering of variables",
        "Time",
        "Approved events",
        "Location",
        "Ages",
        "Sex",
        "Unified columns",
        "Smart assignment",
        "Context-specific columns",
        "Examples",
        "In action",
        "Expand time to",
        "Time series",
        "Summary",
        "Identifying data structure of one column",
        "Reference (Location)"
      ],
      "created": "2025-10-27 11:30:02",
      "modified": "2025-10-27 11:30:02",
      "commits": 1
    },
    {
      "source": "cstidy.Rmd",
      "filename": "cstidy.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "csfmt_rts_data_v2",
        "Smart assignment",
        "Summary",
        "Identifying data structure of one column"
      ],
      "created": "2023-05-24 06:40:02",
      "modified": "2025-10-27 11:30:02",
      "commits": 2
    }
  ],
  "_score": 3.6532125137753435,
  "_indexed": true,
  "_nocasepkg": "cstidy",
  "_universes": [
    "raubreywhite",
    "csids"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2025.10.27",
      "date": "2026-06-01T07:34:33.000Z",
      "distro": "noble",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "7541d75176f010cb0fc357676f93aff1d89e2059e0bc180a32b23a072b6bfdf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2025.10.27",
      "date": "2026-06-01T07:34:21.000Z",
      "distro": "noble",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "18c79394f87333e2cf5d85c87b979c8ade8fd401424988a9f3de76d42f1d87ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2025.10.27",
      "date": "2026-06-01T07:37:47.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "25dd54461e9e12703ce6b8e06522bd9652e03554bf49bc54d52f184833eee4f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2025.10.27",
      "date": "2026-06-01T07:34:28.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "c146522f4abd91abd4c5b47210d9c5ac1939ab12a467b5359abe864ebfaae312",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2025.10.27",
      "date": "2026-06-01T07:34:13.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "95cda664530a43c5ae11ba4444438db6ca2248d40f0607396bb6bf4895df35ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2025.10.27",
      "date": "2026-06-01T07:33:34.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "407295b88104541176f6dc56725e45cb808a3ebea1eeb1fdf278e233627afc9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2025.10.27",
      "date": "2026-06-01T07:33:34.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "6c10c2d6947c2341bd1f27165c9b756572018c4c61b51ee19c281b5b70bf62f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2025.10.27",
      "date": "2026-06-01T07:33:41.000Z",
      "commit": "dd6aeb49bd396531e712e3952f9129588b08dc69",
      "fileid": "58634f2575bc51f8aaafd62f6f98a8466f48aadd1277e245022ca25633e023ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/raubreywhite/actions/runs/26741270257"
    }
  ]
}