diff --git a/DESCRIPTION b/DESCRIPTION index ec1a07ac..5826458f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -20,7 +20,7 @@ Authors@R: c( person("Dave", "Vautin", role = c("ctb")), person("Kyle", "Walker", role = c("ctb")) ) -Description: Read General Transit Feed Specification (GTFS) zipfiles into a list of R dataframes. Perform validation of the data structure against the specification. Analyze the headways and frequencies at routes and stops. Create maps and perform spatial analysis on the routes and stops. Please see the GTFS documentation here for more detail: . +Description: Read General Transit Feed Specification (GTFS) zipfiles into a list of R dataframes. Perform validation of the data structure against the specification. Analyze the headways and frequencies at routes and stops. Create maps and perform spatial analysis on the routes and stops. Please see the GTFS documentation here for more detail: . License: GPL LazyData: TRUE Depends: R (>= 3.6.0) diff --git a/R/data.R b/R/data.R index 33703f7e..e40749e9 100644 --- a/R/data.R +++ b/R/data.R @@ -15,7 +15,7 @@ #' \item{url_d}{GTFS feed url} #' \item{url_i}{the metadata url for the feed} #' } -#' @source \url{http://www.transitfeeds.com/} +#' @source \url{https://transitfeeds.com/} "feedlist" #' Dataframe of route type id's and the names of the types (e.g. "Bus") @@ -34,7 +34,7 @@ #' Example GTFS data #' #' Data obtained from -#' \url{http://data.trilliumtransit.com/gtfs/duke-nc-us/duke-nc-us.zip}. +#' \url{https://data.trilliumtransit.com/gtfs/duke-nc-us/duke-nc-us.zip}. #' @docType data #' @seealso read_gtfs "gtfs_duke" \ No newline at end of file diff --git a/R/transitfeeds.R b/R/transitfeeds.R index c06dd200..28d181d9 100644 --- a/R/transitfeeds.R +++ b/R/transitfeeds.R @@ -268,7 +268,7 @@ tfeeds_parse_getlocation <- function(req) { #' @noRd #' @return Result of httr::RETRY #' -#' @details See http://transitfeeds.com/api/ for available API calls +#' @details See https://transitfeeds.com/api/ for available API calls tfeeds_get <- function(path, query, ..., @@ -283,7 +283,7 @@ tfeeds_get <- function(path, req <- httr::RETRY( verb = "GET" - , url = 'http://api.transitfeeds.com/' + , url = 'https://api.transitfeeds.com/' , path = paste0(version, path) , query = my_query , times = 5 diff --git a/README.md b/README.md index d5dd2f90..3530d97f 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ status](https://github.com/r-transit/tidytransit/workflows/R-CMD-check/badge.svg Use tidytransit to map transit stops and routes, calculate travel times and transit frequencies, and validate transit feeds. Tidytransit reads the -[General Transit Feed Specification](http://gtfs.org/) into +[General Transit Feed Specification](https://gtfs.org/) into [tidyverse](https://tibble.tidyverse.org/) and [simple features](https://en.wikipedia.org/wiki/Simple_Features) data frames. Tidytransit can be used to: diff --git a/man/feedlist.Rd b/man/feedlist.Rd index b98c076d..8e9a549c 100644 --- a/man/feedlist.Rd +++ b/man/feedlist.Rd @@ -20,7 +20,7 @@ A data frame with 911 rows and 10 variables: } } \source{ -\url{http://www.transitfeeds.com/} +\url{https://transitfeeds.com/} } \usage{ feedlist diff --git a/man/gtfs_duke.Rd b/man/gtfs_duke.Rd index db34d285..c5abe401 100644 --- a/man/gtfs_duke.Rd +++ b/man/gtfs_duke.Rd @@ -12,7 +12,7 @@ gtfs_duke } \description{ Data obtained from -\url{http://data.trilliumtransit.com/gtfs/duke-nc-us/duke-nc-us.zip}. +\url{https://data.trilliumtransit.com/gtfs/duke-nc-us/duke-nc-us.zip}. } \seealso{ read_gtfs diff --git a/vignettes/frequency.Rmd b/vignettes/frequency.Rmd index ad703c99..958aca99 100644 --- a/vignettes/frequency.Rmd +++ b/vignettes/frequency.Rmd @@ -24,15 +24,15 @@ options(dplyr.summarise.inform=F) ## Introduction The focus of this vignette is on how to use R to make graphics about where and how often -transit service operates based on schedule data published in the [General Transit Feed Specification](http://gtfs.org/). +transit service operates based on schedule data published in the [General Transit Feed Specification](https://gtfs.org/). We'll focus on the New York City Metropolitan Transit Agency's Subway schedule for this vignette, but you can easily apply it to thousands of other GTFS data sources. See the -[tidytransit introductory vignette](http://tidytransit.r-transit.org/articles/introduction.html#finding-more-gtfs-feeds) +[tidytransit introductory vignette](https://tidytransit.r-transit.org/articles/introduction.html#finding-more-gtfs-feeds) for instructions on finding data for other cities and operators. ## Setup -You'll need to have tidytransit installed. Please see the [install instructions](http://tidytransit.r-transit.org/articles/introduction.html#installation-dependencies) for more details. +You'll need to have tidytransit installed. Please see the [install instructions](https://tidytransit.r-transit.org/articles/introduction.html#installation-dependencies) for more details. ## Outline @@ -47,7 +47,7 @@ So, to review, we're going to: ### 1) Import Transit Data (GTFS) We'll start by importing a snapshot of the NYC MTA's subway schedule, which is included -with the package when [installed](http://tidytransit.r-transit.org/index.html#installation). +with the package when [installed](https://tidytransit.r-transit.org/index.html#installation). ```{r} local_gtfs_path <- system.file("extdata", "google_transit_nyc_subway.zip", package = "tidytransit") diff --git a/vignettes/introduction.Rmd b/vignettes/introduction.Rmd index d1c767a4..77841ea3 100644 --- a/vignettes/introduction.Rmd +++ b/vignettes/introduction.Rmd @@ -21,12 +21,12 @@ library(dplyr) Use tidytransit to: -- [Read a GTFS Feed into R Data Types](http://tidytransit.r-transit.org/articles/introduction.html#read-gtfs-data) -- [Validate transit feeds](http://tidytransit.r-transit.org/articles/introduction.html#feed-validation-results) -- Coerce [stops and routes to 'simple features'](http://tidytransit.r-transit.org/reference/stops_as_sf.html) and [plot them](http://tidytransit.r-transit.org/reference/plot.gtfs.html) -- [Create graphics about transit service](http://tidytransit.r-transit.org/articles/servicepatterns.html) -- [Calculate travel time between transit stops](http://tidytransit.r-transit.org/reference/raptor.html) -- [Look up GTFS feeds from around the world within R](http://tidytransit.r-transit.org/articles/introduction.html#finding-more-gtfs-feeds) +- [Read a GTFS Feed into R Data Types](https://tidytransit.r-transit.org/articles/introduction.html#read-gtfs-data) +- [Validate transit feeds](https://tidytransit.r-transit.org/articles/introduction.html#feed-validation-results) +- Coerce [stops and routes to 'simple features'](https://tidytransit.r-transit.org/reference/stops_as_sf.html) and [plot them](https://tidytransit.r-transit.org/reference/plot.gtfs.html) +- [Create graphics about transit service](https://tidytransit.r-transit.org/articles/servicepatterns.html) +- [Calculate travel time between transit stops](https://tidytransit.r-transit.org/reference/raptor.html) +- [Look up GTFS feeds from around the world within R](https://tidytransit.r-transit.org/articles/introduction.html#finding-more-gtfs-feeds) # Installation & Dependencies