Skip to content

Commit

Permalink
update URLs to reflect change in GitHub org (closes #9)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Jan 25, 2024
1 parent eda6482 commit a6b09f9
Show file tree
Hide file tree
Showing 30 changed files with 53 additions and 53 deletions.
4 changes: 2 additions & 2 deletions R/get_dynamic_feeds.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' Grab a dataframe giving the geographic location and other metadata of
#' bikeshare bikes not parked at bikeshare stations. Metadata for this dataset
#' can be found at: \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' can be found at: \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params seealso
#'
Expand All @@ -29,7 +29,7 @@ get_free_bike_status <- function(city, directory = NULL, file = "free_bike_statu
#'
#' Grab a dataframe giving the geographic location and other metadata of
#' bikeshare bikes parked at bikeshare stations. Metadata for this dataset
#' can be found at: \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' can be found at: \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params seealso
#'
Expand Down
8 changes: 4 additions & 4 deletions R/get_gbfs.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#' column supplies the relevant .json feeds, while the entries in the `URL` column
#' take the user to the public-facing webpage of the programs.
#' @source North American Bikeshare Association, General Bikeshare Feed Specification
#' \url{https://raw.githubusercontent.com/NABSA/gbfs/master/systems.csv}
#' \url{https://raw.githubusercontent.com/MobilityData/gbfs/master/systems.csv}
#' @export
get_gbfs_cities <- function() {

Expand All @@ -24,7 +24,7 @@ get_gbfs_cities <- function() {
)

# grab the data
readr::read_csv("https://raw.githubusercontent.com/NABSA/gbfs/master/systems.csv",
readr::read_csv("https://raw.githubusercontent.com/MobilityData/gbfs/master/systems.csv",
col_types = systems_cols)
}

Expand All @@ -46,7 +46,7 @@ get_gbfs_cities <- function() {
#' while the entries in the `URL` column supply the feeds themselves.
#'
#' @source North American Bikeshare Association, General Bikeshare Feed
#' Specification \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' Specification \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @examples
#' # grab all of the feeds released by portland
Expand Down Expand Up @@ -83,7 +83,7 @@ get_which_gbfs_feeds <- function(city) {
#' datasets over time straightforward, the user can also save the results
#' as .Rds files that will be automatically row-binded.
#' Metadata for each dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @param city A character string that can be matched to a city or a url to an
#' active gbfs.json feed. See \code{get_gbfs_cities} for a current list of available cities.
Expand Down
14 changes: 7 additions & 7 deletions R/get_static_feeds.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' \code{get_station_information} grabs and tidies the station_information feed for a given city.
#' This dataset contains locations, capacity, and other information about bikeshare stations.
#' Metadata for this dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @param city A character string that can be matched to a gbfs feed. The recommended
#' argument is a system ID supplied in the output of [get_gbfs_cities()], but will
Expand Down Expand Up @@ -45,7 +45,7 @@ get_station_information <- function(city, directory = NULL, file = "station_info
#'
#' \code{get_system_alerts} grabs and tidies the system_alerts feed for a given city.
#' This feed informs users about changes to normal operation. Metadata for this
#' dataset can be found at: \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' dataset can be found at: \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand All @@ -67,7 +67,7 @@ get_system_alerts <- function (city, directory = NULL, file = "system_alerts.rds
#'
#' \code{get_system_calendar} grabs and tidies the system_calendar feed
#' for a given city. Metadata for this dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand All @@ -91,7 +91,7 @@ get_system_calendar <- function (city, directory = NULL, file = "system_calendar
#' \code{get_system_hours} grabs and tidies the system_hours
#' feed for a given city. Metadata for this
#' dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand All @@ -113,7 +113,7 @@ get_system_hours <- function (city, directory = NULL, file = "system_hours.rds",
#'
#' \code{get_system_information} grabs and tidies the system_information
#' feed for a given city. Metadata for this dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand Down Expand Up @@ -144,7 +144,7 @@ get_system_information <- function(city, directory = NULL, file = "system_inform
#'
#' \code{get_system_pricing_plans} grabs and tidies the system_pricing_plans
#' feed for a given city. Metadata for this dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand All @@ -160,7 +160,7 @@ get_system_pricing_plans <- function(city, directory = NULL, file = "system_pric
#'
#' \code{get_system_regions} grabs and tidies the system_regions feed for
#' a given city. Metadata for this dataset can be found at:
#' \url{https://github.com/NABSA/gbfs/blob/master/gbfs.md}
#' \url{https://github.com/MobilityData/gbfs/blob/master/gbfs.md}
#'
#' @inherit get_station_information params return seealso
#'
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ devtools::load_all()
The `gbfs` package supplies a set of functions to interface with General
Bikeshare Feed Specification .json feeds in R, allowing users to save
and accumulate tidy .rds datasets for specified cities/bikeshare programs.
The North American Bikeshare Association's [gbfs](https://github.com/NABSA/gbfs)
The North American Bikeshare Association's [gbfs](https://github.com/MobilityData/gbfs)
is a standardized data release format for live information on the status
of bikeshare programs, as well as metadata, including counts of bikes at
stations, ridership costs, and geographic locations of stations and
Expand Down Expand Up @@ -78,7 +78,7 @@ Each of the above feeds can be queried with the `get_suffix` function, where
`suffix` is replaced with the name of the relevant feed.

For more details on the official `gbfs` spec, see
[this document](https://github.com/NABSA/gbfs/blob/master/gbfs.md).
[this document](https://github.com/MobilityData/gbfs/blob/master/gbfs.md).

## Example

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The `gbfs` package supplies a set of functions to interface with General
Bikeshare Feed Specification .json feeds in R, allowing users to save
and accumulate tidy .rds datasets for specified cities/bikeshare
programs. The North American Bikeshare Association’s
[gbfs](https://github.com/NABSA/gbfs) is a standardized data release
[gbfs](https://github.com/MobilityData/gbfs) is a standardized data release
format for live information on the status of bikeshare programs, as well
as metadata, including counts of bikes at stations, ridership costs, and
geographic locations of stations and parked bikes.
Expand Down Expand Up @@ -73,7 +73,7 @@ Each of the above feeds can be queried with the `get_suffix` function,
where `suffix` is replaced with the name of the relevant feed.

For more details on the official `gbfs` spec, see [this
document](https://github.com/NABSA/gbfs/blob/master/gbfs.md).
document](https://github.com/MobilityData/gbfs/blob/master/gbfs.md).

## Example

Expand Down
4 changes: 2 additions & 2 deletions docs/index.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_free_bike_status.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_gbfs.html

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

2 changes: 1 addition & 1 deletion docs/reference/get_gbfs_cities.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_station_information.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_station_status.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_system_alerts.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_system_calendar.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_system_hours.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_system_information.html

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

4 changes: 2 additions & 2 deletions docs/reference/get_system_pricing_plans.html

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

Loading

0 comments on commit a6b09f9

Please sign in to comment.