getStepWindow: Get steps within a temporal window

Description Usage Arguments Value Author(s)

View source: R/utils-shiny.R

Description

Get steps within a temporal window

Usage

1
2
getStepWindow(conn, schema, view, time, interval, step_mode, info_cols,
  tstamp_start, tstamp_last)

Arguments

conn

DBI::DBIConnection

schema

String. Schema name.

view

String. View name.

time

String of the start time of the time window. Including time zone.

interval

lubridate::lubridate::period object of the time window

step_mode

Boolean. Detailed step info (TRUE) or aggregate

info_cols

Character vector of the infolocs columns of the pgtraj.

tstamp_start

POSIXct with timestamp. First time stamp in view.

tstamp_last

POSIXct with timestamp. Last time stamp in view.

Value

A simple feature object of the steps. NULL when out of range.

Author(s)

Balázs Dukai balazs.dukai@gmail.com


mablab/rpostgisLT documentation built on May 10, 2020, 9:35 a.m.