diff --git a/404.html b/404.html index 4b613ef..2ad9024 100644 --- a/404.html +++ b/404.html @@ -25,7 +25,7 @@ - +
- +
@@ -110,16 +110,16 @@

Page not found (404)

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/LICENSE-text.html b/LICENSE-text.html index 3469a86..d9c0aab 100644 --- a/LICENSE-text.html +++ b/LICENSE-text.html @@ -3,7 +3,7 @@ - +
- +
@@ -750,15 +750,15 @@

License

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/articles/ATOC.html b/articles/ATOC.html index 2b35723..aafdde4 100644 --- a/articles/ATOC.html +++ b/articles/ATOC.html @@ -18,15 +18,13 @@ - - - +
- +
@@ -92,9 +90,9 @@

ATOC - Train Timetables

Malcolm Morgan

-

2024-05-08

+

2024-09-11

- Source: vignettes/ATOC.Rmd + Source: vignettes/ATOC.Rmd
@@ -205,9 +203,7 @@

Agency +

@@ -220,16 +216,16 @@

Agency

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/articles/GTFS.html b/articles/GTFS.html index acf273d..aeecbb5 100644 --- a/articles/GTFS.html +++ b/articles/GTFS.html @@ -18,15 +18,13 @@ - - - +
- +
@@ -91,7 +89,7 @@

GTFS Functions

- Source: vignettes/GTFS.Rmd + Source: vignettes/GTFS.Rmd
@@ -129,9 +127,7 @@

Manupulating GTFS - -

+
@@ -144,16 +140,16 @@

Manupulating GTFS

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/articles/index.html b/articles/index.html index 8ce9891..a6e2084 100644 --- a/articles/index.html +++ b/articles/index.html @@ -3,7 +3,7 @@ - +
- +
@@ -79,15 +79,15 @@

All vignettes

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/articles/transxchange.html b/articles/transxchange.html index aeeb7d6..9aa35db 100644 --- a/articles/transxchange.html +++ b/articles/transxchange.html @@ -18,15 +18,13 @@ - - - +
- +
@@ -93,9 +91,9 @@

TransXchange - Bus, Tram, and Tube

Malcolm Morgan

-

2024-05-08

+

2024-09-11

- Source: vignettes/transxchange.Rmd + Source: vignettes/transxchange.Rmd
@@ -177,9 +175,7 @@

Stop Locations - The NaPTAN - -

+
@@ -192,16 +188,16 @@

Stop Locations - The NaPTAN

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/authors.html b/authors.html index 599bb60..d470b6d 100644 --- a/authors.html +++ b/authors.html @@ -3,7 +3,7 @@ - +
- +
@@ -60,31 +60,31 @@

Authors and Citation

- +
  • Malcolm Morgan. Author, maintainer.

  • -

    Adrian Schönig. Contributor. +

    Adrian Schönig. Contributor.

  • -

    Owen O'Neill. Contributor. +

    Owen O'Neill. Contributor.

Citation

- Source: DESCRIPTION + Source: DESCRIPTION

Morgan M (2024). UK2GTFS: Converts UK transport timetable datasets to GTFS format. -R package version 0.2.1, https://itsleeds.git.io/uk2gtfs/, https://github.com/itsleeds/uk2gtfs. +R package version 0.2.1, https://itsleeds.git.io/uk2gtfs/, https://github.com/itsleeds/uk2gtfs.

