{
  "_id": "6a2132c6cd65a98ecbd25c1e",
  "Package": "scopr",
  "Title": "Read Ethoscope Data",
  "Date": "2022-02-03",
  "Version": "0.3.3",
  "Authors@R": "c(\nperson(\"Quentin\", \"Geissmann\", role = c(\"aut\", \"cre\"), email = \"qgeissmann@gmail.com\")\n)",
  "Description": "Handling of behavioural data from the Ethoscope platform\n(Geissmann, Garcia Rodriguez, Beckwith, French, Jamasb and\nGilestro (2017) <DOI:10.1371/journal.pbio.2003026>). Ethoscopes\n(<http://gilestrolab.github.io/ethoscope/>) are an open\nsource/open hardware framework made of interconnected raspberry\npis (<https://www.raspberrypi.org>) designed to quantify the\nbehaviour of multiple small animals in a distributed and\nreal-time fashion. The default tracking algorithm records\nprimary variables such as xy coordinates, dimensions and speed.\nThis package is part of the rethomics framework\n<http://rethomics.github.io/>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/rethomics/scopr",
  "BugReports": "https://github.com/rethomics/scopr/issues",
  "RoxygenNote": "7.1.1",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://rethomics.r-universe.dev",
  "Date/Publication": "2025-08-07 07:07:27 UTC",
  "RemoteUrl": "https://github.com/rethomics/scopr",
  "RemoteRef": "HEAD",
  "RemoteSha": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 08:06:34 UTC",
    "User": "root"
  },
  "Author": "Quentin Geissmann [aut, cre]",
  "Maintainer": "Quentin Geissmann <qgeissmann@gmail.com>",
  "MD5sum": "94b86046445be953e4b9f6661532c61b",
  "_user": "rethomics",
  "_type": "src",
  "_file": "scopr_0.3.3.tar.gz",
  "_fileid": "761ccd1a342788041f659f0c3e8f3d312b715fb8bda91714d276252ecdbe4024",
  "_filesize": 341768,
  "_sha256": "761ccd1a342788041f659f0c3e8f3d312b715fb8bda91714d276252ecdbe4024",
  "_created": "2026-06-04T08:06:34.000Z",
  "_published": "2026-06-04T08:09:42.044Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79476360787,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7406265299"
    },
    {
      "job": 79476360837,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7406264685"
    },
    {
      "job": 79476360670,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7406246529"
    },
    {
      "job": 79476360723,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7406252241"
    },
    {
      "job": 79475845743,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406217561"
    },
    {
      "job": 79476360892,
      "time": 120,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7406257260"
    },
    {
      "job": 79476360791,
      "time": 100,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7406251184"
    },
    {
      "job": 79476360758,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7406247301"
    },
    {
      "job": 79476360760,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7406248338"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rethomics/scopr",
  "_commit": {
    "id": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
    "author": "Giorgio <giorgio@gilest.ro>",
    "committer": "Giorgio <giorgio@gilest.ro>",
    "message": "Fix boolean conversion for SQLite string values\n\nBoolean columns from SQLite are stored as strings \"0\" and \"1\", but as.logical(\"0\") returns NA instead of FALSE in R. This caused all tracking data to be filtered out with \"No data in ROI\" errors.\n\nChanged boolean conversion to use as.logical(as.numeric(get(var_n))) to properly convert string boolean values.\n\nFixes #22\n\n🤖 Generated with [Claude Code](https://claude.ai/code)\n\nCo-Authored-By: Claude <noreply@anthropic.com>\n",
    "time": 1754550447
  },
  "_maintainer": {
    "name": "Quentin Geissmann",
    "email": "qgeissmann@gmail.com",
    "login": "qgeissmann",
    "twitter": "@qgeissmann",
    "description": "Assistant professor in the QGG at Aarhus Universiy. Digital Approaches for Resilient Sustainable Agriculture.",
    "uuid": 1399684
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.00",
      "role": "Depends"
    },
    {
      "package": "behavr",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "RSQLite",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ggetho",
      "role": "Suggests"
    },
    {
      "package": "zeitgebr",
      "role": "Suggests"
    }
  ],
  "_owner": "rethomics",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-32",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "biological-data-analysis",
    "parsing"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "qgeissmann",
      "count": 77,
      "uuid": 1399684
    },
    {
      "user": "ggilestro",
      "count": 1,
      "uuid": 696901
    },
    {
      "user": "mattdowle",
      "count": 1,
      "uuid": 2779998
    }
  ],
  "_userbio": {
    "uuid": 30466497,
    "type": "organization",
    "name": "rethomics",
    "description": "A framework to analyse high-throughput behaviour in R"
  },
  "_downloads": {
    "count": 154,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/scopr"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/rethomics/scopr",
  "_searchresults": 36,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/scopr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rethomics/scopr",
  "_realowner": "rethomics",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.3.1",
      "date": "2018-05-18"
    },
    {
      "version": "0.3.2",
      "date": "2018-05-29"
    },
    {
      "version": "0.3.3",
      "date": "2019-02-15"
    },
    {
      "version": "0.3.4",
      "date": "2022-08-15"
    },
    {
      "version": "0.3.5",
      "date": "2025-01-28"
    }
  ],
  "_exports": [
    "experiment_info",
    "link_ethoscope_metadata",
    "link_ethoscope_metadata_remote",
    "list_result_files",
    "load_ethoscope",
    "scopr_example",
    "scopr_example_dir"
  ],
  "_datasets": [
    {
      "name": "no_region_id_metadata",
      "title": "Simple toy metadata defining three experiments, with one condition ('test') per experiment. Implicitly, 20 individuals are in each experiment It serves as a simple example.",
      "object": "no_region_id_metadata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "machine_name",
        "date",
        "time",
        "test"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "region_id_metadata",
      "title": "Simple toy metadata experimental conditions for 15 individuals in three experiments. the condition ('test') is linked to the experiments, and another condition ('treatment') is per individual. It serves as a simple example. #'",
      "object": "region_id_metadata",
      "class": [
        "data.frame"
      ],
      "fields": [
        "machine_name",
        "date",
        "time",
        "test",
        "region_id",
        "treatment"
      ],
      "rows": 15,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "experiment_info",
      "title": "Retrieve information about an experiment",
      "topics": [
        "experiment_info"
      ]
    },
    {
      "page": "link_ethoscope_metadata",
      "title": "Link ethoscope metadata to the matching result files",
      "topics": [
        "link_ethoscope_metadata",
        "link_ethoscope_metadata_remote"
      ]
    },
    {
      "page": "list_result_files",
      "title": "List all available result files",
      "topics": [
        "list_result_files"
      ]
    },
    {
      "page": "load_ethoscope",
      "title": "Load data from ethoscope result files",
      "topics": [
        "load_ethoscope"
      ]
    },
    {
      "page": "no_region_id_metadata",
      "title": "Simple toy metadata defining three experiments, with one condition ('test') per experiment. Implicitly, 20 individuals are in each experiment It serves as a simple example.",
      "topics": [
        "no_region_id_metadata"
      ]
    },
    {
      "page": "region_id_metadata",
      "title": "Simple toy metadata experimental conditions for 15 individuals in three experiments. the condition ('test') is linked to the experiments, and another condition ('treatment') is per individual. It serves as a simple example. #'",
      "topics": [
        "region_id_metadata"
      ]
    },
    {
      "page": "scopr_example",
      "title": "Get path to scopr example",
      "topics": [
        "scopr_example",
        "scopr_example_dir"
      ]
    }
  ],
  "_readme": "https://github.com/rethomics/scopr/raw/HEAD/README.md",
  "_rundeps": [
    "behavr",
    "bit",
    "bit64",
    "blob",
    "cachem",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "data.table",
    "DBI",
    "fastmap",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "memoise",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "readr",
    "rlang",
    "RSQLite",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_score": 4.033423755486949,
  "_indexed": true,
  "_nocasepkg": "scopr",
  "_universes": [
    "rethomics",
    "qgeissmann"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:59.000Z",
      "distro": "noble",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "ae35120675b88a4d66f1986dce684b8a036967ac1c56bc69d68b791bb36c944f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:56.000Z",
      "distro": "noble",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "fc888be4acbc9940471fffcd60e543d45b9c05f556db00b8a490a08903183186",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:07.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "4677afc63e7e2b2154d0f6c939b5efc928429f0c37de69b23b55c8d9f42d4e9b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:19.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "7c9976a53ca30db6b4e0057a25c8e4145cf11ddec66e4c6988e52cbcf2a0833e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:56.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "671126417f98f205258ea3c6d31f37c333142dbcbb1b5275dae8e51dc141f876",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:08:08.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "cf38cdadf7bf3d4ded3e1dd7071db1c7cb21af53c264b6cdb01a5cd9fe027e2c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:07:55.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "9c2dd5acfcd359cd75016f3098750979e4038f5e509cf1a5cb7ccb8330f87cd8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-06-04T08:07:58.000Z",
      "commit": "3780cc5b97bbe090b088b0bd38fe5efc52ff4e31",
      "fileid": "69a32f6b0e921eb7b78c5b77370767bfdaa199e1161b43dee0f78d63306db67a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/rethomics/actions/runs/26939064976"
    }
  ]
}