flightsbr

R Package to Download Flight and Airport Data from Brazil

https://github.com/ipeagit/flightsbr

Science Score: 39.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
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.8%) to scientific vocabulary

Keywords

aviation-data brazil data r rstats rstats-package
Last synced: 6 months ago · JSON representation

Repository

R Package to Download Flight and Airport Data from Brazil

Basic Info
Statistics
  • Stars: 41
  • Watchers: 2
  • Forks: 8
  • Open Issues: 2
  • Releases: 12
Topics
aviation-data brazil data r rstats rstats-package
Created about 4 years ago · Last pushed 7 months ago
Metadata Files
Readme Changelog License

README.md

flightsbr: Download Flight and Airport Data from Brazil logo

CRAN
   status CRAN/METACRAN Total
   downloads R-CMD-check Lifecycle:
     active Codecov test
coverage DOI

flightsbr is an R package designed to facilitate the download of comprehensive flight and airport data from Brazil’s Civil Aviation Agency (ANAC). The package provides access to detailed information on aircraft, airports, and airport operations registered with ANAC. It also includes data on airfares, all international flights to and from Brazil, and domestic flights within the country.

Installation

```R

From CRAN

install.packages("flightsbr")

or use the development version with latest features

utils::remove.packages('flightsbr') remotes::install_github("ipeaGIT/flightsbr") ```

Basic usage

The package currently includes five main functions:

  1. read_flights()
  2. read_airports()
  3. read_aircraft()
  4. read_airport_movements()
  5. read_airfares()

1) read_flights() to download data on national and international flights.

```

flights in a given month/year (yyyymm)

df201506 <- readflights(date = 201506)

flights in a given year (yyyy)

df2015 <- readflights(date = 2015)

```

2) read_airports() to download data on private and public airports.

```

all airports

airportsall <- flightsbr::readairports(type = 'all')

public airports

airportspbl <- flightsbr::readairports(type = 'public')

private airports

airportsprv <- flightsbr::readairports(type = 'private')

```

3) read_aircraft() to download aircraft data.

aircraft <- read_aircraft(date = 2024)

4) read_airport_movements() to download data on aiport movements.

airport_ops <- read_airport_movements(date = 202001)

5) read_airfares() to download data on airfares of domestic or international flights.

``` airfares <- read_airfares(date = 202001, domestic = TRUE)

```

Related projects

Similar packages for other countries/continents

Similar projects for Brazil:

As of today, there are two repositories/projects with Brazilian aviation data, which include more info related to weather conditions, air traffic management etc. The advantage of flightsbt is that it's the easiest and fastest way to download flight and airport Data from Brazil in R.

Acknowledgement IPEA

Original data is collected by Brazil’s Civil Aviation Agency (ANAC). The flightsbr package is developed by a team at the Institute for Applied Economic Research (Ipea), Brazil. If you want to cite this package, you can cite it as:

  • Pereira, R.H.M. (2022). flightsbr: Download Flight And Airport Data from Brazil. R package (Version 0.1.0). OSF. https://doi.org/10.31219/osf.io/jdv7u

Owner

  • Name: IpeaDIRUR
  • Login: ipeaGIT
  • Kind: organization

GitHub Events

Total
  • Create event: 3
  • Issues event: 9
  • Release event: 3
  • Issue comment event: 10
  • Push event: 37
  • Fork event: 1
Last Year
  • Create event: 3
  • Issues event: 9
  • Release event: 3
  • Issue comment event: 10
  • Push event: 37
  • Fork event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 195
  • Total Committers: 1
  • Avg Commits per committer: 195.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 22
  • Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
rafapereirabr r****r@g****m 195

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 46
  • Total pull requests: 3
  • Average time to close issues: 20 days
  • Average time to close pull requests: less than a minute
  • Total issue authors: 7
  • Total pull request authors: 1
  • Average comments per issue: 0.74
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 11
  • Pull requests: 3
  • Average time to close issues: 2 days
  • Average time to close pull requests: less than a minute
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 0.18
  • Average comments per pull request: 0.0
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rafapereirabr (39)
  • espinielli (2)
  • brunomioto (1)
  • Rodslater (1)
  • Joaobazzo (1)
  • denisecammarota (1)
  • baarthur (1)
Pull Request Authors
  • rafapereirabr (3)
Top Labels
Issue Labels
help wanted (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 538 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 13
  • Total maintainers: 1
cran.r-project.org: flightsbr

Download Flight and Airport Data from Brazil

  • Versions: 13
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 538 Last month
Rankings
Stargazers count: 8.9%
Forks count: 12.8%
Average: 24.0%
Dependent packages count: 29.8%
Downloads: 33.3%
Dependent repos count: 35.5%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 2.10 depends
  • data.table >= 1.14.0 imports
  • httr >= 1.4.1 imports
  • parzer * imports
  • pbapply * imports
  • rvest * imports
  • dplyr * suggests
  • ggplot2 >= 3.3.1 suggests
  • knitr * suggests
  • rmarkdown >= 2.6 suggests
  • testthat * suggests
.github/workflows/R-CMD-check-CRAN.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v2 composite
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/pkgdown.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • r-lib/actions/setup-r v1 composite