cran-task-views / Tracking

CRAN Task View: Processing and Analysis of Tracking Data
https://CRAN.R-project.org/view=Tracking
4 stars 0 forks source link

gtfs2gps: Converting Transport Data from GTFS Format to GPS-Like Records #23

Closed basille closed 2 years ago

basille commented 2 years ago

[initial thread from @rafapereirabr on 2020-07-19]

Is it on CRAN?
Yes

Are you the author of this package?
Yes.

If you are the author, does it pass check CRAN tests?
Yes.

Additional information:
In order to be included in the CTV Tracking, we would appreciate more information to help us determine how the package fits into the Tracking CTV scope.

Briefly, can you describe the purpose of this package and how it fits into the Tracking CTV?

gtfs2gps is an R package that converts public transportation data in GTFS format to GPS-like records in a data.frame/data.table, which can then be used in various applications such as running transport simulations or scenario analyses. The core function of the package takes a GTFS.zip file and interpolates the space-time position of each vehicle in each trip considering the network distance and average speed between stops. The output is a data.table where each row represents the timestamp of each vehicle at a given spatial resolution. The package also has some functions to subset GTFS data in time and space and to convert both representations to simple feature format.

In terms of the tracking workflow (see Figure in the CTV), where does the package fit? (Feel free to mention any particular functions and how they fit as well.)

The gtfs2gps package creates, transforms and analyses tracking data of public transport networks. It takes as an input a raw data set on the characteristics of public transport networks organized in standard GTFS format, which at the core is the geolocated time-table of the planned services of a public transport system. The package then runs a series of functions to interpolate the position of vehicles in space and time at high resolution, creating a data set that is close to a GPS-like representation of the whole transport network. The package has additional functions to build vehicle trajectories using simple feature points and linestrings.

This is a quick animated gif of a sample of bus routes in Sao Paulo, Brazil. This gif was created using the gtfs2gps package to process the data and ggplot2 and ggnamite for the data visualization.

basille commented 2 years ago

[reply from @birderboone]

Thanks for the detailed submission. Looks great! Our next update will be in December. I'll let you know of the status along the way.

basille commented 2 years ago

[reply from @rafapereirabr]

Hi all. Any updates on including gtfs2gps to the CRAN task view?

basille commented 2 years ago

[reply from @basille]

Hi @rafapereirabr, thanks for the reminder! And our apologies for our silence… We are well overdue an update of the Tracking CTV, but could not do it in time for various reasons. We hope to be able to run it soon (in the coming weeks), and gtfs2gps will be up for review then. We'll keep you posted here.

basille commented 2 years ago

[reply from @rafapereirabr]

Thanks, and no worries. Keep up the great work.

basille commented 2 years ago

[reply from @rociojoo]

@basille I confirm that this package should be accounted for in Tracking_tbl.csv and added which categories it corresponds to.

basille commented 2 years ago

[reply from @rociojoo]

I have added the package to the new version of the ctv that should be published within a month, I would say. Thank you for your patience!

basille commented 2 years ago

[reply from @rafapereirabr]

Thanks! And thank you for maintaining this cran task view!

basille commented 2 years ago

[reply from @basille]

The updated CTV is finally on-line: https://cran.r-project.org/view=Tracking

See official announcement on Twitter.