@Manual{,
   title = {UK2GTFS: Converts UK transport timetable datasets to GTFS format},
@@ -105,15 +105,15 @@ 

Citation

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/index.html b/index.html index d85e97b..a1011ff 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ - +
- +
@@ -204,16 +204,16 @@

Developers

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/pkgdown.yml b/pkgdown.yml index d5076a9..26a887f 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -1,9 +1,8 @@ pandoc: 3.1.11 -pkgdown: 2.0.9 +pkgdown: 2.1.0 pkgdown_sha: ~ articles: ATOC: ATOC.html GTFS: GTFS.html transxchange: transxchange.html -last_built: 2024-05-08T21:07Z - +last_built: 2024-09-11T13:38Z diff --git a/reference/ATOC_shapes.html b/reference/ATOC_shapes.html index 312780c..36ca764 100644 --- a/reference/ATOC_shapes.html +++ b/reference/ATOC_shapes.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,15 @@

Make shapes.txt for train GTFS

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

Value

- - -

Returns a gtfs object

+

Returns a gtfs object

Details

@@ -98,15 +98,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/activity_codes.html b/reference/activity_codes.html index c91bf34..f761c82 100644 --- a/reference/activity_codes.html +++ b/reference/activity_codes.html @@ -3,7 +3,7 @@ - +
- +
@@ -95,15 +95,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/atoc2gtfs.html b/reference/atoc2gtfs.html index f82f144..d6939c7 100644 --- a/reference/atoc2gtfs.html +++ b/reference/atoc2gtfs.html @@ -3,7 +3,7 @@ - +
- +
@@ -80,36 +80,38 @@

ATOC to GTFS

Arguments

-
path_in
+ + +
path_in

Character, path to ATOC file e.g."C:/input/ttis123.zip"

-
silent
+
silent

Logical, should progress messages be suppressed (default TRUE)

-
ncores
+
ncores

Numeric, When parallel processing how many cores to use (default 1)

-
locations
+
locations

where to get tiploc locations (see details)

-
agency
+
agency

where to get agency.txt (see details)

-
shapes
+
shapes

Logical, should shapes.txt be generated (default FALSE)

-
transfers
+
transfers

Logical, should transfers.txt be generated (default TRUE)

-
missing_tiplocs
+
missing_tiplocs

Logical, if locations = tiplocs, then will check for any missing tiplocs against the main file and add them.(default TRUE)

@@ -133,7 +135,7 @@

Details

See also

-

Other main: +

Other main: nr2gtfs()

@@ -149,15 +151,15 @@

See also

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/dl_example_file.html b/reference/dl_example_file.html index b8891e9..d52b85f 100644 --- a/reference/dl_example_file.html +++ b/reference/dl_example_file.html @@ -5,7 +5,7 @@ - +
- +
@@ -75,11 +75,13 @@

Download Test Files

Arguments

-
path
+ + +
path

path to folder

-
type
+
type

If "atoc" then downloads ATOC CIF, else TransXchange

@@ -96,15 +98,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/get_bank_holidays.html b/reference/get_bank_holidays.html index 5574a71..31886e2 100644 --- a/reference/get_bank_holidays.html +++ b/reference/get_bank_holidays.html @@ -4,7 +4,7 @@ - +
- +
@@ -76,19 +76,19 @@

Get Bank Holiday Calendar

Arguments

-
url_ew
+ + +
url_ew

url to ics file for England and Wales

-
url_scot
+
url_scot

url to ics file for Scotland

Value

- - -

data frame

+

data frame

Details

@@ -110,15 +110,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/get_naptan.html b/reference/get_naptan.html index 00aeedf..a26d903 100644 --- a/reference/get_naptan.html +++ b/reference/get_naptan.html @@ -4,7 +4,7 @@ - +
- +
@@ -76,19 +76,19 @@

Get naptan

Arguments

-
url
+ + +
url

character, url to the csv format NaPTAN

-
naptan_extra
+
naptan_extra

data frame of missing stops default uses `naptan_missing`

Value

- - -

data frame of stop locations

+

data frame of stop locations

Details

@@ -109,15 +109,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_clean.html b/reference/gtfs_clean.html index 83c0657..42cfa7d 100644 --- a/reference/gtfs_clean.html +++ b/reference/gtfs_clean.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,11 +71,13 @@

Clean simple errors from GTFS files

Arguments

-
gtfs
+ + +
gtfs

gtfs list

-
removeNonPublic
+
removeNonPublic

logical if TRUE remove routes with route_type missing

@@ -102,15 +104,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_clip.html b/reference/gtfs_clip.html index c0bb5e9..2d1f10e 100644 --- a/reference/gtfs_clip.html +++ b/reference/gtfs_clip.html @@ -5,7 +5,7 @@ - +
- +
@@ -75,11 +75,13 @@

Clip a GTFS object to a geographical area

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

-
bounds
+
bounds

an sf data frame of polygons or multi-polygons with CRS 4326

@@ -96,15 +98,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_compress.html b/reference/gtfs_compress.html index c480db6..643e014 100644 --- a/reference/gtfs_compress.html +++ b/reference/gtfs_compress.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,15 @@

Reduce file size of a GTFS object

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

Value

- - -

a gtfs object

+

a gtfs object

Details

@@ -102,15 +102,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_fast_stops.html b/reference/gtfs_fast_stops.html index 38d25ff..0e5c0cb 100644 --- a/reference/gtfs_fast_stops.html +++ b/reference/gtfs_fast_stops.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,11 +71,13 @@

Find fast stops

Arguments

-
gtfs
+ + +
gtfs

list of gtfs tables

-
maxspeed
+
maxspeed

the maximum allowed speed in metres per second default 83 m/s (about 185 mph the max speed of trains on HS1 line)

@@ -100,15 +102,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_fast_trips.html b/reference/gtfs_fast_trips.html index 34ba239..dc518b0 100644 --- a/reference/gtfs_fast_trips.html +++ b/reference/gtfs_fast_trips.html @@ -5,7 +5,7 @@ - +
- +
@@ -75,16 +75,18 @@

Find fast trips

Arguments

-
gtfs
+ + +
gtfs

list of gtfs tables

-
maxspeed
+
maxspeed

the maximum allowed speed in metres per second default 83 m/s (about 185 mph the max speed of trains on HS1 line)

-
routes
+
routes

logical, do one trip per route, faster but may miss some trips

@@ -108,15 +110,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_force_valid.html b/reference/gtfs_force_valid.html index ac5fdf5..cd2f3da 100644 --- a/reference/gtfs_force_valid.html +++ b/reference/gtfs_force_valid.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Force a GTFS to be valid by removing problems

Arguments

-
gtfs
+ + +
gtfs

gtfs object

@@ -99,15 +101,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_interpolate_times.html b/reference/gtfs_interpolate_times.html index e68fe34..8cb588f 100644 --- a/reference/gtfs_interpolate_times.html +++ b/reference/gtfs_interpolate_times.html @@ -6,7 +6,7 @@ - +
- +
@@ -77,11 +77,13 @@

Interpolate stop times

Arguments

-
gtfs
+ + +
gtfs

named list of data.frames

-
ncores
+
ncores

number of cores to use

@@ -105,15 +107,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_merge.html b/reference/gtfs_merge.html index 12d4023..e8603e3 100644 --- a/reference/gtfs_merge.html +++ b/reference/gtfs_merge.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,17 @@

merge a list of gtfs files

Arguments

-
gtfs_list
+ + +
gtfs_list

a list of gtfs objects to be merged

-
force
+
force

logical, if TRUE duplicated values are merged taking the fist

-
quiet
+
quiet

logical, if TRUE less messages instance to be the correct instance, in most cases this is ok, but may cause some errors

@@ -98,15 +100,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_read.html b/reference/gtfs_read.html index ea47eec..2fa7f1a 100644 --- a/reference/gtfs_read.html +++ b/reference/gtfs_read.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Read GTFS

Arguments

-
path
+ + +
path

character, path to GTFS zip folder

@@ -88,15 +90,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_routes_sf.html b/reference/gtfs_routes_sf.html index b200ebd..81d3198 100644 --- a/reference/gtfs_routes_sf.html +++ b/reference/gtfs_routes_sf.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,15 @@

Make routes into an SF object

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

Value

- - -

sf data frame of lines

+

sf data frame of lines

@@ -94,15 +94,15 @@

Value

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_split.html b/reference/gtfs_split.html index 7a7c18b..262b16c 100644 --- a/reference/gtfs_split.html +++ b/reference/gtfs_split.html @@ -6,7 +6,7 @@ - +
- +
@@ -77,19 +77,19 @@

Split a GTFS object

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

-
n_split
+
n_split

how many to split into default 2

Value

- - -

a list of GTFS objects

+

a list of GTFS objects

@@ -104,15 +104,15 @@

Value

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_split_ids.html b/reference/gtfs_split_ids.html index cbfb242..e079588 100644 --- a/reference/gtfs_split_ids.html +++ b/reference/gtfs_split_ids.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,19 +71,19 @@

Split a GTFS object based on trip_ids

Arguments

-
gtfs
+ + +
gtfs

gtfs list

-
trip_ids
+
trip_ids

a vector of trips ids

Value

- - -

Returns a named list of two gtfs objects. The `true` list contains +

Returns a named list of two gtfs objects. The `true` list contains trips that matched `trip_ids` the `false` list contains all other trips.

@@ -99,15 +99,15 @@

Value

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_stop_frequency.html b/reference/gtfs_stop_frequency.html new file mode 100644 index 0000000..ef1de90 --- /dev/null +++ b/reference/gtfs_stop_frequency.html @@ -0,0 +1,116 @@ + +Count the number of trips stopping at each stop between two dates — gtfs_stop_frequency • UK2GTFS + + +
+
+ + + +
+
+ + +
+

Count the number of trips stopping at each stop between two dates

+
+ +
+
gtfs_stop_frequency(
+  gtfs,
+  startdate = lubridate::ymd("2020-03-01"),
+  enddate = lubridate::ymd("2020-04-30")
+)
+
+ +
+

Arguments

+ + +
gtfs
+

GTFS object from gtfs_read()

+ + +
startdate
+

Start date

+ + +
enddate
+

End date

+ +
+ +
+ +
+ + +
+ +
+

Site built with pkgdown 2.1.0.

+
+ +
+ + + + + + + + diff --git a/reference/gtfs_stops_sf.html b/reference/gtfs_stops_sf.html index 0424d3d..a9e8311 100644 --- a/reference/gtfs_stops_sf.html +++ b/reference/gtfs_stops_sf.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,15 @@

Make stops into an SF object

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

Value

- - -

sf data frame of points

+

sf data frame of points

@@ -94,15 +94,15 @@

Value

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_trim_dates.html b/reference/gtfs_trim_dates.html new file mode 100644 index 0000000..49c8941 --- /dev/null +++ b/reference/gtfs_trim_dates.html @@ -0,0 +1,116 @@ + +Trim a GTFS file between two dates — gtfs_trim_dates • UK2GTFS + + +
+
+ + + +
+
+ + +
+

Trim a GTFS file between two dates

+
+ +
+
gtfs_trim_dates(
+  gtfs,
+  startdate = lubridate::ymd("2020-03-01"),
+  enddate = lubridate::ymd("2020-04-30")
+)
+
+ +
+

Arguments

+ + +
gtfs
+

GTFS object from gtfs_read()

+ + +
startdate
+

Start date

+ + +
enddate
+

End date

+ +
+ +
+ +
+ + +
+ +
+

Site built with pkgdown 2.1.0.

+
+ +
+ + + + + + + + diff --git a/reference/gtfs_trips_per_zone.html b/reference/gtfs_trips_per_zone.html new file mode 100644 index 0000000..ba52a43 --- /dev/null +++ b/reference/gtfs_trips_per_zone.html @@ -0,0 +1,131 @@ + +Trim a GTFS file between two dates — gtfs_trips_per_zone • UK2GTFS + + +
+
+ + + +
+
+ + +
+

Trim a GTFS file between two dates

+
+ +
+
gtfs_trips_per_zone(
+  gtfs,
+  zone,
+  startdate = min(gtfs$calendar$start_date),
+  enddate = min(gtfs$calendar$start_date) + 31,
+  zone_id = 1,
+  by_mode = TRUE
+)
+
+ +
+

Arguments

+ + +
gtfs
+

GTFS object from gtfs_read()

+ + +
zone
+

SF data frame of polygons

+ + +
startdate
+

Start date

+ + +
enddate
+

End date

+ + +
zone_id
+

Which column in `zone` is the ID column

+ + +
by_mode
+

logical, disaggregate by mode?

+ +
+ +
+ +
+ + +
+ +
+

Site built with pkgdown 2.1.0.

+
+ +
+ + + + + + + + diff --git a/reference/gtfs_trips_sf.html b/reference/gtfs_trips_sf.html index f800593..66c30d7 100644 --- a/reference/gtfs_trips_sf.html +++ b/reference/gtfs_trips_sf.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,15 @@

Make trips into an SF object

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

Value

- - -

sf data frame of lines

+

sf data frame of lines

@@ -94,15 +94,15 @@

Value

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_validate_internal.html b/reference/gtfs_validate_internal.html index 427bbae..4baface 100644 --- a/reference/gtfs_validate_internal.html +++ b/reference/gtfs_validate_internal.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Validate a GTFS object (in R)

Arguments

-
gtfs
+ + +
gtfs

a gtfs object

@@ -88,15 +90,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/gtfs_write.html b/reference/gtfs_write.html index 465037d..23cbabc 100644 --- a/reference/gtfs_write.html +++ b/reference/gtfs_write.html @@ -4,7 +4,7 @@ - +
- +
@@ -81,31 +81,33 @@

Write GTFS

Arguments

-
gtfs
+ + +
gtfs

named list of data.frames

-
folder
+
folder

folder to save the gtfs file to

-
name
+
name

the name of the zip file without the .zip extension, default "gtfs"

-
stripComma
+
stripComma

logical, should commas be stripped from text, default = TRUE

-
stripTab
+
stripTab

logical, should tab be stripped from text, default = TRUE

-
stripNewline
+
stripNewline

logical, should newline tag be stripped from text, default = TRUE

-
quote
+
quote

logical, should strings be quoted, default = FALSE, passed to data.table::fwrite

@@ -122,15 +124,15 @@

Arguments

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/importALF.html b/reference/importALF.html index 1f14ff7..7f0be2e 100644 --- a/reference/importALF.html +++ b/reference/importALF.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Import the .alf file

Arguments

-
file
+ + +
file

Path to .alf file

@@ -92,15 +94,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/importFLF.html b/reference/importFLF.html index fc1961c..426c225 100644 --- a/reference/importFLF.html +++ b/reference/importFLF.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Import the .flf file

Arguments

-
file
+ + +
file

Path to .flf file

@@ -92,15 +94,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/importMCA.html b/reference/importMCA.html index 488ab75..3197506 100644 --- a/reference/importMCA.html +++ b/reference/importMCA.html @@ -3,7 +3,7 @@ - +
- +
@@ -77,23 +77,25 @@

Import the .mca file

Arguments

-
file
+ + +
file

Path to .mca file

-
silent
+
silent

logical, should messages be displayed

-
ncores
+
ncores

number of cores to use when paralell processing

-
full_import
+
full_import

import all data, default FALSE

-
working_timetable
+
working_timetable

use rail industry scheduling times instead of public times

@@ -114,15 +116,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/importMSN.html b/reference/importMSN.html index 9f7e443..b73e732 100644 --- a/reference/importMSN.html +++ b/reference/importMSN.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,11 +71,13 @@

Import the .msm file

Arguments

-
file
+ + +
file

Path to .flf file

-
silent
+
silent

logical, should messages be displayed

@@ -96,15 +98,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/importTSI.html b/reference/importTSI.html index 3d0c50e..e0ef237 100644 --- a/reference/importTSI.html +++ b/reference/importTSI.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,7 +71,9 @@

Import the .tsi file

Arguments

-
file
+ + +
file

Path to .tsi file

@@ -92,15 +94,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/index.html b/reference/index.html index fdd0de6..a59d72c 100644 --- a/reference/index.html +++ b/reference/index.html @@ -1,9 +1,9 @@ -Function reference • UK2GTFSPackage index • UK2GTFS - +
- +
@@ -135,10 +135,22 @@

All functions gtfs_split_ids()

Split a GTFS object based on trip_ids

+ +

gtfs_stop_frequency()

+ +

Count the number of trips stopping at each stop between two dates

gtfs_stops_sf()

Make stops into an SF object

+ +

gtfs_trim_dates()

+ +

Trim a GTFS file between two dates

+ +

gtfs_trips_per_zone()

+ +

Trim a GTFS file between two dates

gtfs_trips_sf()

@@ -220,15 +232,15 @@

All functions
-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/load_data.html b/reference/load_data.html index 3cf14da..f3643c4 100644 --- a/reference/load_data.html +++ b/reference/load_data.html @@ -4,7 +4,7 @@ - +
- +
@@ -73,15 +73,15 @@

Load a built-in UK2GTFS dataset

Arguments

-
type
+ + +
type

name of data to be loaded e.g. "tiplocs"

Value

- - -

Loads named object into the global environment

+

Loads named object into the global environment

Details

@@ -128,15 +128,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/ni2gtfs.html b/reference/ni2gtfs.html index 86018ff..e812b42 100644 --- a/reference/ni2gtfs.html +++ b/reference/ni2gtfs.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,19 +71,19 @@

NI to GTFS

Arguments

-
path_in
+ + +
path_in

Path to CIF file

-
silent
+
silent

Logical, should progress be shown

Value

- - -

A GTFS named list

+

A GTFS named list

Details

@@ -102,15 +102,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/nptdr2gtfs.html b/reference/nptdr2gtfs.html index 0367979..bbaaaaa 100644 --- a/reference/nptdr2gtfs.html +++ b/reference/nptdr2gtfs.html @@ -3,7 +3,7 @@ - +
- +
@@ -77,23 +77,25 @@

Import the .CIF file

Arguments

-
path
+ + +
path

Path to zipped folder for NPTDR data

-
silent
+
silent

Logical, should messages be returned

-
n_files
+
n_files

debug option numerical vector for files to be passed e.g. 1:10

-
enhance_stops
+
enhance_stops

Logical, if TRUE will download current NaPTAN to add in any missing stops

-
naptan
+
naptan

Naptan Locations from get_naptan()

@@ -114,15 +116,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/nr2gtfs.html b/reference/nr2gtfs.html index 5328bd7..6518cd9 100644 --- a/reference/nr2gtfs.html +++ b/reference/nr2gtfs.html @@ -3,7 +3,7 @@ - +
- +
@@ -78,36 +78,36 @@

ATOC to GTFS (Network Rail Version)

Arguments

-
path_in
+ + +
path_in

Character, path to Network Rail ATOC file e.g."C:/input/toc-full.CIF.gz"

-
silent
+
silent

Logical, should progress messages be surpressed (default TRUE)

-
ncores
+
ncores

Numeric, When parallel processing how many cores to use (default 1)

-
locations
+
locations

where to get tiploc locations (see details)

-
agency
+
agency

where to get agency.txt (see details)

-
shapes
+
shapes

Logical, should shapes.txt be generated (default FALSE)

Value

- - -

A gtfs list

+

A gtfs list

Details

@@ -126,7 +126,7 @@

Details

See also

-

Other main: +

Other main: atoc2gtfs()

@@ -142,15 +142,15 @@

See also

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/school_terms.html b/reference/school_terms.html index 6282c5f..a4ac431 100644 --- a/reference/school_terms.html +++ b/reference/school_terms.html @@ -5,7 +5,7 @@ - +
- +
@@ -90,15 +90,15 @@

Format

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/station2stops.html b/reference/station2stops.html index 49a4f41..07d4f4d 100644 --- a/reference/station2stops.html +++ b/reference/station2stops.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,11 +71,13 @@

Export ATOC stations as GTFS stops.txt

Arguments

-
station
+ + +
station

station SF data frame from the importMSN function

-
TI
+
TI

TI object from the importMCA function

@@ -96,15 +98,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/transxchange2gtfs.html b/reference/transxchange2gtfs.html index facbd29..b2cb218 100644 --- a/reference/transxchange2gtfs.html +++ b/reference/transxchange2gtfs.html @@ -3,7 +3,7 @@ - +
- +
@@ -80,48 +80,48 @@

TransXchange to GTFS

Arguments

-
path_in
+ + +
path_in

Path to zipped transxchange files

-
silent
+
silent

Logical, should progress be shown

-
ncores
+
ncores

Numeric, When parallel processing how many cores to use

-
cal
+
cal

Calendar object from get_bank_holidays()

-
naptan
+
naptan

Naptan stop locations from get_naptan()

-
scotland
+
scotland

character, should Scottish bank holidays be used? Can be "auto" (defualt), "yes", "no". If "auto" and path_in ends with "S.zip" Scottish bank holidays will be used, otherwise England and Wales bank holidays are used.

-
try_mode
+
try_mode

Logical, if TRUE import and conversion are wrapped in try calls thus a failure on a single file will not cause the whole process to fail. Warning this could result in a GTFS file with missing routes.

-
force_merge
+
force_merge

Logical, passed to gtfs_merge(force), default FALSE

Value

- - -

A GTFS named list

+

A GTFS named list

Details

@@ -146,15 +146,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/transxchange_import.html b/reference/transxchange_import.html index 0b93a3e..c3592e0 100644 --- a/reference/transxchange_import.html +++ b/reference/transxchange_import.html @@ -3,7 +3,7 @@ - +
- +
@@ -71,15 +71,17 @@

Import a TransXchange XML file

Arguments

-
file
+ + +
file

character, path to an XML file e.g. "C:/data/file.xml"

-
run_debug
+
run_debug

logical, if TRUE extra checks are performed, default TRUE

-
full_import
+
full_import

logical, if false data no needed for GTFS is excluded

@@ -101,15 +103,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/reference/update_data.html b/reference/update_data.html index 24de378..104b458 100644 --- a/reference/update_data.html +++ b/reference/update_data.html @@ -5,7 +5,7 @@ - +
- +
@@ -91,15 +91,15 @@

Details

-

Site built with pkgdown 2.0.9.

+

Site built with pkgdown 2.1.0.

- - + + diff --git a/sitemap.xml b/sitemap.xml index aeaa4fb..cb1c04b 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -1,138 +1,51 @@ - - - - /404.html - - - /LICENSE-text.html - - - /articles/ATOC.html - - - /articles/GTFS.html - - - /articles/index.html - - - /articles/transxchange.html - - - /authors.html - - - /index.html - - - /reference/ATOC_shapes.html - - - /reference/activity_codes.html - - - /reference/atoc2gtfs.html - - - /reference/dl_example_file.html - - - /reference/get_bank_holidays.html - - - /reference/get_naptan.html - - - /reference/gtfs_clean.html - - - /reference/gtfs_clip.html - - - /reference/gtfs_compress.html - - - /reference/gtfs_fast_stops.html - - - /reference/gtfs_fast_trips.html - - - /reference/gtfs_force_valid.html - - - /reference/gtfs_interpolate_times.html - - - /reference/gtfs_merge.html - - - /reference/gtfs_read.html - - - /reference/gtfs_routes_sf.html - - - /reference/gtfs_split.html - - - /reference/gtfs_split_ids.html - - - /reference/gtfs_stops_sf.html - - - /reference/gtfs_trips_sf.html - - - /reference/gtfs_validate_internal.html - - - /reference/gtfs_write.html - - - /reference/importALF.html - - - /reference/importFLF.html - - - /reference/importMCA.html - - - /reference/importMSN.html - - - /reference/importTSI.html - - - /reference/index.html - - - /reference/load_data.html - - - /reference/ni2gtfs.html - - - /reference/nptdr2gtfs.html - - - /reference/nr2gtfs.html - - - /reference/school_terms.html - - - /reference/station2stops.html - - - /reference/transxchange2gtfs.html - - - /reference/transxchange_import.html - - - /reference/update_data.html - + +/404.html +/LICENSE-text.html +/articles/ATOC.html +/articles/GTFS.html +/articles/index.html +/articles/transxchange.html +/authors.html +/index.html +/reference/ATOC_shapes.html +/reference/activity_codes.html +/reference/atoc2gtfs.html +/reference/dl_example_file.html +/reference/get_bank_holidays.html +/reference/get_naptan.html +/reference/gtfs_clean.html +/reference/gtfs_clip.html +/reference/gtfs_compress.html +/reference/gtfs_fast_stops.html +/reference/gtfs_fast_trips.html +/reference/gtfs_force_valid.html +/reference/gtfs_interpolate_times.html +/reference/gtfs_merge.html +/reference/gtfs_read.html +/reference/gtfs_routes_sf.html +/reference/gtfs_split.html +/reference/gtfs_split_ids.html +/reference/gtfs_stop_frequency.html +/reference/gtfs_stops_sf.html +/reference/gtfs_trim_dates.html +/reference/gtfs_trips_per_zone.html +/reference/gtfs_trips_sf.html +/reference/gtfs_validate_internal.html +/reference/gtfs_write.html +/reference/importALF.html +/reference/importFLF.html +/reference/importMCA.html +/reference/importMSN.html +/reference/importTSI.html +/reference/index.html +/reference/load_data.html +/reference/ni2gtfs.html +/reference/nptdr2gtfs.html +/reference/nr2gtfs.html +/reference/school_terms.html +/reference/station2stops.html +/reference/transxchange2gtfs.html +/reference/transxchange_import.html +/reference/update_data.html +