{
  "_id": "6a1ff8dab401979e73443f10",
  "Package": "actigraph.sleepr",
  "Type": "Package",
  "Title": "Detect Periods of Sleep and Non-Wear in 'ActiGraph' Data",
  "Version": "0.3.1",
  "Authors@R": "c(person(given = \"Desislava\",\nfamily = \"Petkova\",\nemail = \"desislavka@gmail.com\",\nrole = c(\"aut\", \"cre\")\n),\nperson(given = \"John\",\nfamily = \"Muschelli\",\nrole = c(\"ctb\"))\n)",
  "Description": "Reads *.agd files exported from 'ActiGraph' devices;\nimplements the Troiano (2008)\n<doi:10.1249/mss.0b013e31815a51b3> and Choi (2011)\n<doi:10.1249/MSS.0b013e3181ed61a3> algorithms for detecting\nperiods on non-wear; implements the Sadeh (1994)\n<doi:10.1093/sleep/17.3.201> and Cole-Kripke (1992)\n<doi:10.1093/sleep/15.5.461> algorithms for detecting\nasleep/awake state and the Tudor-Locke (2014)\n<doi:10.1139/apnm-2013-0173> algorithm to detect sleep periods\nfrom asleep/awake states.",
  "URL": "https://github.com/dipetkov/actigraph.sleepr",
  "BugReports": "https://github.com/dipetkov/actigraph.sleepr/issues",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "8.0.0",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://dipetkov.r-universe.dev",
  "Date/Publication": "2026-05-29 12:06:40 UTC",
  "RemoteUrl": "https://github.com/dipetkov/actigraph.sleepr",
  "RemoteRef": "HEAD",
  "RemoteSha": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-03 09:41:40 UTC",
    "User": "root"
  },
  "Author": "Desislava Petkova [aut, cre],\nJohn Muschelli [ctb]",
  "Maintainer": "Desislava Petkova <desislavka@gmail.com>",
  "MD5sum": "5065bb48e7a30b6b8f3248debc896a13",
  "_user": "dipetkov",
  "_type": "src",
  "_file": "actigraph.sleepr_0.3.1.tar.gz",
  "_fileid": "726292f50a4dfedd348a337f748f2aa43f118088c38f54cfc04461cd070128f1",
  "_filesize": 926688,
  "_sha256": "726292f50a4dfedd348a337f748f2aa43f118088c38f54cfc04461cd070128f1",
  "_created": "2026-06-03T09:41:40.000Z",
  "_published": "2026-06-03T09:50:18.684Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79265674168,
      "time": 158,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381099922"
    },
    {
      "job": 79265674243,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381099372"
    },
    {
      "job": 79265674400,
      "time": 149,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381096337"
    },
    {
      "job": 79265674286,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381102237"
    },
    {
      "job": 79265674186,
      "time": 211,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381107057"
    },
    {
      "job": 79265674265,
      "time": 465,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381203444"
    },
    {
      "job": 79265674221,
      "time": 145,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381086515"
    },
    {
      "job": 79265674188,
      "time": 258,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381127292"
    },
    {
      "job": 79264944381,
      "time": 237,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381037550"
    },
    {
      "job": 79265674272,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381085567"
    },
    {
      "job": 79265674258,
      "time": 134,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7381089607"
    },
    {
      "job": 79265674162,
      "time": 151,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7381096094"
    },
    {
      "job": 79265674180,
      "time": 138,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7381090681"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dipetkov/actigraph.sleepr",
  "_commit": {
    "id": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
    "author": "Desislava Petkova <desislavka@gmail.com>",
    "committer": "Desislava Petkova <desislavka@gmail.com>",
    "message": "chore: fixes too minor to change version\n",
    "time": 1780056400
  },
  "_maintainer": {
    "name": "Desislava Petkova",
    "email": "desislavka@gmail.com",
    "login": "dipetkov",
    "description": "",
    "uuid": 7155849
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.4",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "RcppRoll",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.1",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.1.1",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    }
  ],
  "_owner": "dipetkov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-21",
      "n": 5
    },
    {
      "week": "2026-22",
      "n": 5
    }
  ],
  "_tags": [],
  "_stars": 36,
  "_contributors": [
    {
      "user": "dipetkov",
      "count": 76,
      "uuid": 7155849
    },
    {
      "user": "muschellij2",
      "count": 14,
      "uuid": 1075118
    }
  ],
  "_userbio": {
    "uuid": 7155849,
    "type": "user",
    "name": "Desislava Petkova"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/actigraph.sleepr"
  },
  "_devurl": "https://github.com/dipetkov/actigraph.sleepr",
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/actigraph.sleepr.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/dipetkov/actigraph.sleepr",
  "_realowner": "dipetkov",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2026-06-02"
    }
  ],
  "_exports": [
    "%>%",
    "apply_choi",
    "apply_cole_kripke",
    "apply_sadeh",
    "apply_troiano",
    "apply_tudor_locke",
    "collapse_epochs",
    "combine_epochs_periods",
    "complement_periods",
    "expand_periods",
    "expand_timestamp",
    "get_epoch_length",
    "has_missing_epochs",
    "impute_epochs",
    "plot_activity",
    "plot_activity_period",
    "read_agd",
    "read_agd_raw",
    "tbl_agd"
  ],
  "_datasets": [
    {
      "name": "gtxplus1day",
      "title": "GT3X+ sample data",
      "object": "gtxplus1day",
      "class": [
        "tbl_agd",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "timestamp",
        "axis1",
        "axis2",
        "axis3"
      ],
      "rows": 8999,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "actigraph.sleepr",
      "title": "actigraph.sleepr",
      "topics": [
        "actigraph.sleepr-package",
        "actigraph.sleepr"
      ]
    },
    {
      "page": "apply_choi",
      "title": "Apply the Choi algorithm",
      "topics": [
        "apply_choi"
      ]
    },
    {
      "page": "apply_cole_kripke",
      "title": "Apply the Cole-Kripke algorithm",
      "topics": [
        "apply_cole_kripke"
      ]
    },
    {
      "page": "apply_sadeh",
      "title": "Apply the Sadeh algorithm",
      "topics": [
        "apply_sadeh"
      ]
    },
    {
      "page": "apply_troiano",
      "title": "Apply the Troiano algorithm",
      "topics": [
        "apply_troiano"
      ]
    },
    {
      "page": "apply_tudor_locke",
      "title": "Apply the Tudor-Locke algorithm",
      "topics": [
        "apply_tudor_locke"
      ]
    },
    {
      "page": "collapse_epochs",
      "title": "Re-integrate epochs",
      "topics": [
        "collapse_epochs"
      ]
    },
    {
      "page": "combine_epochs_periods",
      "title": "Combine epochs with sleep/nonwear periods",
      "topics": [
        "combine_epochs_periods"
      ]
    },
    {
      "page": "complement_periods",
      "title": "Find the complement of time periods",
      "topics": [
        "complement_periods"
      ]
    },
    {
      "page": "expand_periods",
      "title": "Expand time periods into a 'tibble' of equally spaced time points",
      "topics": [
        "expand_periods"
      ]
    },
    {
      "page": "expand_timestamp",
      "title": "Expand a time period into a vector of equally spaced time points",
      "topics": [
        "expand_timestamp"
      ]
    },
    {
      "page": "get_epoch_length",
      "title": "Guess the epoch length (in seconds) from the timestamp column",
      "topics": [
        "get_epoch_length"
      ]
    },
    {
      "page": "gtxplus1day",
      "title": "GT3X+ sample data",
      "topics": [
        "gtxplus1day"
      ]
    },
    {
      "page": "has_missing_epochs",
      "title": "Checks whether there are gaps in the time series",
      "topics": [
        "has_missing_epochs"
      ]
    },
    {
      "page": "impute_epochs",
      "title": "Impute missing count values",
      "topics": [
        "impute_epochs"
      ]
    },
    {
      "page": "plot_activity",
      "title": "Plot activity values",
      "topics": [
        "plot_activity"
      ]
    },
    {
      "page": "plot_activity_period",
      "title": "Plot activity and periods",
      "topics": [
        "plot_activity_period"
      ]
    },
    {
      "page": "read_agd",
      "title": "Read activity counts from an *.agd file",
      "topics": [
        "read_agd"
      ]
    },
    {
      "page": "read_agd_raw",
      "title": "Read an *.agd file, with no post-processing",
      "topics": [
        "read_agd_raw"
      ]
    },
    {
      "page": "tbl_agd",
      "title": "A 'tibble' of activity data exported by an ActiGraph device",
      "topics": [
        "tbl_agd"
      ]
    }
  ],
  "_readme": "https://github.com/dipetkov/actigraph.sleepr/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "bit",
    "bit64",
    "blob",
    "cachem",
    "cli",
    "cpp11",
    "DBI",
    "dplyr",
    "farver",
    "fastmap",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppRoll",
    "rlang",
    "RSQLite",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "detect-nonwear.Rmd",
      "filename": "detect-nonwear.html",
      "title": "Non-wear detection from ActiGraph data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Non-wear detection with the Troiano algorithm",
        "Non-wear detection with the Choi algorithm",
        "References"
      ],
      "created": "2016-12-22 20:07:34",
      "modified": "2026-05-26 21:26:24",
      "commits": 11
    },
    {
      "source": "detect-sleep.Rmd",
      "filename": "detect-sleep.html",
      "title": "Sleep detection from ActiGraph data",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Read AGD file(s)",
        "Reintegrate from 10s to 60s epochs",
        "Process a batch of AGD files",
        "Apply the Sadeh algorithm",
        "Apply the Cole-Kripke algorithm",
        "Apply the Tudor-Locke algorithm",
        "References"
      ],
      "created": "2016-12-22 20:07:34",
      "modified": "2026-05-17 12:14:29",
      "commits": 16
    }
  ],
  "_score": 6.033423755486949,
  "_indexed": true,
  "_nocasepkg": "actigraph.sleepr",
  "_universes": [
    "dipetkov"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "c9f92da4eb15c7d5c04bf807054452aa89f5acc9b461355a56077357064c6e3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:07.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "652afdbdbb20e4db21694cfa97979befd548592262fd5f63ce87b24f388ea211",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:05.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "1aa49eb6088a1e185067ff579b10f885048d3612295895a0c0ce65fd4d67551e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "a24dc21078440d728d298871f305eae027c3729f386eeff04fb423990a503030",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:20.000Z",
      "arch": "aarch64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "746665b6e0918be064020f55afd912147fec55ca8521ac2421a37420effed773",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-03T09:47:48.000Z",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "5dfc53010c8957693940836d2b58a0e4fd0596457860ae185368e0d9e5de0460",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-03T09:43:45.000Z",
      "arch": "aarch64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "7a45a58906e73566e0f070b63d494defa937de33bf11d410b7ae5e97c205302b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-06-03T09:45:03.000Z",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "178b9618261e35ea433896ac4c50bd06b4b03132303fff45978223fa74596ab1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-06-03T09:44:09.000Z",
      "arch": "emscripten",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "5c1736d2c6a2699569c1b76933cea6d769b0cf774404826efca7da1c2f2aeaa6",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-03T09:43:17.000Z",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "a6de10ab2afb3f695f8e5fae7e6af82717a4dce48034f3f31b38c889e5170fa3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-03T09:43:20.000Z",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "73a1d75da90c20ea7d28f1c4352852593a9291566b92f13f5f5341338b4887db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-06-03T09:43:16.000Z",
      "arch": "x86_64",
      "commit": "dcbfa3890f9bbfece87f97193f5caac7b88c9ed9",
      "fileid": "1c4f9df14514ad29026ddca9c58fc8d17cfa6c84a3d1a387b49ee9914f1824cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dipetkov/actions/runs/26876453164"
    }
  ]
}