forked from ipeaGIT/gtfstools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
77 lines (59 loc) · 3.05 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# gtfstools <img align="right" src="man/figures/logo.png?raw=true" alt="logo" width="180">
[](https://CRAN.R-project.org/package=gtfstools)
[](https://dhersz.r-universe.dev)
[](https://github.com/ipeaGIT/gtfstools/actions?query=workflow%3Acheck)
[](https://app.codecov.io/gh/ipeaGIT/gtfstools?branch=master)
[](https://lifecycle.r-lib.org/articles/stages.html)
[](https://CRAN.R-project.org/package=gtfstools)
**gtfstools** offers a set of convenient tools for editing and analysing
transit feeds in GTFS format. Feeds are read as a `list` of `data.table`s,
allowing for easy and fast data manipulation. Many of this package's features
are based on functions from other packages, especially
[`{tidytransit}`](https://github.com/r-transit/tidytransit) and
[`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps).
## Installation
Stable version:
```{r, eval = FALSE}
install.packages("gtfstools")
```
Development version:
```{r, eval = FALSE}
# either
install.packages("gtfstools", repos = "https://dhersz.r-universe.dev")
# or
# install.packages("remotes")
remotes::install_github("ipeaGIT/gtfstools")
```
This package requires a working installation of
[`{sf}`](https://github.com/r-spatial/sf). Please check [this
link](https://github.com/r-spatial/sf#installing) for more information on how
to install it.
## Usage
Please read **gtfstools** vignettes for more on the package usage:
- Basic usage: reading, analysing, manipulating and writing feeds. Run
`vignette("gtfstools")` or check it on the website ([Introduction to
gtfstools](https://ipeagit.github.io/gtfstools/articles/gtfstools.html)).
- Filtering GTFS feeds. Run `vignette("filtering", package = "gtfstools")` or
check it on the website ([Filtering GTFS
feeds](https://ipeagit.github.io/gtfstools/articles/filtering.html)).
- Validating GTFS feeds. Run `vignette("validating", package = "gtfstools")` or
check it on the website ([Validating GTFS
feeds](https://ipeagit.github.io/gtfstools/articles/validating.html)).
## Related packages
- [`{tidytransit}`](https://github.com/r-transit/tidytransit)
- [`{gtfs2gps}`](https://github.com/ipeaGIT/gtfs2gps)
- [`{gtfsrouter}`](https://github.com/ATFutures/gtfs-router)
## Acknowledgement <a href="https://www.ipea.gov.br"><img align="right" src="man/figures/ipea_logo.png" alt="IPEA" width="300" /></a>
**gtfstools** is developed by a team at the Institute for Applied Economic
Research (Ipea), Brazil.