Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

getGPS fails if you convert ts to POSIX before running as in example #37

@plorch

Description

@plorch

If you follow the examples in 5.5.2 and 5.5.3, and run getGPS(), you will get errors because getGPS() expects ts to not be POSIX. You can fix this by running something like the code below first (leaving off the part converting the ts to POSIX timestamps from the code block immediately above the gps_index example).

df.alltags.sub <- tbl.filtered.alltags %>% 
  filter(probability == 1) %>%
  collect() %>%
  as.data.frame()

This highlights an inconsistency that many functions need ts in timestamp format, but not getGPS()

This is also related to issue #36 in that there are other places in the book where df.alltags.sub is generated without converting ts to a POSIX timestamp.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions