Extract ALL_FT+-based trajectories from PRISME database and convert to SO6 format.

export_allft_so6(wef, til, model = "CTFM", ...)

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 (excluded).

model

the trajectory model, one of FTFM, RTFM, CTFM, CPF

...

extra arguments passed to [export_model_trajectory].

Value

a dataframe of trajectory segments in SO6 format, see read_so6 for a description of the SO6 format.

Details

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

  • PRU_TEST_USR for the user id

  • PRU_TEST_PWD for the password

  • PRU_TEST_DBNAME for the database name

See also

Examples

if (FALSE) { # BEWARE: this can take some long-ish time export_allft_so6("2010-06-16", "2010-06-17", model = "FTFM") # reduce the time scope to get the data quicker (and smaller) export_allft_so6("2010-06-16 10:00", "2010-06-16T11:00:11") }