Skip to content

topdowntimeratio

0.1.0Package record

Top-Down Time Ratio Segmentation for Coordinate Trajectories

0packages depend
2.6Kdownloads / year
65.2%test coverage
0/13flavors OK

Overview

About

Data collected on movement behavior is often in the form of time- stamped latitude/longitude coordinates sampled from the underlying movement behavior. These data can be compressed into a set of segments via the Top- Down Time Ratio Segmentation method described in Meratnia and de By (2004) doi:10.1007/978-3-540-24741-8_44 which, with some loss of information, can both reduce the size of the data as well as provide corrective smoothing mechanisms to help reduce the impact of measurement error. This is an improvement on the well-known Douglas-Peucker algorithm for segmentation that operates not on the basis of perpendicular distances. Top-Down Time Ratio segmentation allows for disparate sampling time intervals by calculating the distance between locations and segments with respect to time. Provided a trajectory with timestamps, tdtr() returns a set of straight- line segments that can represent the full trajectory. McCool, Lugtig, and Schouten (2022) doi:10.1007/s11116-022-10328-2 describe this method as implemented here in more detail.

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) getSegsExtra.Rd:14: Lost braces
    14 | \item{data}{data.table returned from function /code{tdtr}}
       |                                                    ^

CRAN check page ↗

Slowest check: 1.1 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-08
  • ERROR12 NOTE, 1 ERROR2026-06-07
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 205 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
11 (2 internal)includes a package overview page
Examples that run
100%4 run in a plain check
Exported functions with examples
50%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #22,014 · ~7/day · ~213/mo
Daily download trend is not available in this view yet.
21830 days
60290 days
2.6K1 year
Compare downloads with other packages →
Also on69 r2u3 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing topdowntimeratio adds 7 packages (5 with compiled code, 7.6 MB of source tarballs). Heaviest: data.table 5.7 MB, geodist 790 KB, lubridate 420 KB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2022)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.0Latest
    2022-09-22 · current release
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-22
Total releases
1 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1
Download size
29 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("topdowntimeratio")
McCool, D. (2022). topdowntimeratio: Top-Down Time Ratio Segmentation for Coordinate Trajectories (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.topdowntimeratio

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for topdowntimeratio version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy