This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Skim an Arrow Dataset | |
#' | |
#' Provides a `skimr`-style summary of an Arrow Dataset with statistics | |
#' organized by variable type. Computes summary statistics efficiently using | |
#' Arrow's query engine without loading the full dataset into memory. | |
#' | |
#' @param ds An Arrow Dataset object created with `arrow::open_dataset()`. | |
#' | |
#' @return A list of class "skim_arrow" containing: | |
#' \item{overview}{A tibble with dataset dimensions and column type counts} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Using grid and gridExtra to add a table annotation to a ggforce::facet_zoom | |
# Sources: | |
# 1. Tidy Tuesday github repo (board_games.csv). https://github.com/rfordatascience/tidytuesday | |
# 2. David Robinson's data-screencasts github repo (board-games.Rmd). https://github.com/dgrtwo/data-screencasts | |
# Further Reading: | |
# 1. R. Peng, S. Kross, and B. Anderson in: "Mastering Software Development in R", sect 4.5, https://bookdown.org/rdpeng/RProgDA/the-grid-package.html | |
# 2. B. Auguie, ftp://cran.r-project.org/pub/R/web/packages/gridExtra/vignettes/ |