{
  "_id": "6a1ff0d7b401979e73442272",
  "Package": "multipleITScontrol",
  "Type": "Package",
  "Title": "Interrupted Time Series with a Control and Multiple\nInterventions",
  "Version": "0.1.0",
  "Authors@R": "c(person(\"Victor\", \"Yu\", email = \"victor.yu@hertfordshire.gov.uk\", role = c(\"cre\",\"aut\")), person(\"Emily\", \"Dickson\", role = c(\"ctb\")))",
  "Description": "Provides tools to perform interrupted-time series through\na generalised least squares (GLS) framework on linear outcomes.\nAllows for multiple interventions and a control with ARMA\n(autoregressive and moving-average) correction. For more\ndetails see Lopez Bernal, Cummins, and Gasparrini (2017)\n<doi:10.1093/ije/dyw098>.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://herts-phei.github.io/multipleITScontrol/",
  "Config/pak/sysreqs": "make libicu-dev",
  "Repository": "https://herts-phei.r-universe.dev",
  "Date/Publication": "2026-03-31 11:29:56 UTC",
  "RemoteUrl": "https://github.com/herts-phei/multipleitscontrol",
  "RemoteRef": "HEAD",
  "RemoteSha": "6764a9c47d013c0322aa6db4e4b264d502e41617",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-03 09:11:38 UTC",
    "User": "root"
  },
  "Author": "Victor Yu [cre, aut],\nEmily Dickson [ctb]",
  "Maintainer": "Victor Yu <victor.yu@hertfordshire.gov.uk>",
  "MD5sum": "978706d5319b7442262328f4d72257fe",
  "_user": "herts-phei",
  "_type": "src",
  "_file": "multipleITScontrol_0.1.0.tar.gz",
  "_fileid": "b020672fa95c9b8e9a99e90bdd722eb5b2a466de850ed6287e73688d21c653f8",
  "_filesize": 2265123,
  "_sha256": "b020672fa95c9b8e9a99e90bdd722eb5b2a466de850ed6287e73688d21c653f8",
  "_created": "2026-06-03T09:11:38.000Z",
  "_published": "2026-06-03T09:16:07.365Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79260362253,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380443614"
    },
    {
      "job": 79260361889,
      "time": 184,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380439445"
    },
    {
      "job": 79260361995,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380429607"
    },
    {
      "job": 79260361819,
      "time": 222,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380437709"
    },
    {
      "job": 79259487503,
      "time": 302,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380373133"
    },
    {
      "job": 79260361909,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380424491"
    },
    {
      "job": 79260361798,
      "time": 142,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7380424192"
    },
    {
      "job": 79260361779,
      "time": 113,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7380414455"
    },
    {
      "job": 79260362090,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7380426843"
    }
  ],
  "_buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/herts-phei/multipleitscontrol",
  "_commit": {
    "id": "6764a9c47d013c0322aa6db4e4b264d502e41617",
    "author": "vyu <victor.yu@hertfordshire.gov.uk>",
    "committer": "vyu <victor.yu@hertfordshire.gov.uk>",
    "message": "sentence fix?\n",
    "time": 1774956596
  },
  "_maintainer": {
    "name": "Victor Yu",
    "email": "victor.yu@hertfordshire.gov.uk"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "AICcmodavg",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ggpubr",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "sjPlot",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    },
    {
      "package": "zoo",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "herts-phei",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-36",
      "n": 5
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 1
    },
    {
      "week": "2026-07",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 22
    },
    {
      "week": "2026-13",
      "n": 10
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "victor-gy-yu",
      "count": 14,
      "uuid": 45132576
    },
    {
      "user": "edickson1",
      "count": 2,
      "uuid": 114758220
    }
  ],
  "_userbio": {
    "uuid": 114400152,
    "type": "organization",
    "name": "herts-phei"
  },
  "_downloads": {
    "count": 444,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/multipleITScontrol"
  },
  "_devurl": "https://github.com/herts-phei/multipleitscontrol",
  "_pkgdown": "https://herts-phei.github.io/multipleITScontrol/",
  "_searchresults": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/multipleITScontrol.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/herts-phei/multipleitscontrol",
  "_realowner": "herts-phei",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-03"
    }
  ],
  "_exports": [
    "fit_its_model",
    "generate_predictions",
    "its_plot",
    "slope_difference",
    "summary_its",
    "transform_data"
  ],
  "_datasets": [
    {
      "name": "its_data_bike_programme",
      "title": "Dummy Bike Programme Data",
      "object": "its_data_bike_programme",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Date",
        "group_var",
        "Period",
        "score"
      ],
      "rows": 104,
      "table": true,
      "tojson": true
    },
    {
      "name": "its_data_gp",
      "title": "GP programme Data",
      "object": "its_data_gp",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Date",
        "group_var",
        "Period",
        "score"
      ],
      "rows": 104,
      "table": true,
      "tojson": true
    },
    {
      "name": "its_data_school",
      "title": "Dummy School Data",
      "object": "its_data_school",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Date",
        "group_var",
        "Period",
        "score"
      ],
      "rows": 156,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "fit_its_model",
      "title": "fit_its_model",
      "topics": [
        "fit_its_model"
      ]
    },
    {
      "page": "generate_predictions",
      "title": "Generate Predictions from a Transformed Dataset and a Model",
      "topics": [
        "generate_predictions"
      ]
    },
    {
      "page": "its_data_bike_programme",
      "title": "Dummy Bike Programme Data",
      "topics": [
        "its_data_bike_programme"
      ]
    },
    {
      "page": "its_data_gp",
      "title": "GP programme Data",
      "topics": [
        "its_data_gp"
      ]
    },
    {
      "page": "its_data_school",
      "title": "Dummy School Data",
      "topics": [
        "its_data_school"
      ]
    },
    {
      "page": "its_plot",
      "title": "its_plot",
      "topics": [
        "its_plot"
      ]
    },
    {
      "page": "slope_difference",
      "title": "slope_difference",
      "topics": [
        "slope_difference"
      ]
    },
    {
      "page": "summary_its",
      "title": "Summarize and Rename Coefficients for an ITS Model",
      "topics": [
        "summary_its"
      ]
    },
    {
      "page": "transform_data",
      "title": "transform_data",
      "topics": [
        "transform_data"
      ]
    }
  ],
  "_pkglogo": "https://github.com/herts-phei/multipleitscontrol/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/herts-phei/multipleitscontrol/raw/HEAD/README.md",
  "_rundeps": [
    "AICcmodavg",
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "nlme",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyselect",
    "TMB",
    "unmarked",
    "utf8",
    "vctrs",
    "VGAM",
    "viridisLite",
    "withr",
    "xtable"
  ],
  "_vignettes": [
    {
      "source": "ITScontrol_demonstration_level.Rmd",
      "filename": "ITScontrol_demonstration_level.html",
      "title": "Multiple ITS control introduction for level change (two-stage)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Intervention 1: Smart‑Lock Upgrade (Fleet‑wide)",
        "Intervention 2: Predictive Maintenance Algorithm",
        "Controlled Interrupted Time Series Design (2 stage)",
        "Step 1) Loading data",
        "Step 2) Transforming the data",
        "Step 3) Fitting ITS model",
        "Step 4) Analysing ITS model",
        "First intervention:",
        "Second intervention:",
        "Step 5) Fitting Predictions",
        "Step 6) Plotting the results"
      ],
      "created": "2026-03-07 17:49:15",
      "modified": "2026-03-20 14:38:17",
      "commits": 7
    },
    {
      "source": "ITScontrol_demonstration_slope.Rmd",
      "filename": "ITScontrol_demonstration_slope.html",
      "title": "Multiple ITS control introduction for slope change (two-stage)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Controlled Interrupted Time Series Design (2 stage)",
        "Step 1) Loading data",
        "Step 2) Transforming the data",
        "Step 3) Fitting ITS model",
        "Step 4) Analysing ITS model",
        "Pre-intervention period:",
        "First intervention:",
        "Second intervention:",
        "Step 5) Fitting Predictions",
        "Step 6) Plotting the results"
      ],
      "created": "2026-03-07 17:49:15",
      "modified": "2026-03-24 11:21:25",
      "commits": 7
    },
    {
      "source": "ITScontrol_demonstration_slope2.Rmd",
      "filename": "ITScontrol_demonstration_slope2.html",
      "title": "Multiple ITS control introduction for slope change 2nd example (two-stage)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Usage",
        "Controlled Interrupted Time Series Design (2 stage)",
        "Step 1) Loading data",
        "Step 2) Transforming the data",
        "Step 3) Fitting ITS model",
        "Step 4) Analysing ITS model",
        "Pre-intervention period:",
        "First intervention:",
        "Second intervention:",
        "Step 5) Fitting Predictions",
        "Step 6) Plotting the results"
      ],
      "created": "2026-03-19 11:28:00",
      "modified": "2026-03-24 11:44:28",
      "commits": 5
    }
  ],
  "_score": 5.1303337684950066,
  "_indexed": true,
  "_nocasepkg": "multipleitscontrol",
  "_universes": [
    "herts-phei"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T09:14:29.000Z",
      "distro": "noble",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "d43652e79d204ad054436cd941ef906df0bbc6c1679239d867e3d03aacc14837",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-03T09:14:16.000Z",
      "distro": "noble",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "b7133668be2c4fbc06247e30c5fd5964a0d47121ef147263bc73ab3b7a66400c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T09:14:07.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "48859f9476b4c44cb260d556c1214251fa8534018cbd1f171d3d4df4eef42ff0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-06-03T09:14:14.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "000cde0bb6d7b5c16e2f779ecbf816be799f098eee31ecfd83baa5abd3848881",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-03T09:14:21.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "dd052c826d03ab6610b5873b88790f9aef3b8f4d3c67f028a604fd3f4c6db4de",
      "status": "success",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T09:13:20.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "a7e5f78bd9acee892c4025a8fce6ec34112c57827e086b013087de665184b5d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T09:13:01.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "dab3c15946779b5b54b49ad3dac63fc21794cff491cbb2bb89df9b6adbebe6dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-06-03T09:13:31.000Z",
      "commit": "6764a9c47d013c0322aa6db4e4b264d502e41617",
      "fileid": "60fd6f031ed440744c5a473cef6accf4ab29db18637b7ef66190e0e08ba4d92e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/herts-phei/actions/runs/26874892227"
    }
  ]
}