{
  "_id": "6a1f06fcb401979e7341bd8d",
  "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-05-18 06:58:22 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": "d2ff0cd66ae77ea281eeba1758e378b5",
  "_user": "mablab",
  "_type": "src",
  "_file": "sftrack_0.5.5.tar.gz",
  "_fileid": "2cbf85c48b5d79dfe8d4bfbe773dc083e066989ebc3280d7af60622ea80adc3b",
  "_filesize": 2577269,
  "_sha256": "2cbf85c48b5d79dfe8d4bfbe773dc083e066989ebc3280d7af60622ea80adc3b",
  "_created": "2026-05-18T06:58:22.000Z",
  "_published": "2026-06-02T16:38:20.220Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79122416779,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051367154"
    },
    {
      "job": 79122416962,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051368917"
    },
    {
      "job": 79122417258,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051350198"
    },
    {
      "job": 79122416694,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051357659"
    },
    {
      "job": 79122416581,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051325601"
    },
    {
      "job": 79122415985,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363981459"
    },
    {
      "job": 79122416706,
      "time": 95,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7051350860"
    },
    {
      "job": 79122416866,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7051351694"
    },
    {
      "job": 79122416792,
      "time": 116,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7051356487"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718",
  "_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"
  },
  "_downloads": {
    "count": 3753,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sftrack"
  },
  "_devurl": "https://github.com/mablab/sftrack",
  "_pkgdown": "https://mablab.org/sftrack/",
  "_searchresults": 8,
  "_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",
    "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"
    }
  ],
  "_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.306772324236052,
  "_indexed": true,
  "_nocasepkg": "sftrack",
  "_universes": [
    "mablab",
    "basille"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-05-18T07:00:46.000Z",
      "distro": "noble",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "7cd5c189fe4ed6e64012561c339cdf94543cfe75e1236cf4ed00a50676d80e0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.5.5",
      "date": "2026-05-18T07:00:53.000Z",
      "distro": "noble",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "905f961e5c6d989349581127cfd3515615cf2322441b46dddc0973ebcd4ee4b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-05-18T06:59:54.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "dcc71e882faa5e2af4e263924d3bdfe3ad6990f031e4e20543265874035a7798",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.5.5",
      "date": "2026-05-18T07:00:12.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "3bb1ef955a9bf8b7988dc436c344fa01c239c17666012469287624007c58ae25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-18T06:59:43.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "ad56cbbcd6a71dadb6f03b8e003b98b36178de2720fd13ea670ab1ffa5e8c652",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-18T06:59:47.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "69f4a39aca001ac23494e3c9e7648a8b816fab7914c46292afb1e78583ddf51e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.5.5",
      "date": "2026-05-18T07:00:03.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "b3b5767e887a5fab00478d4f5455b18069f52fbe9f960a9c4d1c86fc6f6d07f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.5",
      "date": "2026-06-02T16:38:03.000Z",
      "commit": "e3ea81509651bba4cf2b13b65fc7e1acfddd9ece",
      "fileid": "b905d1a1a6a5b05f15f41edeedc0f8d005245015c94e8767dee8972577916c5a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mablab/actions/runs/26018298718"
    }
  ]
}