{
  "_id": "6a106a9dacfb0bcc41caa127",
  "Package": "digiRhythm",
  "Type": "Package",
  "Title": "Analyzing Animal's Rhythmicity",
  "Version": "2.5",
  "Authors@R": "c(person(\"Hassan-Roland\", \"Nasser\", role = c(\"aut\", \"cre\"),\nemail = \"hassan.nasser@me.com\"),\nperson(\"Marie\", \"Schneider\", role = c(\"aut\", \"ctb\"),\nemail = \"marieschnellbaecher@outlook.de\"),\nperson(\"Joanna\", \"Stachowicz \", role = c(\"aut\", \"rev\"),\nemail = \"joa.stachowi@gmail.com\"),\nperson(\"Christina\", \"Umstaetter \", role = c(\"aut\", \"ths\"),\nemail = \"christina.umstaetter@thuenen.de\"))",
  "Author": "Hassan-Roland Nasser [aut, cre], Marie Schneider [aut, ctb],\nJoanna Stachowicz [aut, rev], Christina Umstaetter [aut, ths]",
  "Maintainer": "Hassan-Roland Nasser <hassan.nasser@me.com>",
  "Description": "Analyze and visualize the rhythmic behavior of animals\nusing the degree of functional coupling (See Scheibe (1999)\n<doi:10.1076/brhm.30.2.216.1420>), compute and visualize\nharmonic power, actograms, average activity and diurnality\nindex.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "VignetteBuilder": "knitr",
  "URL": "https://nasserdr.github.io/digiRhythm/",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://nasserdr.r-universe.dev",
  "Date/Publication": "2025-03-11 07:29:33 UTC",
  "RemoteUrl": "https://github.com/nasserdr/digirhythm-r-package",
  "RemoteRef": "HEAD",
  "RemoteSha": "2075065f15c221ba2137201f8381409b42308350",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-07 09:51:51 UTC",
    "User": "root"
  },
  "MD5sum": "3e783bdd8ea5ab98dee2bf8660746fe6",
  "_user": "nasserdr",
  "_type": "src",
  "_file": "digiRhythm_2.5.tar.gz",
  "_fileid": "e1b40e0580bd38a7593ad8a4dbbd9702e6358a05a2da898fadfbfef7343329b4",
  "_filesize": 4489720,
  "_sha256": "e1b40e0580bd38a7593ad8a4dbbd9702e6358a05a2da898fadfbfef7343329b4",
  "_created": "2026-05-07T09:51:51.000Z",
  "_published": "2026-05-22T14:39:25.155Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77401904154,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6852078347"
    },
    {
      "job": 77401904079,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6852077680"
    },
    {
      "job": 77401904168,
      "time": 132,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6852067895"
    },
    {
      "job": 77401904291,
      "time": 114,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6852061987"
    },
    {
      "job": 77401903742,
      "time": 263,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6852023861"
    },
    {
      "job": 77401903781,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7163191131"
    },
    {
      "job": 77401904379,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6852062773"
    },
    {
      "job": 77401904712,
      "time": 94,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6852055900"
    },
    {
      "job": 77401904171,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6852056924"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nasserdr/digirhythm-r-package",
  "_commit": {
    "id": "2075065f15c221ba2137201f8381409b42308350",
    "author": "Nasser Roland <roland.nasser@agroscope.admin.ch>",
    "committer": "Nasser Roland <roland.nasser@agroscope.admin.ch>",
    "message": "Added license file\n",
    "time": 1741678173
  },
  "_maintainer": {
    "name": "Hassan-Roland Nasser",
    "email": "hassan.nasser@me.com",
    "login": "nasserdr",
    "uuid": 15745564
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "version": ">= 2.0.1",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "xts",
      "role": "Imports"
    },
    {
      "package": "pracma",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "usethis",
      "role": "Suggests"
    }
  ],
  "_owner": "nasserdr",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "marieschnellbaecher",
      "count": 38,
      "uuid": 93138832
    },
    {
      "user": "nasserdr",
      "count": 19,
      "uuid": 15745564
    },
    {
      "user": "cmdoret",
      "count": 2,
      "uuid": 22558602
    }
  ],
  "_userbio": {
    "uuid": 15745564,
    "type": "user",
    "name": "Hassan-Roland Nasser"
  },
  "_downloads": {
    "count": 371,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/digiRhythm"
  },
  "_devurl": "https://github.com/nasserdr/digirhythm",
  "_searchresults": 22,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/digiRhythm.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nasserdr/digirhythm-r-package",
  "_realowner": "nasserdr",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2022-08-12"
    },
    {
      "version": "1.1",
      "date": "2022-11-15"
    },
    {
      "version": "1.2",
      "date": "2024-04-05"
    },
    {
      "version": "2.0",
      "date": "2024-07-16"
    },
    {
      "version": "2.1",
      "date": "2024-07-25"
    },
    {
      "version": "2.2",
      "date": "2024-07-31"
    },
    {
      "version": "2.3",
      "date": "2024-11-07"
    },
    {
      "version": "2.4",
      "date": "2024-12-19"
    }
  ],
  "_exports": [
    "actogram",
    "daily_activity_wrap_plot",
    "daily_average_activity",
    "df_act_info",
    "dfc",
    "dgm_periodicity",
    "diurnality",
    "diurnality_customTimes",
    "highest_possible_harm_cutoff",
    "import_raw_activity_data",
    "is_dgm_friendly",
    "lomb_scargle_periodogram",
    "remove_activity_outliers",
    "resample_dgm"
  ],
  "_datasets": [
    {
      "name": "df516b_2",
      "title": "df516b_2 Activity Data Sets",
      "object": "df516b_2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "Motion.Index",
        "Steps"
      ],
      "rows": 4320,
      "table": true,
      "tojson": true
    },
    {
      "name": "df603",
      "title": "df603 Activity Data Sets",
      "object": "df603",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "move_x",
        "move_y"
      ],
      "rows": 34442,
      "table": true,
      "tojson": true
    },
    {
      "name": "df625",
      "title": "df625 Activity Data Sets",
      "object": "df625",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "move_x",
        "move_y"
      ],
      "rows": 31672,
      "table": true,
      "tojson": true
    },
    {
      "name": "df678_2",
      "title": "df678_2 Activity Data Sets",
      "object": "df678_2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "Motion.Index",
        "Steps"
      ],
      "rows": 4320,
      "table": true,
      "tojson": true
    },
    {
      "name": "df689b_3",
      "title": "df689b_3 Activity Data Sets",
      "object": "df689b_3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "Motion.Index",
        "Steps"
      ],
      "rows": 3672,
      "table": true,
      "tojson": true
    },
    {
      "name": "df691b_1",
      "title": "df691b_1 Activity Data Sets",
      "object": "df691b_1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "Motion.Index",
        "Steps"
      ],
      "rows": 4608,
      "table": true,
      "tojson": true
    },
    {
      "name": "df759a_3",
      "title": "df759a_3 Activity Data Sets",
      "object": "df759a_3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "datetime",
        "Motion.Index",
        "Steps"
      ],
      "rows": 4320,
      "table": true,
      "tojson": true
    },
    {
      "name": "timedata",
      "title": "timedata Dataset of start and end of day and night",
      "object": "timedata",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "day_start",
        "day_end",
        "night_start",
        "night_end"
      ],
      "rows": 234,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "actogram",
      "title": "Plot a an single actogram over a period of time for a specific variable",
      "topics": [
        "actogram"
      ]
    },
    {
      "page": "daily_activity_wrap_plot",
      "title": "Plot daily average over a period of time for a specific variable.",
      "topics": [
        "daily_activity_wrap_plot"
      ]
    },
    {
      "page": "daily_average_activity",
      "title": "Plot daily average over a period of time for a specific variable.",
      "topics": [
        "daily_average_activity"
      ]
    },
    {
      "page": "df_act_info",
      "title": "Outputs some information about the activity dataframe",
      "topics": [
        "df_act_info"
      ]
    },
    {
      "page": "df516b_2",
      "title": "df516b_2 Activity Data Sets",
      "topics": [
        "df516b_2"
      ]
    },
    {
      "page": "df603",
      "title": "df603 Activity Data Sets",
      "topics": [
        "df603"
      ]
    },
    {
      "page": "df625",
      "title": "df625 Activity Data Sets",
      "topics": [
        "df625"
      ]
    },
    {
      "page": "df678_2",
      "title": "df678_2 Activity Data Sets",
      "topics": [
        "df678_2"
      ]
    },
    {
      "page": "df689b_3",
      "title": "df689b_3 Activity Data Sets",
      "topics": [
        "df689b_3"
      ]
    },
    {
      "page": "df691b_1",
      "title": "df691b_1 Activity Data Sets",
      "topics": [
        "df691b_1"
      ]
    },
    {
      "page": "df759a_3",
      "title": "df759a_3 Activity Data Sets",
      "topics": [
        "df759a_3"
      ]
    },
    {
      "page": "dfc",
      "title": "Computes the Degree of Function coupling (DFC), Harmonic Part (HP) and Weekly Lomb-Scargle Spectrum (LSP Spec) for one variable in an activity dataset. The dataset should be digiRhythm friendly.",
      "topics": [
        "dfc"
      ]
    },
    {
      "page": "dgm_periodicity",
      "title": "Returns the periodicity of a digiRhythm dataframe",
      "topics": [
        "dgm_periodicity"
      ]
    },
    {
      "page": "diurnality",
      "title": "Computes the diurnality index based on an activity dataframe",
      "topics": [
        "diurnality"
      ]
    },
    {
      "page": "diurnality_customTimes",
      "title": "Computes the diurnality index, using different start and end definitions for each day and night, based on an activity dataframe",
      "topics": [
        "diurnality_customTimes"
      ]
    },
    {
      "page": "highest_possible_harm_cutoff",
      "title": "Function to calculate the smallest possible harmonic to consider given a sampling frequency. The minimum possible harmonic = 2 x the period of the maximum frequency according to the Shanon theorem. Example: if the sampling period is 15 min, the minimum possible treatable period is 30 minutes and that corresponds to the 48th harmonic (24 hours * 60 minutes / 48 = 30 minutes)",
      "topics": [
        "highest_possible_harm_cutoff"
      ]
    },
    {
      "page": "import_raw_activity_data",
      "title": "Reads Raw Activity Data from csv files",
      "topics": [
        "import_raw_activity_data"
      ]
    },
    {
      "page": "is_dgm_friendly",
      "title": "Informs if a dataset is digiRhythm Friendly",
      "topics": [
        "is_dgm_friendly"
      ]
    },
    {
      "page": "levopt",
      "title": "Returns the level given the p-value computed with pbaluev (2008). Copied from the LOMB library.",
      "topics": [
        "levopt"
      ]
    },
    {
      "page": "lomb_scargle_periodogram",
      "title": "Computes the Lomb Scargle Periodogram and returns the information needed for computing the DFC and HP. A plot visualizing the Harmonic Frequencies presence in the spectrum is possible. The function is inspired from the Lomb library in a great part, with modifications to fit the requirements of harmonic powers and computation of the DFC. This function is inspired by the lsp function from the lomb package and adapted to add different colors for harmonic and non harmonic frequencies in the signal. For more information about lomb::lsp, please refer to: https://cran.r-project.org/web/packages/lomb/",
      "topics": [
        "lomb_scargle_periodogram"
      ]
    },
    {
      "page": "pbaluev",
      "title": "Returns p-value of a frequency peak according to pbaluev (2008) given Z, fmax and tm. Reused from the LOMB library (https://rdrr.io/cran/lomb/)",
      "topics": [
        "pbaluev"
      ]
    },
    {
      "page": "print_v",
      "title": "Print if Verbose is true",
      "topics": [
        "print_v"
      ]
    },
    {
      "page": "remove_activity_outliers",
      "title": "Remove outliers from the data",
      "topics": [
        "remove_activity_outliers"
      ]
    },
    {
      "page": "resample_dgm",
      "title": "Change the sampling of a digiRhythm friendly dataset",
      "topics": [
        "resample_dgm"
      ]
    },
    {
      "page": "timedata",
      "title": "timedata Dataset of start and end of day and night",
      "topics": [
        "timedata"
      ]
    }
  ],
  "_readme": "https://github.com/nasserdr/digirhythm-r-package/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xts",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "DFC_and_HP_and_changing_plots.Rmd",
      "filename": "DFC_and_HP_and_changing_plots.html",
      "title": "Computing the DFC/HP and manipulating the functions returned objects",
      "author": "Hassan-Roland Nasser and Marie Schneider",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Degree of Functional Coupling (DFC) and Harmonic Power (HP)",
        "Accessing output data and changing the plots using DigiRhythm"
      ],
      "created": "2022-07-04 14:40:30",
      "modified": "2024-07-25 12:20:01",
      "commits": 12
    },
    {
      "source": "Visualisation.Rmd",
      "filename": "Visualisation.html",
      "title": "Further options of visualization in DigiRhythm",
      "author": "Hassan-Roland Nasser and Marie Schneider",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Daily Activity Wrap"
      ],
      "created": "2023-01-05 12:43:35",
      "modified": "2024-07-25 12:20:01",
      "commits": 5
    },
    {
      "source": "Loading_and_preprocessing_data_in_DigiRhythm.Rmd",
      "filename": "Loading_and_preprocessing_data_in_DigiRhythm.html",
      "title": "Loading and preprocessing data in DigiRhythm",
      "author": "Hassan-Roland Nasser and Marie Schneider",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading data from a sample CSV file",
        "Checking if the data is digiRhythm friendly",
        "Removing outliers",
        "Resampling data",
        "Periodicity of a dataset"
      ],
      "created": "2022-07-04 14:40:30",
      "modified": "2024-07-25 12:24:29",
      "commits": 9
    },
    {
      "source": "Actgram_diurnality_avg_activity.Rmd",
      "filename": "Actgram_diurnality_avg_activity.html",
      "title": "Visualizing actograms, average activity and diurnality index",
      "author": "Hassan-Roland Nasser and Marie Schneider",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Actograms",
        "Average Activity",
        "Diurnality Index"
      ],
      "created": "2022-07-04 14:40:30",
      "modified": "2024-07-25 12:20:01",
      "commits": 11
    }
  ],
  "_score": 4.944482672150169,
  "_indexed": true,
  "_nocasepkg": "digirhythm",
  "_universes": [
    "nasserdr"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.5",
      "date": "2026-05-07T09:54:23.000Z",
      "distro": "noble",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "e015ab93b13eb5a39682f7c313c3749e744086f2594d8941ac5049763ce65c90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.5",
      "date": "2026-05-07T09:54:23.000Z",
      "distro": "noble",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "176493e713c3486c9f5b90acd49080f9530846ec917b4b13ee69c9adf7d47d4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.5",
      "date": "2026-05-07T09:53:59.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "a7678620654e54c38e6f26761ec8ee0414e17775b6d6d88038330c3a92c2e0b9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.5",
      "date": "2026-05-07T09:53:36.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "5d5a02512c75102f51653080330a48fc93641f4bee6e127163ae0f5ed6e201e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.5",
      "date": "2026-05-07T09:53:27.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "fca9ffb927d37963196d9af36484b3c4662df6b3e791458e9578af031964d4a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.5",
      "date": "2026-05-07T09:53:10.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "cdfa4ee08858a055a31d074c71adac0574cacf4df07fa73c647cdb2926afb3a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.5",
      "date": "2026-05-07T09:53:12.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "59fe33314490d51ef7a59f4bcc53c79ed1e4f1c57c5abb28cd7956e84d69e86c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.5",
      "date": "2026-05-22T14:39:09.000Z",
      "commit": "2075065f15c221ba2137201f8381409b42308350",
      "fileid": "b176a09372d06f90e9adfe2402478e1784ef9b42ea766966cbf3e2829cf932e9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nasserdr/actions/runs/25488476298"
    }
  ]
}