gtfstools | General Transit Feed Specification Editing | Web Services library
kandi X-RAY | gtfstools Summary
kandi X-RAY | gtfstools Summary
gtfstools offers a set of convenient tools for editing and analysing transit feeds in GTFS format. Feeds are read as a list of data.tables, allowing for easy and fast data manipulation. Many of this package’s features are based on functions from other packages, especially {tidytransit} and {gtfs2gps}.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gtfstools
gtfstools Key Features
gtfstools Examples and Code Snippets
install.packages("gtfstools")
# either
install.packages("gtfstools", repos = "https://dhersz.r-universe.dev")
# or
# install.packages("remotes")
remotes::install_github("ipeaGIT/gtfstools")
Community Discussions
Trending Discussions on gtfstools
QUESTION
I'm building a package that imports {sf}
, and more specifically I use st_length()
in one of my functions.
I initially added only {sf}
to my package "Imports", but when I checked it I got a few {lwgeom}
related errors:
ANSWER
Answered 2021-Feb-19 at 21:23You can consider adding the {lwgeom}
package in Suggests field of your package DESCRIPTION file. It should do the trick.
QUESTION
I know the function has an quiet
argument, but I'm trying to suppress the message when quiet = FALSE
.
This may be weird, but I came across this issue when testing a package I'm writing. I'm using testthat::expect_message()
when setting quiet = FALSE
, but the function is not actually suppressing the message (it should, and in fact it usually does with "normal" messages).
I tried it with suppressMessages()
, but it didn't work as expected:
ANSWER
Answered 2021-Feb-10 at 14:41suppressMessages()
doesn't work because the progress text isn't an R message()
, it's the stdout of the the system library that download.file()
delegates the actual downloading to (e.g. libcurl
, wget
or wininet
). quiet = TRUE
bypasses this by setting the appropriate command line option of that tool.
You can divert stdout from the R console to a file with sink()
. Since you don't need it, you can use nullfile()
to open a file connection to the platform-dependent null device:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gtfstools
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page