Skip to content

Commit

Permalink
add example to berlin_gtfs_to_zip for #113
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Oct 28, 2024
1 parent eb4a039 commit f44364f
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: gtfsrouter
Title: Routing with 'GTFS' (General Transit Feed Specification) Data
Version: 0.1.2.021
Version: 0.1.2.022
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre")),
person("Marcin", "Stepniak", , "[email protected]", role = "aut",
Expand Down
6 changes: 6 additions & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
#' @return Path to newly created zip file
#' @family extract
#' @export
#'
#' @examples
#' path <- berlin_gtfs_to_zip ()
#' gtfs <- extract_gtfs (path)
#' gtfs <- gtfs_timetable (gtfs, day = "Wed") # A pre-processing step to speed up queries
#' gtfs_route (gtfs, from = "Tegel", to = "Berlin Hauptbahnhof", start_time = 12 * 3600)
berlin_gtfs_to_zip <- function () {
flist <- c (
"calendar.txt",
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"codeRepository": "https://github.com/UrbanAnalyst/gtfsrouter",
"issueTracker": "https://github.com/UrbanAnalyst/gtfsrouter/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.2.021",
"version": "0.1.2.022",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
6 changes: 6 additions & 0 deletions man/berlin_gtfs_to_zip.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f44364f

Please sign in to comment.