Skip to content

Commit

Permalink
more fixes to pass r cmd check
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed Aug 7, 2024
1 parent 3e166ee commit 88c69d8
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ License: MIT + file LICENSE
Depends:
R (>= 3.5.0)
Imports:
assertthat,
curl,
DBI,
duckdb,
Expand Down
2 changes: 1 addition & 1 deletion R/download_data.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' Download the data files of specified type, zones, dates and data version
#' Download the data files of specified type, zones, and dates
#'
#' This function downloads the data files of the specified type, zones, dates and data version.
#' @param type The type of data to download. Can be `"origin-destination"` (or ust `"od"`), or `"trips_per_person"` (or just `"tpp"`) for v1 data. For v2 data `"overnight_stays"` (or just `"os"`) is also available. More data types to be supported in the future. See respective codebooks for more information. **ADD CODEBOOKS! to the package**
Expand Down
1 change: 1 addition & 0 deletions R/get.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ spod_get_latest_v2_xml = function(
#' This function retrieves the data dictionary for the specified data directory.
#'
#' @param data_dir The directory where the data is stored. Defaults to the value returned by `spod_get_data_dir()`.
#' @param quiet Whether to suppress messages. Defaults to `FALSE`.
#' @return The data dictionary.
#' @export
#' @examples
Expand Down
2 changes: 1 addition & 1 deletion R/get_v1_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ spod_clean_zones_v1 <- function(zones_path) {
#' Retrieve the origin-destination v1 data (2020-2021)
#'
#' This function retrieves the v1 (2020-2021) origin-destination data from the specified data directory.
#'
#' @param read_fun The function to read the data. Defaults to `duckdb::tbl_file`.
#' @inheritParams spod_download_data
#' @return A tibble with the origin-destination data.
spod_get_od <- function(
Expand Down
2 changes: 1 addition & 1 deletion man/spod_download_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/spod_get_metadata.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/spod_get_od.Rd

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

0 comments on commit 88c69d8

Please sign in to comment.