-
Notifications
You must be signed in to change notification settings - Fork 1
/
06_tidyverse.Rmd
56 lines (45 loc) · 1.28 KB
/
06_tidyverse.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
title: "Touring the tidyverse"
subtitle: "Beyond tidyverse"
output:
xaringan::moon_reader:
lib_dir: libs
nature:
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
---
```{r setup, include=FALSE}
options(htmltools.dir.version = FALSE)
library(magrittr)
```
# tidy projects on CRAN
```{r}
library(magrittr)
res <- tools::CRAN_package_db() %>%
tibble::as_tibble(.name_repair = "unique") %>%
dplyr::filter(stringr::str_detect(Package, "tidy") |
stringr::str_detect(Description, "tidy")) %>%
dplyr::select(Package, Description)
nrow(res)
```
Cleaned up number:
```{r echo = FALSE, message = FALSE}
cleaned <- readr::read_csv("tidyverse/tidy_packages.csv")
nrow(cleaned)
```
---
# Very scientific classification
```{r echo = FALSE, warning=FALSE, message=FALSE}
dplyr::count(cleaned, area, sort = TRUE) %>%
dplyr::filter(n > 2) %>%
gt::gt()
```
---
# Spotlight
1. `janitor` + `skimr` for data exploration.
1. `tsiblle` for time-series.
1. `tidytext` for NLP.
1. [`vctrs`](https://github.com/r-lib/vctrs) (https://resources.rstudio.com/rstudio-conf-2019/vctrs-tools-for-making-size-and-type-consistent-functions)
1. [`dance`](https://github.com/romainfrancois/dance).
1. [`rap`](https://github.com/romainfrancois/rap).