{
  "_id": "6aca8aa6fe5cc25786e8b2d5",
  "Package": "swaRmverse",
  "Type": "Package",
  "Title": "Swarm Space Creation",
  "Version": "0.1.1",
  "Date": "2024-10-10",
  "Authors@R": "c(\nperson(\"Marina\", \"Papadopoulou\", , \"m.papadopoulou.rug@gmail.com\", role =\nc(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-6478-8365\")),\nperson(\"Simon\", \"Garnier\", email = \"garnier@njit.edu\", role = c(\"ctb\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3886-3974\"))\n)",
  "Maintainer": "Marina Papadopoulou <m.papadopoulou.rug@gmail.com>",
  "Description": "Provides a pipeline for the comparative analysis of\ncollective movement data (e.g. fish schools, bird flocks,\nbaboon troops) by processing 2-dimensional positional data\n(x,y,t) from GPS trackers or computer vision tracking systems,\ndiscretizing events of collective motion, calculating a set of\nestablished metrics that characterize each event, and placing\nthe events in a multi-dimensional swarm space constructed from\nthese metrics. The swarm space concept, the metrics and data\nsets included are described in: Papadopoulou Marina, Furtbauer\nInes, O'Bryan Lisa R., Garnier Simon, Georgopoulou Dimitra G.,\nBracken Anna M., Christensen Charlotte and King Andrew J.\n(2023) <doi:10.1098/rstb.2022.0068>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://marinapapa.github.io/swaRmverse/,\nhttps://github.com/marinapapa/swaRmverse",
  "BugReports": "https://github.com/marinapapa/swaRmverse/issues",
  "RoxygenNote": "7.3.1",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://marinapapa.r-universe.dev",
  "Date/Publication": "2024-10-10 13:15:02 UTC",
  "RemoteUrl": "https://github.com/marinapapa/swarmverse",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-10 18:05:39 UTC",
    "User": "root"
  },
  "Author": "Marina Papadopoulou [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6478-8365>),\nSimon Garnier [ctb, cph] (ORCID:\n<https://orcid.org/0000-0002-3886-3974>)",
  "_user": "marinapapa",
  "_type": "src",
  "_file": "swaRmverse_0.1.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/037ed529e85caadb982b6c2e3c74013877fa5ddbe2bf2e1258fc6eb47c8d276f",
  "_filesize": 559005,
  "_sha256": "037ed529e85caadb982b6c2e3c74013877fa5ddbe2bf2e1258fc6eb47c8d276f",
  "_expires": "2027-01-18T18:57:40.000Z",
  "_created": "2026-10-10T18:05:39.000Z",
  "_published": "2026-10-10T18:57:42.420Z",
  "_buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114278250345,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677753679"
    },
    {
      "job": 114278250348,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677523410"
    },
    {
      "job": 114278250342,
      "time": 144,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11679193239"
    },
    {
      "job": 114278250278,
      "time": 128,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678863605"
    },
    {
      "job": 114277451930,
      "time": 237,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11677812904"
    },
    {
      "job": 114278250329,
      "time": 140,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11677259118"
    },
    {
      "job": 114278250306,
      "time": 81,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11677468361"
    },
    {
      "job": 114278250331,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11678147397"
    },
    {
      "job": 114278250328,
      "time": 77,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11678012466"
    }
  ],
  "_upstream": "https://github.com/marinapapa/swarmverse",
  "_commit": {
    "id": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
    "author": "marinapapa <marina.vp@outlook.com>",
    "committer": "marinapapa <marina.vp@outlook.com>",
    "message": "link fix\n",
    "time": 1728566102
  },
  "_maintainer": {
    "name": "Marina Papadopoulou",
    "email": "m.papadopoulou.rug@gmail.com",
    "orcid": "0000-0002-6478-8365"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "Rtsne",
      "role": "Imports"
    },
    {
      "package": "trackdf",
      "role": "Imports"
    },
    {
      "package": "swaRm",
      "role": "Imports"
    },
    {
      "package": "geosphere",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "marinapapa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "marinapapa",
      "count": 73,
      "uuid": 29118986
    },
    {
      "user": "sjmgarnier",
      "count": 2,
      "uuid": 371449
    }
  ],
  "_userbio": {
    "uuid": 29118986,
    "type": "user",
    "name": "Marina Papadopoulou",
    "followers": 24,
    "description": "Computational biologist | Postdoc on collective animal behaviour | Agent-based models of self-organization in social systems \r\n#makeswarmsnotwar"
  },
  "_downloads": {
    "count": 249,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/swaRmverse"
  },
  "_devurl": "https://github.com/marinapapa/swarmverse",
  "_pkgdown": "https://marinapapa.github.io/swaRmverse/",
  "_searchresults": 18,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/swaRmverse.html"
  ],
  "_homeurl": "https://github.com/marinapapa/swarmverse",
  "_realowner": "marinapapa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-03-26"
    },
    {
      "version": "0.1.1",
      "date": "2024-10-10"
    }
  ],
  "_exports": [
    "add_rel_pos_coords",
    "add_set_vels",
    "add_velocities",
    "calc_dur_per_event",
    "col_motion_metrics",
    "col_motion_metrics_from_raw",
    "define_events",
    "event_metrics",
    "events_dur",
    "events_n",
    "events_summary",
    "expand_pca_swarm_space",
    "frontness",
    "get_event_ids",
    "group_metrics",
    "group_metrics_per_set",
    "group_shape",
    "moving_average",
    "nn_metrics",
    "nnba",
    "normalize_data",
    "pairwise_metrics",
    "pick_threshold",
    "set_data_format",
    "swarm_space"
  ],
  "_datasets": [
    {
      "name": "multi_species_metrics",
      "title": "Multi-Species Collective Motion Metrics",
      "object": "multi_species_metrics",
      "class": [
        "data.frame"
      ],
      "fields": [
        "mean_mean_nnd",
        "mean_sd_nnd",
        "sd_mean_nnd",
        "mean_pol",
        "sd_pol",
        "cv_speed",
        "mean_sd_front",
        "mean_mean_bangl",
        "mean_shape",
        "sd_shape",
        "species",
        "event"
      ],
      "rows": 257,
      "table": true,
      "tojson": true
    },
    {
      "name": "multi_species_pca",
      "title": "Multi-Species PCA",
      "object": "multi_species_pca",
      "class": [
        "prcomp"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "multi_species_pca_data",
      "title": "Multi-Species PCA Data",
      "object": "multi_species_pca_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species",
        "PC1",
        "PC2",
        "PC3"
      ],
      "rows": 257,
      "table": true,
      "tojson": true
    },
    {
      "name": "new_species_metrics",
      "title": "The Collective Motion Metrics of a New Species",
      "object": "new_species_metrics",
      "class": [
        "data.frame"
      ],
      "fields": [
        "event",
        "N",
        "set",
        "start_time",
        "mean_mean_nnd",
        "mean_sd_nnd",
        "sd_mean_nnd",
        "mean_pol",
        "sd_pol",
        "cv_speed",
        "mean_sd_front",
        "mean_mean_bangl",
        "mean_shape",
        "sd_shape",
        "event_dur",
        "species"
      ],
      "rows": 60,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_rel_pos_coords",
      "title": "Relative Position Coordinates",
      "topics": [
        "add_rel_pos_coords"
      ]
    },
    {
      "page": "add_set_vels",
      "title": "Add Velocity Timeseries",
      "topics": [
        "add_set_vels"
      ]
    },
    {
      "page": "add_velocities",
      "title": "Add Velocity Timeseries Across Sets",
      "topics": [
        "add_velocities"
      ]
    },
    {
      "page": "calc_dur_per_event",
      "title": "Duration of Each Event",
      "topics": [
        "calc_dur_per_event"
      ]
    },
    {
      "page": "col_motion_metrics",
      "title": "Collective Motion Metrics",
      "topics": [
        "col_motion_metrics"
      ]
    },
    {
      "page": "col_motion_metrics_from_raw",
      "title": "Collective Motion Metrics from Raw Data",
      "topics": [
        "col_motion_metrics_from_raw"
      ]
    },
    {
      "page": "define_events",
      "title": "Define Events of Collective Motion",
      "topics": [
        "define_events"
      ]
    },
    {
      "page": "event_metrics",
      "title": "Metrics of Collective Motion",
      "topics": [
        "event_metrics"
      ]
    },
    {
      "page": "events_dur",
      "title": "Total Duration of All Events",
      "topics": [
        "events_dur"
      ]
    },
    {
      "page": "events_n",
      "title": "Number of Events",
      "topics": [
        "events_n"
      ]
    },
    {
      "page": "events_summary",
      "title": "Events Summary",
      "topics": [
        "events_summary"
      ]
    },
    {
      "page": "expand_pca_swarm_space",
      "title": "Expand Existing Swarm Space (PCA)",
      "topics": [
        "expand_pca_swarm_space"
      ]
    },
    {
      "page": "frontness",
      "title": "Frontness",
      "topics": [
        "frontness"
      ]
    },
    {
      "page": "get_event_ids",
      "title": "Event Indexes",
      "topics": [
        "get_event_ids"
      ]
    },
    {
      "page": "group_metrics",
      "title": "Group Metrics of Collective Motion",
      "topics": [
        "group_metrics"
      ]
    },
    {
      "page": "group_metrics_per_set",
      "title": "Group Metrics of Collective Motion in a Dataset",
      "topics": [
        "group_metrics_per_set"
      ]
    },
    {
      "page": "group_shape",
      "title": "Group Shape Based on a OOBB",
      "topics": [
        "group_shape"
      ]
    },
    {
      "page": "moving_average",
      "title": "Moving Average",
      "topics": [
        "moving_average"
      ]
    },
    {
      "page": "multi_species_metrics",
      "title": "Multi-Species Collective Motion Metrics",
      "topics": [
        "multi_species_metrics"
      ]
    },
    {
      "page": "multi_species_pca",
      "title": "Multi-Species PCA",
      "topics": [
        "multi_species_pca"
      ]
    },
    {
      "page": "multi_species_pca_data",
      "title": "Multi-Species PCA Data",
      "topics": [
        "multi_species_pca_data"
      ]
    },
    {
      "page": "new_species_metrics",
      "title": "The Collective Motion Metrics of a New Species",
      "topics": [
        "new_species_metrics"
      ]
    },
    {
      "page": "nn_metrics",
      "title": "Nearest Neighbour Metrics",
      "topics": [
        "nn_metrics"
      ]
    },
    {
      "page": "nnba",
      "title": "Bearing Angle to Nearest Neighbor",
      "topics": [
        "nnba"
      ]
    },
    {
      "page": "normalize_data",
      "title": "Normalize Data",
      "topics": [
        "normalize_data"
      ]
    },
    {
      "page": "pairwise_metrics",
      "title": "Pairwise Metrics of Collective Motion in a Dataset",
      "topics": [
        "pairwise_metrics"
      ]
    },
    {
      "page": "pick_threshold",
      "title": "Pick a Threshold for the Events' Definition",
      "topics": [
        "pick_threshold"
      ]
    },
    {
      "page": "set_data_format",
      "title": "Data Formatting",
      "topics": [
        "set_data_format"
      ]
    },
    {
      "page": "swarm_space",
      "title": "Create a Swarm Space",
      "topics": [
        "swarm_space"
      ]
    },
    {
      "page": "swaRmverse",
      "title": "swaRmverse: Swarm Space Creation",
      "topics": [
        "swaRmverse-package",
        "swaRmverse"
      ]
    }
  ],
  "_pkglogo": "https://github.com/marinapapa/swarmverse/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/marinapapa/swarmverse/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "data.table",
    "DBI",
    "dplyr",
    "e1071",
    "generics",
    "geosphere",
    "glue",
    "KernSmooth",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "pbapply",
    "pillar",
    "pkgconfig",
    "proxy",
    "R6",
    "Rcpp",
    "rlang",
    "Rtsne",
    "s2",
    "sf",
    "sp",
    "splancs",
    "swaRm",
    "tibble",
    "tidyselect",
    "timechange",
    "trackdf",
    "units",
    "utf8",
    "vctrs",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "step1_data_preparation.Rmd",
      "filename": "step1_data_preparation.html",
      "title": "1 - Data Preparation",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1.1 Input data - trackdf",
        "1.2 Transform data",
        "1.3 Multi-species or multi-context data"
      ],
      "created": "2022-12-29 20:26:45",
      "modified": "2024-03-12 10:14:08",
      "commits": 12
    },
    {
      "source": "step2_data_analysis.Rmd",
      "filename": "step2_data_analysis.html",
      "title": "2 - Data Analysis",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "2.1 Velocity estimations",
        "2.2 Group characteristics",
        "2.3 Pairwise measurements",
        "2.4 Metrics of collective motion"
      ],
      "created": "2023-03-21 15:14:07",
      "modified": "2024-10-10 11:46:30",
      "commits": 13
    },
    {
      "source": "step3_swarm_space.Rmd",
      "filename": "step3_swarm_space.html",
      "title": "3 - The Swarm-Verse",
      "author": "Marina Papadopoulou",
      "engine": "knitr::rmarkdown",
      "headings": [
        "3.1 Load data",
        "3.2 Build swarm space",
        "3.3 Expand existing swarm space",
        "3.4 Your own swarm space"
      ],
      "created": "2023-03-21 15:14:07",
      "modified": "2024-02-27 13:46:20",
      "commits": 9
    }
  ],
  "_score": 4.9084850188786495,
  "_indexed": true,
  "_nocasepkg": "swarmverse",
  "_universes": [
    "marinapapa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-10T18:08:08.000Z",
      "distro": "resolute",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/2832b75dd5656c3f7c4b2a04416dd68cd6740ac4649f483b986832c46069c55a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1",
      "date": "2026-10-10T18:08:10.000Z",
      "distro": "resolute",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/36a82b6ab59d14160edffd483f1405dbd5cd9bc25bb9d36c215b7b7e97f664af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-10T18:56:46.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/2132c2a5e780cf7d5721cea5da8b9f0d2e86e0cf9a758f2c9d6678b84daf8e41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1",
      "date": "2026-10-10T18:56:24.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/3e0176cbd28631d09bb945a5d3faad3ae03ddd7db58cb26c5f3eaea5d019de6b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1",
      "date": "2026-10-10T18:08:15.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/63e1e3e26013504e6cc5468ad4f796e20f0c562071a3a6704f1ece8b38942dc7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T18:06:50.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/89841cf72437e2146148fa93c81dd976a21794571579832ddab8800177e80d94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T18:07:07.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/ee4e6e1018279f878c80d6e921a217e6ee21c801fc9d6047be4aeb9f6076a337",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1",
      "date": "2026-10-10T18:06:53.000Z",
      "commit": "ddda2b9c1a316ce7d69461e2440183b51e40e66d",
      "fileid": "https://r2.ropensci.org/ae41e7512cc240910300a77dbfef5603da40be60f206bd39742ed2cfb2b41486",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/marinapapa/actions/runs/38074115315"
    }
  ]
}