Skip to content

Commit

Permalink
update and fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
polettif committed Nov 22, 2021
1 parent d5cc4a5 commit 7138c8d
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -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: <http://gtfs.org/>.
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: <https://gtfs.org/>.
License: GPL
LazyData: TRUE
Depends: R (>= 3.6.0)
Expand Down
4 changes: 2 additions & 2 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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"
4 changes: 2 additions & 2 deletions R/transitfeeds.R
Original file line number Diff line number Diff line change
Expand Up @@ -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,
...,
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion man/feedlist.Rd

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

2 changes: 1 addition & 1 deletion man/gtfs_duke.Rd

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

8 changes: 4 additions & 4 deletions vignettes/frequency.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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")
Expand Down
12 changes: 6 additions & 6 deletions vignettes/introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7138c8d

Please sign in to comment.