• Stars
    star
    211
  • Rank 183,818 (Top 4 %)
  • Language
    R
  • License
    Other
  • Created about 6 years ago
  • Updated 6 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tidyverse design principles

A place to document (and hash out) development principles for packages in the tidyverse.

A complement to http://style.tidyverse.org.

Structure

Title should be a command. Keep it as short as possible, and frame it positively (which you should do, not what you shouldn't do).

Sections:

  • What's the pattern? Brief description and why it's important.

  • What are some examples? Bulleted list of existing functions. Can be both positive and negative examples. Show results of code where useful. Goal is to include enough variety that everyone recognises at least one function, and can look up the docs for the details of the others.

  • What are the exceptions?

  • How to avoid/remediate/use it? Detailed explanation (with example) of how to prevent the problem, fix the problem, and/or use the pattern.

  • See also. Include related problems as bulleted list.

Case studies are useful for functions that need more explanation, have multiple problems, or need greater discussion of different trade-offs.

More Repositories

1

ggplot2

An implementation of the Grammar of Graphics in R
R
6,402
star
2

dplyr

dplyr: A grammar of data manipulation
R
4,675
star
3

tidyverse

Easily install and load packages from the tidyverse
R
1,610
star
4

rvest

Simple web scraping for R
R
1,481
star
5

tidyr

Tidy Messy Data
R
1,347
star
6

purrr

A functional programming toolkit for R
R
1,235
star
7

readr

Read flat files (csv, tsv, fwf) into R
R
998
star
8

magrittr

Improve the readability of R code with the pipe
R
955
star
9

datascience-box

Data Science Course in a Box
JavaScript
908
star
10

reprex

Render bits of R code for sharing, e.g., on GitHub or StackOverflow.
R
732
star
11

lubridate

Make working with dates in R just that little bit easier
R
721
star
12

readxl

Read excel files (.xls and .xlsx) into R 🖇
C++
719
star
13

glue

Glue strings to data in R. Small, fast, dependency free interpreted string literals.
R
689
star
14

dtplyr

Data table backend for dplyr
R
656
star
15

tibble

A modern re-imagining of the data frame
R
649
star
16

multidplyr

A dplyr backend that partitions a data frame over multiple processes
R
638
star
17

vroom

Fast reading of delimited files
C++
609
star
18

stringr

A fresh approach to string manipulation in R
R
583
star
19

forcats

🐈🐈🐈🐈: tools for working with categorical variables (factors)
R
538
star
20

dbplyr

Database (DBI) backend for dplyr
R
466
star
21

haven

Read SPSS, Stata and SAS files from R
C
423
star
22

modelr

Helper functions for modelling
R
399
star
23

googlesheets4

Google Spreadsheets R API (reboot of the googlesheets package)
R
354
star
24

googledrive

Google Drive R API
R
316
star
25

style

The tidyverse style guide for R code
HTML
290
star
26

tidyverse.org

Source of tidyverse.org
HTML
189
star
27

hms

A simple class for storing time-of-day values
R
137
star
28

nycflights13

An R data package containing all out-bound flights from NYC in 2013 + useful metdata
R
124
star
29

tidyversedashboard

Tidyverse activity dashboard
R
71
star
30

tidy-dev-day

Tidyverse developer day
60
star
31

tidyeval

A guide to tidy evaluation
CSS
54
star
32

dsbox

Companion R package to Data Science Course in a Box
R
48
star
33

tidytemplate

A pkgdown template for core tidyverse packages
SCSS
46
star
34

blob

A simple S3 class for representing BLOBs
R
44
star
35

code-review

32
star
36

funs

Collection of low-level functions for working with vctrs
R
31
star
37

website-analytics

Web analytics for tidyverse + r-lib sites
R
28
star
38

tidyups

21
star
39

ggplot2-docs

ggplot2 documentation. Auto-generated from ggplot2 sources by pkgdown
HTML
10
star