{
  "_id": "6a1f2725b401979e734224b3",
  "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",
  "RoxygenNote": "8.0.0",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 18:51:54 UTC",
    "User": "root"
  },
  "Author": "Desislava Petkova [aut, cre], John Muschelli [ctb]",
  "Maintainer": "Desislava Petkova <desislavka@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-02 08:30:20 UTC",
  "RemoteUrl": "https://github.com/cran/actigraph.sleepr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
  "MD5sum": "f0c06c5f61df5642f0c1cf717e131dc0",
  "_user": "cran",
  "_type": "src",
  "_file": "actigraph.sleepr_0.3.1.tar.gz",
  "_fileid": "2ace477ffc95d70e53b9b454dbc76af4050168efe4255712c24fd7fcf1d88152",
  "_filesize": 926692,
  "_sha256": "2ace477ffc95d70e53b9b454dbc76af4050168efe4255712c24fd7fcf1d88152",
  "_created": "2026-06-02T18:51:54.000Z",
  "_published": "2026-06-02T18:55:33.524Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79148256121,
      "time": 148,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7367041164"
    },
    {
      "job": 79148256050,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7367045072"
    },
    {
      "job": 79148256044,
      "time": 151,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367042837"
    },
    {
      "job": 79148256057,
      "time": 176,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367049811"
    },
    {
      "job": 79147585429,
      "time": 216,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366984910"
    },
    {
      "job": 79148256032,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7367033967"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/actigraph.sleepr",
  "_commit": {
    "id": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
    "author": "Desislava Petkova <desislavka@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.1\n",
    "time": 1780389020
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-23",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.1",
      "date": "2026-06-02"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "dipetkov",
      "count": 1,
      "uuid": 7155849
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/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": "2026-06-02 08:30:20",
      "modified": "2026-06-02 08:30:20",
      "commits": 1
    },
    {
      "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": "2026-06-02 08:30:20",
      "modified": "2026-06-02 08:30:20",
      "commits": 1
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "actigraph.sleepr",
  "_universes": [
    "cran",
    "dipetkov"
  ],
  "_indexurl": "https://dipetkov.r-universe.dev/actigraph.sleepr",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T18:54:16.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
      "fileid": "cd07a91cba48a25912fb3d71f4c9094b7a525ecac397199701227f324635ddb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T18:54:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
      "fileid": "5d6c62f1d0d0353cc9d7b4371b22ac8753ded77204935251f98278099b90e2e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T18:54:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
      "fileid": "b68676193d610f645945f429303b8350322c07a657bb7b475cb0b740a82da98a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-06-02T18:54:28.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
      "fileid": "cd4d4816538d99f8954af202fd7979967c88e6e206770856551be77d77747278",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-06-02T18:54:28.000Z",
      "arch": "emscripten",
      "commit": "a953f3acc30e51f8a742b83e59c4d8d8d880d053",
      "fileid": "35b2a8c6c4adf9ac22bbfb61f39865dff0fe175ada91604dd926c6cd8234d864",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26840931612"
    }
  ]
}