ntdr

An R package to retrieve data from the National Transit Database

https://github.com/vgxhc/ntdr

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

An R package to retrieve data from the National Transit Database

Basic Info
Statistics
  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • Open Issues: 4
  • Releases: 5
Created over 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# ntdr: Retrieve data from the National Transit Database 



[![R-CMD-check](https://github.com/vgXhc/ntdr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/vgXhc/ntdr/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/ntdr)](https://cran.r-project.org/package=ntdr)


The `ntdr` package provides a convenient interface to retrieve monthly data from the National Transit Database (NTD). Without this package, getting NTD data involves going to the NTD website and downloading and processing a complex Excel workbook.

The NTD data returned by this package has many quirks and subtleties. Please use it with care and [report any issues](https://github.com/vgXhc/ntdr/issues). 

To learn more about the package, visit the package website: [https://vgxhc.github.io/ntdr/](https://vgxhc.github.io/ntdr/). 

## Installation

The package currently does not pass CRAN checks and you need to install the development version.

```{r, eval = FALSE}

# Install the latest development version from GitHub:
remotes::install_github("vgXhc/ntdr")
```

## Example

Basic usage:

```{r example}
library(ntdr)

options(ntdr.cache = TRUE)

ntd_madison <- get_ntd(
  data_type = "adjusted",
  ntd_variable = "UPT",
  agency = "City of Madison",
  modes = "MB"
)

head(ntd_madison)
```

Owner

  • Name: Harald Kliems
  • Login: vgXhc
  • Kind: user
  • Location: Madison, WI

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 5
  • Issue comment event: 9
  • Push event: 23
  • Pull request event: 5
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 5
  • Issue comment event: 9
  • Push event: 23
  • Pull request event: 5

Packages

  • Total packages: 1
  • Total downloads:
    • cran 187 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 6
  • Total maintainers: 1
cran.r-project.org: ntdr

Retrieve Data from the National Transit Database

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 187 Last month
Rankings
Forks count: 28.7%
Dependent packages count: 29.2%
Dependent repos count: 35.0%
Stargazers count: 35.2%
Average: 43.6%
Downloads: 89.7%
Maintainers (1)
Last synced: about 1 year ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • dplyr * imports
  • lubridate * imports
  • purrr * imports
  • readxl * imports
  • rvest * imports
  • tidyr * imports
  • knitr * suggests
  • rmarkdown * suggests
  • testthat >= 3.0.0 suggests
  • tidyverse * suggests