Skip to contents

Extract "Event"-based trajectories from PRISME database

Usage

export_event_trajectory(wef, til)

Arguments

wef

(UTC) timestamp of LOBT With Effect From (included). Liberal format, i.e. "2019-07-14", "2019-07-14 10:21" "2019-07-14T10:21:23Z"

til

(UTC) timestamp of LOBT TILl instant (excluded)

Value

a dataframe of trajectory points.

Details

You need to store your credentials to access the CPLX related tables in the following environment variables:

  • PRU_CPLX_USR for the user id

  • PRU_CPLX_PWD for the password

  • PRU_CPLX_DBNAME for the database name

Examples

if (FALSE) {
export_event_trajectory("2010-06-16", "2010-06-17")
export_event_trajectory("2010-06-16 10:00", "2010-06-16T11:00:00Z")
}