Skip to content

metro

0.9.3Package record

Washington Metropolitan Area Transit Authority API

0packages depend
2.5Kdownloads / year
11.7%test coverage
13/13flavors OK

Overview

About

The Washington Metropolitan Area Transit Authority is a government agency operating light rail and passenger buses in the Washington D.C. area. With a free developer account, access their 'Metro Transparent Data Sets API' https://developer.wmata.com/ to return data frames of transit data for easy analysis.

Changes in 0.9.3
  • Switch from MIT license to GPL-3
  • Update maintainer email, website URL, and GitHub URL.
  • Due to an error in the rail timing endpoint, the rail_times() function can only return example data for the time being. (#15)
  • Due to an error in the train position endpoint, the train_position() function can only return example data for the time being. (#16)
  • Add StopId column to bus_departs() and use current date in the example.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.9.3
READMEYes · 267 wordsVignettesNoNEWSYes · 100% structured · mentions 0.9.3Citation fileNoWebsiteYes · pkgdown
Help pages
29 (2 internal)includes a package overview page
Examples that run
4%1 run in a plain check · 22 never run
Exported functions with examples
96%
Documented parameters
100%
Return-value docs
96%
Help pages citing references
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #17,204 · ~7/day · ~209/mo
Daily download trend is not available in this view yet.
27730 days
74590 days
2.5K1 year
Compare downloads with other packages →
Also on62 r2u6 autocran

Repository

5Stars
0Forks
7Open issues
0Open PRs
1Releases
176Commits
1Commit identities
wmata-apiwashington-dcwmatametropublic-transportationtransit-data
License file reads as GPL-3.0 · 176 commits · Last activity 2024-03-12 · +25% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
11

Stars over time

2022-09-05 · 42026-10-24 · 5
PracticesBeta

10 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/k5cents/metro on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2024-03-12 · The repository has a site deploy workflow

pkgdown site last built 2024-03-12

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing metro adds 20 packages (14 with compiled code, 7.8 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, vctrs 1.0 MB.

Depends (1)
R >= 2.10
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.9.1 (2021), Copyright holder
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.9.3Latest
    record
    2024-03-11 · current release · diff ↗
  • 0.9.2
    record
    2023-10-28 · diff ↗ ·
    added 1 export
    no_data_now
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.1
    record
    2021-03-01
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-03-01
Total releases
3 / 5 yrs
License
GPL (>= 3) OSI · relicensed from MIT + file LICENSE in 0.9.3
Minimum R
≥ 2.10
Bundled data
165 KB / 4 files
Download size
238 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("metro")
Nicholls, K. (2024). metro: Washington Metropolitan Area Transit Authority API (Version 0.9.3) [Computer software]. https://doi.org/10.32614/CRAN.package.metro

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for metro version 0.9.3 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy