Skip to content

Commit

Permalink
Add note about shorter dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelHentschel committed Dec 2, 2022
1 parent e84f61f commit 1320ccc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@
#' [Bureau of Transportation Statistics](https://www.bts.dot.gov/),
#' and pre-processed as described in
#' \insertCite{hen2022;textual}{graphicalExtremes}.
#' *Note: The CRAN version of this package contains only data from 2010-2013.*
#' *The full dataset is available in the Github version of this package.*
#'
#' @format A named `list` with three entries:
#' \describe{
Expand Down
2 changes: 2 additions & 0 deletions man/flights.Rd

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

6 changes: 4 additions & 2 deletions vignettes/exercises.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,13 @@ plotFlights(plotConnections = FALSE, map = "world", xyRatio = 2)
```

To perform an example application,
we consider the years 2010 - 2020 and choose (somewhat arbitrarily)
we consider the years 2010 - 2013 and choose (somewhat arbitrarily)
airports from the westcoast with a large number of flights per year.
*Note: In the CRAN version of this package, these are the only available years.*
*A version of this package with a larger dataset is available on GitHub*
```{r, fig.align='center', fig.width=10}
# Specify years
yearNames <- as.character(seq(2010, 2020))
yearNames <- as.character(seq(2010, 2013))
minNFlights <- length(yearNames) * 1000
# Compute departures + arrivals per airport
Expand Down

0 comments on commit 1320ccc

Please sign in to comment.