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
# The following is a "conversion" from base to ggplot2 | |
# of the affine transformation from the sf package's | |
# third vignette: | |
# https://cran.r-project.org/web/packages/sf/vignettes/sf3.html#affine-transformations | |
library(sf) | |
library(magrittr) | |
nc <- st_read(system.file("shape/nc.shp", package="sf"), quiet = TRUE) |
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
# A final version of the image created below | |
# can be found at: https://twitter.com/lksmth/status/892849692576329730 | |
# -- Load dependencies | |
library(tidyverse) | |
library(stringi) | |
library(readxl) | |
library(rvest) |
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
library(dplyr) | |
library(purrr) | |
library(data.table) | |
library(stringi) | |
library(igraph) | |
library(ggraph) | |
# Import | |
cran <- available.packages() %>% as_tibble() |
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
# Load dependencies ------------------------------------------------------- | |
library(httr) | |
library(rvest) | |
library(plyr) | |
library(tibble) | |
library(dplyr) | |
library(stringi) | |
library(igraph) | |
library(ggraph) |
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
fortunes::fortune("R is not software") | |
#> | |
#> I see three drivers of problems with R. | |
#> The first is that R is useful. [...] | |
#> The second driver of problems with R is that it is both a programming | |
#> language and an interactive language. There is a tension there that is | |
#> unavoidable. [...] | |
#> The third big driver of problems is that R is not software, it is a | |
#> community. | |
#> -- Patrick Burns (Inferno-ish R) |
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
license: mit |
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
license: mit |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
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
license: gpl-3.0 |
OlderNewer