{
  "_id": "6a327a383efcd9bda4389cbc",
  "Package": "sftrack",
  "Title": "Modern Classes for Tracking and Movement Data",
  "Version": "0.5.5",
  "Date": "2026-05-17",
  "Authors@R": "c(\nperson(given = \"Matthew\",\nfamily = \"Boone\",\nrole = \"aut\",\nemail = \"mttboone@gmail.com\",\ncomment = c(ORCID = \"0000-0002-8070-4715\")),\nperson(given = \"Rocío\",\nfamily = \"Joo\",\nrole = \"aut\",\nemail = \"rocio.joo@globalfishingwatch.org\",\ncomment = c(ORCID = \"0000-0003-0319-4210\")),\nperson(given = \"Mathieu\",\nfamily = \"Basille\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mathieu@basille.org\",\ncomment = c(ORCID = \"0000-0001-9366-7127\")))",
  "Description": "Modern classes for tracking and movement data, building on\n'sf' spatial infrastructure, and early theoretical work from\nTurchin (1998, ISBN: 9780878938476), and Calenge et al. (2009)\n<doi:10.1016/j.ecoinf.2008.10.002>. Tracking data are series of\nlocations with at least 2-dimensional spatial coordinates\n(x,y), a time index (t), and individual identification (id) of\nthe object being monitored; movement data are made of\ntrajectories, i.e. the line representation of the path,\ncomposed by steps (the straight-line segments connecting\nsuccessive locations). 'sftrack' is designed to handle movement\nof both living organisms and inanimate objects.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "URL": "https://mablab.org/sftrack/, https://github.com/mablab/sftrack",
  "BugReports": "https://github.com/mablab/sftrack/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://mablab.r-universe.dev",
  "Date/Publication": "2026-05-18 06:47:32 UTC",
  "RemoteUrl": "https://github.com/mablab/sftrack",
  "RemoteRef": "HEAD",
  "RemoteSha": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-17 10:39:33 UTC",
    "User": "root"
  },
  "Author": "Matthew Boone [aut] (ORCID: <https://orcid.org/0000-0002-8070-4715>),\nRocío Joo [aut] (ORCID: <https://orcid.org/0000-0003-0319-4210>),\nMathieu Basille [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-9366-7127>)",
  "Maintainer": "Mathieu Basille <mathieu@basille.org>",
  "MD5sum": "a64f15f88118a1777cdc2af5f91212eb",
  "_user": "mablab",
  "_type": "src",
  "_file": "sftrack_0.5.5.tar.gz",
  "_fileid": "ce8a8556986409431d51c43a67a08ae6538d4c16bb65e37b33d9fbf2f5aefad0",
  "_filesize": 2581920,
  "_sha256": "ce8a8556986409431d51c43a67a08ae6538d4c16bb65e37b33d9fbf2f5aefad0",
  "_created": "2026-06-17T10:39:33.000Z",
  "_published": "2026-06-17T10:43:04.478Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81875231035,
      "time": 177,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7693001563"
    },
    {
      "job": 81875230898,
      "time": 162,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692998219"
    },
    {
      "job": 81875230997,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7692990719"
    },
    {
      "job": 81875230869,
      "time": 151,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692978645"
    },
    {
      "job": 81874633703,
      "time": 197,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692933844"
    },
    {
      "job": 81875230900,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692983044"
    },
    {
      "job": 81875230914,
      "time": 158,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7692994802"
    },
    {
      "job": 81875230878,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7692969512"
    },
    {
      "job": 81875230893,
      "time": 135,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7692986440"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mablab/sftrack",
  "_commit": {
    "id": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
    "author": "Mathieu Basille <mathieu@basille.org>",
    "committer": "Mathieu Basille <mathieu@basille.org>",
    "message": "v0.5.5 CRAN comments.\n",
    "time": 1779086852
  },
  "_maintainer": {
    "name": "Mathieu Basille",
    "email": "mathieu@basille.org",
    "login": "basille",
    "twitter": "@MathieuBasille",
    "description": "",
    "uuid": 4000337,
    "orcid": "0000-0001-9366-7127"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "utils",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "adehabitatLT",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "geosphere",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    }
  ],
  "_owner": "mablab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-21",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "movement",
    "tracking-data",
    "trajectory"
  ],
  "_stars": 54,
  "_contributors": [
    {
      "user": "birderboone",
      "count": 209,
      "uuid": 13904781
    },
    {
      "user": "basille",
      "count": 54,
      "uuid": 4000337
    },
    {
      "user": "rociojoo",
      "count": 2,
      "uuid": 18192913
    }
  ],
  "_userbio": {
    "uuid": 15928308,
    "type": "organization",
    "name": "MabLab",
    "followers": 3
  },
  "_downloads": {
    "count": 4551,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sftrack"
  },
  "_devurl": "https://github.com/mablab/sftrack",
  "_pkgdown": "https://mablab.org/sftrack/",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sftrack.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mablab/sftrack",
  "_realowner": "mablab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.2",
      "date": "2020-11-05"
    },
    {
      "version": "0.5.3",
      "date": "2021-07-01"
    },
    {
      "version": "0.5.4",
      "date": "2023-03-16"
    },
    {
      "version": "0.5.5",
      "date": "2026-05-18"
    }
  ],
  "_exports": [
    "active_group",
    "active_group<-",
    "as_sftrack",
    "as_sftraj",
    "calc_sort_index",
    "check_group_id",
    "check_group_names",
    "check_NA_coords",
    "check_NA_group",
    "check_names_exist",
    "check_ordered",
    "check_t_regular",
    "check_time",
    "coord_traj",
    "dup_timestamp",
    "fix_zero",
    "geom_sftrack",
    "group_labels",
    "group_names",
    "is_linestring",
    "make_c_grouping",
    "make_s_group",
    "make_step_geom",
    "merge_traj",
    "new_sftrack",
    "new_sftraj",
    "pts_traj",
    "step_metrics",
    "step_recalc",
    "summary_sftrack",
    "which_duplicated"
  ],
  "_datasets": [
    {
      "name": "raccoon",
      "title": "Movements of two raccoons in an urban park in Florida",
      "object": "raccoon",
      "class": [
        "data.frame"
      ],
      "fields": [
        "animal_id",
        "latitude",
        "longitude",
        "timestamp",
        "height",
        "hdop",
        "vdop",
        "fix"
      ],
      "rows": 445,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "active_group",
      "title": "Access the active_group value",
      "topics": [
        "active_group"
      ]
    },
    {
      "page": "active_group_replace",
      "title": "Set new active group",
      "topics": [
        "active_group<-",
        "active_group<-.c_grouping",
        "active_group<-.sftrack",
        "active_group<-.sftraj",
        "active_group_replace"
      ]
    },
    {
      "page": "as_sftrack",
      "title": "Convert objects into sftrack objects.",
      "topics": [
        "as_sftrack",
        "as_sftrack.data.frame",
        "as_sftrack.ltraj",
        "as_sftrack.sf",
        "as_sftrack.sftraj"
      ]
    },
    {
      "page": "as_sftraj",
      "title": "Convert objects into sftrack objects.",
      "topics": [
        "as_sftraj",
        "as_sftraj.data.frame",
        "as_sftraj.ltraj",
        "as_sftraj.sf",
        "as_sftraj.sftrack"
      ]
    },
    {
      "page": "calc_sort_index",
      "title": "Calculate a new sort index for groups",
      "topics": [
        "calc_sort_index"
      ]
    },
    {
      "page": "check_group_id",
      "title": "Check there is a grouping id present",
      "topics": [
        "check_group_id"
      ]
    },
    {
      "page": "check_group_names",
      "title": "Are group names equivalent for each s_group?",
      "topics": [
        "check_group_names"
      ]
    },
    {
      "page": "check_NA_coords",
      "title": "Check if coordinates contain NAs in some columns but not others",
      "topics": [
        "check_NA_coords"
      ]
    },
    {
      "page": "check_NA_group",
      "title": "Check there are no NAs in burst",
      "topics": [
        "check_NA_group"
      ]
    },
    {
      "page": "check_names_exist",
      "title": "Check if a set of column names are found in a data frame and return an error if not",
      "topics": [
        "check_names_exist"
      ]
    },
    {
      "page": "check_ordered",
      "title": "Checks if grouping is ordered by time and then outputs the correct order",
      "topics": [
        "check_ordered"
      ]
    },
    {
      "page": "check_t_regular",
      "title": "Check if time is regular for each burst and returns logical for each burst",
      "topics": [
        "check_t_regular"
      ]
    },
    {
      "page": "check_time",
      "title": "Check if time is integer or posix",
      "topics": [
        "check_time"
      ]
    },
    {
      "page": "dup_timestamp",
      "title": "check that time is unique",
      "topics": [
        "dup_timestamp"
      ]
    },
    {
      "page": "fix_zero",
      "title": "fix 0's to NAs in latitude and longitude",
      "topics": [
        "fix_zero"
      ]
    },
    {
      "page": "geom_sftrack",
      "title": "Function to plot sftrack objects in ggplot",
      "topics": [
        "geom_sftrack",
        "geom_sftrack.sftrack",
        "geom_sftrack.sftraj"
      ]
    },
    {
      "page": "group_labels",
      "title": "Shows grouping labels created from the s_group and the c_grouping",
      "topics": [
        "group_labels",
        "group_labels.c_grouping",
        "group_labels.sftrack",
        "group_labels.sftraj"
      ]
    },
    {
      "page": "group_name",
      "title": "Display the levels of the sort index",
      "topics": [
        "group_name",
        "group_names",
        "group_names.c_grouping",
        "group_names.sftrack",
        "group_names.sftraj"
      ]
    },
    {
      "page": "grouping-class",
      "title": "A class to group movement data",
      "topics": [
        "c.c_grouping",
        "c.s_group",
        "grouping-class",
        "make_c_grouping",
        "make_s_group"
      ]
    },
    {
      "page": "is_linestring",
      "title": "Is a trajectory geometry a linestring or a point",
      "topics": [
        "is_linestring"
      ]
    },
    {
      "page": "make_step_geom",
      "title": "Calculate step geometries given a set of groupings, time, and geometries",
      "topics": [
        "make_step_geom"
      ]
    },
    {
      "page": "merge_traj",
      "title": "Merge connected lines and create an sf object",
      "topics": [
        "merge_traj"
      ]
    },
    {
      "page": "new_sftrack",
      "title": "Define an sftrack",
      "topics": [
        "new_sftrack"
      ]
    },
    {
      "page": "new_sftraj",
      "title": "Define an sftraj",
      "topics": [
        "new_sftraj"
      ]
    },
    {
      "page": "plot_sftrack",
      "title": "Methods for plotting sftrack/sftraj",
      "topics": [
        "plot.sftrack",
        "plot.sftraj",
        "plot_sftrack"
      ]
    },
    {
      "page": "Print_sftrack_objects",
      "title": "Print methods for sftrack",
      "topics": [
        "print.sftrack",
        "Print_sftrack_objects"
      ]
    },
    {
      "page": "Print_sftraj_objects",
      "title": "Print methods for sftraj",
      "topics": [
        "print.sftraj",
        "Print_sftraj_objects"
      ]
    },
    {
      "page": "raccoon",
      "title": "Movements of two raccoons in an urban park in Florida",
      "topics": [
        "raccoon"
      ]
    },
    {
      "page": "step_metrics",
      "title": "Calculates step metrics including distance, dt, dx, and dy.",
      "topics": [
        "step_metrics"
      ]
    },
    {
      "page": "step_recalc",
      "title": "recalculate step geometry",
      "topics": [
        "step_recalc"
      ]
    },
    {
      "page": "summary_sftrack",
      "title": "Summarize sftrack objects",
      "topics": [
        "summary_sftrack"
      ]
    },
    {
      "page": "traj_geom",
      "title": "Return a list of sf_POINTS or a data.frame from a sftraj object",
      "topics": [
        "coord_traj",
        "pts_traj",
        "traj_geom"
      ]
    },
    {
      "page": "which_duplicated",
      "title": "Which grouping/time stamp combos are duplicated.",
      "topics": [
        "which_duplicated"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mablab/sftrack/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mablab/sftrack/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "DBI",
    "e1071",
    "KernSmooth",
    "MASS",
    "proxy",
    "Rcpp",
    "s2",
    "sf",
    "units",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "sftrack1_overview.Rmd",
      "filename": "sftrack1_overview.html",
      "title": "Overview of sftrack ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Definitions of movement data",
        "Tracking and movement data analyses",
        "A conceptual model for movement",
        "Tracking locations",
        "Tracking data",
        "Steps",
        "Trajectories",
        "Implementation in the sftrack package",
        "sftrack objects",
        "sftraj object"
      ],
      "created": "2020-06-22 20:05:37",
      "modified": "2023-03-15 19:38:34",
      "commits": 10
    },
    {
      "source": "sftrack2_reading.Rmd",
      "filename": "sftrack2_reading.html",
      "title": "Reading in an sftrack ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading in raw data",
        "Vector vs. data.frame inputs",
        "Arguments",
        "Vector inputs",
        "data.frame inputs",
        "Conversion mode",
        "Import from ltraj",
        "sf objects",
        "Intra-package conversion between classes",
        "Duplicated data"
      ],
      "created": "2020-06-22 20:05:37",
      "modified": "2023-03-15 19:38:34",
      "commits": 9
    },
    {
      "source": "sftrack3_workingwith.Rmd",
      "filename": "sftrack3_workingwith.html",
      "title": "Structure of sftrack/sftraj objects ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Geometry",
        "Grouping",
        "Time",
        "Error",
        "Subsetting",
        "Some basic methods and functions of sftrack and sftraj objects",
        "print",
        "summary",
        "summary_sftrack"
      ],
      "created": "2020-06-22 20:05:37",
      "modified": "2023-03-15 19:38:34",
      "commits": 20
    },
    {
      "source": "sftrack4_groups.Rmd",
      "filename": "sftrack4_groups.html",
      "title": "Fantastic Groups and how to use them ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Single groups (s_group)",
        "Column groupings (c_grouping)",
        "Selecting a grouping",
        "Active group"
      ],
      "created": "2020-09-13 22:52:16",
      "modified": "2023-03-15 19:38:34",
      "commits": 5
    },
    {
      "source": "sftrack5_spatial.Rmd",
      "filename": "sftrack5_spatial.html",
      "title": "Getting Spatial with sftrack ",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Geometry column",
        "Working with sf",
        "Plotting",
        "Base plotting",
        "ggplot2",
        "Special functions for working with an sftraj",
        "Step mode in plotting",
        "coord_traj",
        "pts_traj",
        "is_linestring",
        "Calculating step metrics of an sftraj"
      ],
      "created": "2020-06-22 20:05:37",
      "modified": "2023-03-15 19:38:34",
      "commits": 14
    }
  ],
  "_score": 7.5665918543850434,
  "_indexed": true,
  "_nocasepkg": "sftrack",
  "_universes": [
    "mablab",
    "basille"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-06-17T10:42:22.000Z",
      "distro": "noble",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "dfda17372666f997aedf6c13e5bc98fabf6d6e42193b0b3d61e0dec2c42c7c91",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-06-17T10:42:15.000Z",
      "distro": "noble",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "0c4d8c84a540f278b32943b15f7f4d25361648b1f302efdf1ec9caa2388a1c8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-06-17T10:41:59.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "1e0087b1412a42483e2955af091aa038ba274534f72b842500ca4bf240e62658",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-06-17T10:41:27.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "bdcda6a0b874292cd7f013e0b81973a292e9190d8abe715356ec362957ab4cf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5",
      "date": "2026-06-17T10:41:56.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "b3e75e884eb21d6ca8db3f9ac03e237f78e848a792816aa895f3ec6f9c4361bf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-06-17T10:41:53.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "f58593ff66b67bcc93f37052302efdc63e1653893f82ef0b979ca98f23a9148c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-06-17T10:40:53.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "15634b1cff00ea28a7232a2edce7770aa4ea37227b880226f3b8a4d7883051c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-06-17T10:41:34.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "1089ceb66d5de46dee346b1753fb825c3643b17b3335b83f2b71bc3b521f26f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/27682928000"
    }
  ]
}