Skip to content

Commit

Permalink
rm LO data from database_stats examples; more for #87
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Sep 13, 2018
1 parent 310ce93 commit f38c512
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions R/database-stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ bike_db_totals <- function (bikedb, trips = TRUE, city)
#' bike_write_test_data (data_dir = data_dir)
#' # or download some real data!
#' # dl_bikedata (city = 'la', data_dir = data_dir)
#' # Remove one London file that triggers an API call which may fail tests:
#' file.remove (file.path (tempdir(), "01aJourneyDataExtract10Jan16-23Jan16.csv"))
#' bikedb <- file.path (data_dir, 'testdb')
#' store_bikedata (data_dir = data_dir, bikedb = bikedb)
#' # bike_latest_files (bikedb)
Expand Down Expand Up @@ -270,6 +272,8 @@ bike_latest_files <- function (bikedb)
#' data_dir <- tempdir ()
#' bike_write_test_data (data_dir = data_dir)
#' # dl_bikedata (city = 'la', data_dir = data_dir) # or download some real data!
#' # Remove one London file that triggers an API call which may fail tests:
#' file.remove (file.path (tempdir(), "01aJourneyDataExtract10Jan16-23Jan16.csv"))
#' bikedb <- file.path (data_dir, 'testdb')
#' store_bikedata (data_dir = data_dir, bikedb = bikedb)
#' # create database indexes for quicker access:
Expand Down Expand Up @@ -326,6 +330,8 @@ bike_datelimits <- function (bikedb, city)
#' data_dir <- tempdir ()
#' bike_write_test_data (data_dir = data_dir)
#' # dl_bikedata (city = 'la', data_dir = data_dir) # or download some real data!
#' # Remove one London file that triggers an API call which may fail tests:
#' file.remove (file.path (tempdir(), "01aJourneyDataExtract10Jan16-23Jan16.csv"))
#' bikedb <- file.path (data_dir, 'testdb')
#' store_bikedata (data_dir = data_dir, bikedb = bikedb)
#' # create database indexes for quicker access:
Expand Down
2 changes: 2 additions & 0 deletions man/bike_datelimits.Rd

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

2 changes: 2 additions & 0 deletions man/bike_latest_files.Rd

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

2 changes: 1 addition & 1 deletion man/bike_rm_test_data.Rd

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

2 changes: 2 additions & 0 deletions man/bike_summary_stats.Rd

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

2 changes: 1 addition & 1 deletion man/bike_write_test_data.Rd

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

0 comments on commit f38c512

Please sign in to comment.