Skip to content

Commit

Permalink
polish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tanho63 committed Aug 5, 2022
1 parent 8e61bc3 commit 285d429
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions R/utils_download_nflverse.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,21 +102,21 @@ nflverse_download <- function(...,
}


#' List all Available nflverse Releases
#' List all available nflverse releases
#'
#' @description This functions lists all nflverse data releases that are available
#' in the nflverse-data repo. Release names can be used for downloads in
#' [`nflverse_download()`].
#'
#' @return A data.table containing release names, release descriptions, and
#' @return A dataframe containing release names, release descriptions, and
#' other relevant release information.
#' @export
#' @examples
#' \donttest{
#' # Change option for better output
#' old <- options(piggyback.verbose = FALSE)
#'
#' try(
#' try( # avoids cran failures, can skip in normal usage
#' nflverse_releases()
#' )
#'
Expand All @@ -136,11 +136,11 @@ nflverse_releases <- function() {

release_summary <- assets[
,list(
timestamp = format(max(timestamp),tz = "America/Toronto", usetz = TRUE),
timestamp = format(max(timestamp), tz = "America/Toronto", usetz = TRUE),
rds = sum(grepl("rds$",file_name)),
parquet = sum(grepl("parquet$",file_name)),
csv = sum(grepl("csv$",file_name)),
csvgz = sum(grepl("csv.gz$",file_name)),
csv_gz = sum(grepl("csv.gz$",file_name)),
zip = sum(grepl("zip$",file_name))
),
by = tag
Expand Down
6 changes: 3 additions & 3 deletions man/nflverse_releases.Rd

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

0 comments on commit 285d429

Please sign in to comment.