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
Add segments = "both" #80
Conversation
🔥 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some examples under @examples
.
@@ -196,7 +198,8 @@ batch = function( | |||
|
|||
get_routes = function(url, desire_lines = NULL, filename, directory, | |||
cols_to_keep = c("id", "name", "provisionName", "distances", "time", | |||
"quietness", "gradient_smooth")) { | |||
"quietness", "gradient_smooth"), | |||
segments = TRUE) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sensible default.
I think this is now working I had to make this change to get it working which I think is a bug in the current version |
Option to return both routes and segments as a list of two data frames rather than either-or choice
See nptscot/npt#243