Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decode() function #3

Open
limmyjw opened this issue Oct 12, 2021 · 1 comment
Open

decode() function #3

limmyjw opened this issue Oct 12, 2021 · 1 comment
Assignees

Comments

@limmyjw
Copy link

limmyjw commented Oct 12, 2021

Hi, It looks like that if I use decode(trip$leg$shape) , it returns a list with two columns: lat lon.
But I have to divide the results (both lat and lon) by 10, to get the right coordinates.
afbeelding

@chris31415926535 chris31415926535 self-assigned this Jan 25, 2022
@chris31415926535
Copy link
Owner

Hi, sorry for the big delay. Thanks for flagging this.

Is this still an issue? Can you briefly describe your use case?

I've been thinking it could be useful to add a function called tidy_trip() (or something) that would take a trip object and return a "tidier" dataframe/tibble with one row per leg, possibly with nested data for leg shapes. Let me know if this might help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants