{
  "_id": "6a1034cfacfb0bcc41c9980a",
  "Package": "CircaCP",
  "Type": "Package",
  "Title": "Sleep and Circadian Metrics Estimation from Actigraphy Data",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(\"Shanshan\", \"Chen\", email = \"schen3@vcu.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Jonathon\", \"Jacobs\", role = \"ctb\"))",
  "Maintainer": "Shanshan Chen <schen3@vcu.edu>",
  "Description": "A generic sleep–wake cycle detection algorithm for\nanalyzing unlabeled actigraphy data. The algorithm has been\nvalidated against event markers using data from the\nMulti-Ethnic Study of Atherosclerosis (MESA) Sleep study, and\nits methodological details are described in Chen and Sun (2024)\n<doi:10.1098/rsos.231468>. The package provides functions to\nestimate sleep metrics (e.g., sleep and wake onset times) and\ncircadian rhythm metrics (e.g., mesor, phasor, interdaily\nstability, intradaily variability), as well as tools for\nscreening actigraphy quality, fitting cosinor models, and\nperforming parametric change point detection. The workflow can\nalso be used to segment long actigraphy sequences into\nregularized structures for physical activity research.",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-12 07:34:36 UTC",
    "User": "root"
  },
  "Author": "Shanshan Chen [aut, cre], Jonathon Jacobs [ctb]",
  "Repository": "https://shanshanchen-biostat.r-universe.dev",
  "Date/Publication": "2025-11-12 11:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/CircaCP",
  "RemoteRef": "HEAD",
  "RemoteSha": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
  "MD5sum": "d481bcae302f4d38f5e9bbe80a0a3552",
  "_user": "shanshanchen-biostat",
  "_type": "src",
  "_file": "CircaCP_0.1.2.tar.gz",
  "_fileid": "778742c423e6d6a94b24588cfc26c6d93fa8b206fd7ca4b52f80443b2f6b5ffb",
  "_filesize": 706426,
  "_sha256": "778742c423e6d6a94b24588cfc26c6d93fa8b206fd7ca4b52f80443b2f6b5ffb",
  "_created": "2026-05-12T07:34:36.000Z",
  "_published": "2026-05-22T10:49:51.568Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77364852139,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6938317563"
    },
    {
      "job": 77364852132,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938315597"
    },
    {
      "job": 77364852554,
      "time": 146,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6938306759"
    },
    {
      "job": 77364852040,
      "time": 200,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938318589"
    },
    {
      "job": 77364851765,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938272481"
    },
    {
      "job": 77364851612,
      "time": 106,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158715135"
    },
    {
      "job": 77364852145,
      "time": 125,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6938309877"
    },
    {
      "job": 77364852555,
      "time": 70,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6938293058"
    },
    {
      "job": 77364851943,
      "time": 90,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6938299207"
    }
  ],
  "_buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/CircaCP",
  "_commit": {
    "id": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
    "author": "Shanshan Chen <schen3@vcu.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.2\n",
    "time": 1762945802
  },
  "_maintainer": {
    "name": "Shanshan Chen",
    "email": "schen3@vcu.edu",
    "login": "shanshanchen-biostat",
    "uuid": 92536125
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "minpack.lm",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.2",
      "date": "2025-11-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "shanshanchen-biostat",
      "count": 1,
      "uuid": 92536125
    }
  ],
  "_userbio": {
    "uuid": 92536125,
    "type": "user",
    "name": "Shanshan Chen",
    "description": "Wearable sensors, real-time systems, signal processing, time series, dynamic systems, actigraphy, sleep analysis, energy expenditure, statistical learning"
  },
  "_downloads": {
    "count": 184,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CircaCP"
  },
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/CircaCP.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "shanshanchen-biostat",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2025-11-12"
    }
  ],
  "_exports": [
    "cp_detect",
    "extract_nonparametric_metrics",
    "extract_sleep_metrics",
    "extract_sw_period",
    "import_acti_file",
    "screen_wear",
    "sleep_cos",
    "sleep_detection"
  ],
  "_datasets": [
    {
      "name": "actigraphy",
      "title": "Example Actigraphy Dataset",
      "object": "actigraphy",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Time",
        "MIMS",
        "X",
        "Y",
        "Z",
        "Lux",
        "SDLux",
        "Date"
      ],
      "rows": 11529,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "actigraphy",
      "title": "Example Actigraphy Dataset",
      "topics": [
        "actigraphy"
      ]
    },
    {
      "page": "cp_detect",
      "title": "Detect a single change point (parametric methods)",
      "topics": [
        "cp_detect"
      ]
    },
    {
      "page": "extract_nonparametric_metrics",
      "title": "Nonparametric circadian metrics (RA, IS, IV, L5, M10)",
      "topics": [
        "extract_nonparametric_metrics"
      ]
    },
    {
      "page": "extract_sleep_metrics",
      "title": "Extract metrics related to sleep and circadian rhythm after using CircaCP algorithm",
      "topics": [
        "extract_sleep_metrics"
      ]
    },
    {
      "page": "extract_sw_period",
      "title": "Extract contiguous sleep or wake periods from a labeled minute series",
      "topics": [
        "extract_sw_period"
      ]
    },
    {
      "page": "import_acti_file",
      "title": "Import actigraphy with header stripping and harmonized 'Activity'",
      "topics": [
        "import_acti_file"
      ]
    },
    {
      "page": "screen_wear",
      "title": "Screen wear and extract the longest valid minute-level segment",
      "topics": [
        "screen_wear"
      ]
    },
    {
      "page": "sleep_cos",
      "title": "Estimates circadian cycle by cosinor fit of minute-level activity (period = 1440)",
      "topics": [
        "sleep_cos"
      ]
    },
    {
      "page": "sleep_detection",
      "title": "Estimate precise sleep_wake cycles using CircaCP algorithm",
      "topics": [
        "sleep_detection"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "data.table",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "pracma",
    "rlang",
    "tibble",
    "utf8",
    "vctrs"
  ],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "CircaCP: Getting Started",
      "author": "Shanshan Chen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Read in the example actigraphy data, specify column names for Date, Time and Activity",
        "screening actigraphy data to check minumum wearing days and continuous wearing",
        "apply consinor fitting",
        "apply circacp algorithm",
        "plot estimated cosinor fitting and circadian cycles",
        "plot estimated cosinor fitting and slee-wake cycles",
        "Non-parametric metrics for circadian rhythsm",
        "Extract all sleep and circadian rhythm related metrics"
      ],
      "created": "2025-11-12 11:10:02",
      "modified": "2025-11-12 11:10:02",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "circacp",
  "_universes": [
    "shanshanchen-biostat"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-12T07:37:04.000Z",
      "distro": "noble",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "a948f7818a94cbda7a1b1c46bded36fee1c0c37bf5b655b9dab0a04b57b25f11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-05-12T07:36:56.000Z",
      "distro": "noble",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "693fcc7ef20dedd12238ea015dff91267426d49727e7049619bd9456a8d5f689",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-12T07:36:33.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "2af1036d7d24c2857ae76c4d85f824da8711a56fe35b038abd692a117f3e6ac9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-05-12T07:37:07.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "25916899ebae76be44a748e5320212214d24fd4e0ae493373ee2347acecbe509",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-12T07:36:35.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "f9a654796fcbbb1f12461b25d8f0ed0cde8be2dd7a8b9df302cd16e92e1856f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-12T07:35:38.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "11b328bb9eccd6635d9ccfefa0f52d353ed2e0f145a0c63bbf069a5a75043da0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-05-12T07:35:59.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "1f8c5e9540cb1198dbb6f99a5b9cb1c509fa356e90fbdf6710cebc4fa7366e0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-05-22T10:49:35.000Z",
      "commit": "5906fe87bd58c8e0712b374fd2575a8dedb3166e",
      "fileid": "a18a6f49e64975b3bcd1be74cd3e90c4f302dc39576d3057494c58f57568d029",
      "status": "success",
      "buildurl": "https://github.com/r-universe/shanshanchen-biostat/actions/runs/25720178317"
    }
  ]
}