{
  "_id": "6a241f97a1338011a79f0177",
  "Package": "detectPVC",
  "Version": "0.3.2",
  "Date": "2024-10-12",
  "Title": "Detect Premature Venticular Complexes",
  "Description": "Detect premature ventricular complexes (PVCs) in data from\na Polar H10 chest-strap heart rate sensor.",
  "Author": "Karl W Broman [aut, cre]\n(<https://orcid.org/0000-0002-4914-6671>)",
  "Maintainer": "Karl W Broman <broman@wisc.edu>",
  "Authors@R": "c(person(\"Karl W\", \"Broman\", role=c(\"aut\", \"cre\"),\nemail=\"broman@wisc.edu\", comment=c(ORCID = \"0000-0002-4914-6671\")))",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/kbroman/detectPVC",
  "BugReports": "https://github.com/kbroman/detectPVC/issues",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "ByteCompile": "true",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown=TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://kbroman.r-universe.dev",
  "Date/Publication": "2026-06-06 11:49:38 UTC",
  "RemoteUrl": "https://github.com/kbroman/detectPVC",
  "RemoteRef": "HEAD",
  "RemoteSha": "1d263bdd215c53a20755b833704adc3a186c3448",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 13:21:32 UTC",
    "User": "root"
  },
  "MD5sum": "bf9ec2c0b209e28b4ddcc6b8b9657499",
  "_user": "kbroman",
  "_type": "src",
  "_file": "detectPVC_0.3.2.tar.gz",
  "_fileid": "91805c062b7a4bdf5b9cb1aaa2ccbd2323a6cab0a0ea8ce9aa6ebb95c043671a",
  "_filesize": 763302,
  "_sha256": "91805c062b7a4bdf5b9cb1aaa2ccbd2323a6cab0a0ea8ce9aa6ebb95c043671a",
  "_created": "2026-06-06T13:21:32.000Z",
  "_published": "2026-06-06T13:24:39.497Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79880070509,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7454748317"
    },
    {
      "job": 79880070515,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7454748073"
    },
    {
      "job": 79880070516,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7454740958"
    },
    {
      "job": 79880070501,
      "time": 115,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7454743319"
    },
    {
      "job": 79879892718,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7454731839"
    },
    {
      "job": 79880070483,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7454744401"
    },
    {
      "job": 79880070500,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7454742377"
    },
    {
      "job": 79880070506,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7454743332"
    },
    {
      "job": 79880070502,
      "time": 109,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7454743158"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kbroman/detectPVC",
  "_commit": {
    "id": "1d263bdd215c53a20755b833704adc3a186c3448",
    "author": "Karl Broman <kbroman@gmail.com>",
    "committer": "Karl Broman <kbroman@gmail.com>",
    "message": "vignette: CSS loaded from web\n",
    "time": 1780746578
  },
  "_maintainer": {
    "name": "Karl W Broman",
    "email": "broman@wisc.edu",
    "login": "kbroman",
    "mastodon": "@kbroman@rstats.me",
    "orcid": "0000-0002-4914-6671",
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\n",
    "uuid": 53972
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "broman",
      "version": ">= 0.84",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "signal",
      "role": "Imports"
    },
    {
      "package": "R.utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "kbroman",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 11
    },
    {
      "week": "2026-20",
      "n": 3
    },
    {
      "week": "2026-23",
      "n": 8
    }
  ],
  "_tags": [
    {
      "name": "0.3.2",
      "date": "2026-05-09"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "kbroman",
      "count": 170,
      "uuid": 53972
    }
  ],
  "_userbio": {
    "uuid": 53972,
    "type": "user",
    "name": "Karl Broman",
    "description": "Professor in Dept of Biostatistics & Medical Informatics at UW–Madison. Applied statistician working on statistical genomics.\r\n"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/detectPVC"
  },
  "_devurl": "https://github.com/kbroman/detectpvc",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/detectPVC.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "adjust_peaks",
    "calc_peak_stats",
    "convert_timestamp",
    "detect_peaks",
    "find_bad_segments",
    "find_closest_time",
    "find_pvc_pattern",
    "get_time_interval",
    "most_common_date",
    "plot_ecg",
    "plot_ecg_mult",
    "plot_states",
    "read_multcsv",
    "running_datacount",
    "running_pvc_stats",
    "summary_states",
    "totlength",
    "zero_segments"
  ],
  "_datasets": [
    {
      "name": "polar_h10",
      "title": "Example Polar H10 data",
      "object": "polar_h10",
      "class": [
        "data.frame"
      ],
      "fields": [
        "time",
        "ecg",
        "hr",
        "rr"
      ],
      "rows": 78096,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "adjust_peaks",
      "title": "Adjust R peaks to hit local max",
      "topics": [
        "adjust_peaks"
      ]
    },
    {
      "page": "calc_peak_stats",
      "title": "Calculate summary statistics for each R peak",
      "topics": [
        "calc_peak_stats"
      ]
    },
    {
      "page": "convert_timestamp",
      "title": "Convert date/time stamp for Polar H10",
      "topics": [
        "convert_timestamp"
      ]
    },
    {
      "page": "detect_peaks",
      "title": "Detect R peaks in a raw ECG signal, using a sliding window",
      "topics": [
        "detect_peaks"
      ]
    },
    {
      "page": "find_bad_segments",
      "title": "Find bad segments in ECG signal",
      "topics": [
        "find_bad_segments"
      ]
    },
    {
      "page": "find_closest_time",
      "title": "Find closest time",
      "topics": [
        "find_closest_time"
      ]
    },
    {
      "page": "find_pvc_pattern",
      "title": "Find PVC patterns",
      "topics": [
        "find_pvc_pattern"
      ]
    },
    {
      "page": "get_time_interval",
      "title": "Get indexes for a interval in time",
      "topics": [
        "get_time_interval"
      ]
    },
    {
      "page": "most_common_date",
      "title": "Most common date in a vector of date/times",
      "topics": [
        "most_common_date"
      ]
    },
    {
      "page": "plot_ecg",
      "title": "Plot ECG signal",
      "topics": [
        "plot_ecg"
      ]
    },
    {
      "page": "plot_ecg_mult",
      "title": "Plot ECG signal across multiple panels",
      "topics": [
        "plot_ecg_mult"
      ]
    },
    {
      "page": "plot_states",
      "title": "Plot PVC states",
      "topics": [
        "plot.states",
        "plot_states"
      ]
    },
    {
      "page": "plot.pvc_stats",
      "title": "Plot running PVC statistics",
      "topics": [
        "plot.pvc_stats"
      ]
    },
    {
      "page": "polar_h10",
      "title": "Example Polar H10 data",
      "topics": [
        "polar_h10"
      ]
    },
    {
      "page": "print.summary.states",
      "title": "Print summary of states object",
      "topics": [
        "print.summary.states"
      ]
    },
    {
      "page": "read_multcsv",
      "title": "Read multiple related CSV files",
      "topics": [
        "read_multcsv"
      ]
    },
    {
      "page": "running_datacount",
      "title": "Get running count of amount of data",
      "topics": [
        "running_datacount"
      ]
    },
    {
      "page": "running_pvc_stats",
      "title": "Calculate running PVC burden and HR",
      "topics": [
        "running_pvc_stats"
      ]
    },
    {
      "page": "summary_states",
      "title": "Summarize output of plot_states",
      "topics": [
        "summary.states",
        "summary_states"
      ]
    },
    {
      "page": "totlength",
      "title": "Total length of a set of time intervals",
      "topics": [
        "totlength"
      ]
    },
    {
      "page": "zero_segments",
      "title": "Zero out segments of a ECG signal",
      "topics": [
        "zero_segments"
      ]
    }
  ],
  "_pkglogo": "https://github.com/kbroman/detectPVC/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/kbroman/detectPVC/raw/HEAD/README.md",
  "_rundeps": [
    "broman",
    "cli",
    "cpp11",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "signal",
    "stringi",
    "stringr",
    "timechange",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "detectPVC.Rmd",
      "filename": "detectPVC.html",
      "title": "detectPVC User Guide",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction <a href=\"https://github.com/kbroman/detectPVC\"><img src=\"https://kbroman.org/detectPVC/detectPVC_logo.png\" align=\"right\" height=\"138\" alt=\"detectPVC logo\"/></a>",
        "Installation",
        "Usage"
      ],
      "created": "2024-05-01 18:33:09",
      "modified": "2026-06-06 11:49:38",
      "commits": 14
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": true,
  "_nocasepkg": "detectpvc",
  "_universes": [
    "kbroman"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-06-06T13:23:56.000Z",
      "distro": "noble",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "2c536f4ed16993b5b0ac37038176d03545d2a71d7e6e8adaeb040e147b3faca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.2",
      "date": "2026-06-06T13:23:53.000Z",
      "distro": "noble",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "420dff36b1ed3720d341566fd7298022e1bc62691cce3d32d72b71fbf7190d06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-06T13:22:52.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "13469a6f816fc965c402daddd154661a31eb91f391996902eb024734f522452d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.2",
      "date": "2026-06-06T13:23:12.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "397fa13e0061f54ca5695a4d683e1b9e26effdb97a6a68959c20ce0a50218840",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.2",
      "date": "2026-06-06T13:23:46.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "67ae8c6d4c760030d93a37ba662998745cd8dd4816b543557f67ee3c76214459",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-06T13:22:53.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "b8bf2d16f447f731f5ef865398f62b2d98f67844eebf27b081ec51c9cca7ad08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-06T13:23:05.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "20f29699cf4c8e3fde4a972af5a37496e1fbe4af218e72c32a0bae6245dba405",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.2",
      "date": "2026-06-06T13:22:55.000Z",
      "commit": "1d263bdd215c53a20755b833704adc3a186c3448",
      "fileid": "b6a43d37348224adf19853cba7735f343cdc29f82e22b11f8d66502619145fb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kbroman/actions/runs/27063367070"
    }
  ]
}