Skip to content

Commit 5d29b23

Browse files
Add lubridate to core tidyverse (#720)
* add lubridate * remove lubridate from 'additional packages' list * Update content/packages/index.md Co-authored-by: Davis Vaughan <[email protected]> * Update data/packages.yml Co-authored-by: Davis Vaughan <[email protected]> --------- Co-authored-by: Davis Vaughan <[email protected]>
1 parent abf16f9 commit 5d29b23

File tree

13 files changed

+20
-11
lines changed

13 files changed

+20
-11
lines changed

Diff for: content/home/band_one.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ title: "R packages for data science"
33
col0:
44
row1: "dplyr"
55
row2: "ggplot2"
6-
row3: "readr"
7-
col1:
8-
row2: "forcats"
96
row3: "stringr"
7+
col1:
8+
row1: "tibble"
9+
row2: "readr"
10+
row3: "forcats"
1011
col2:
11-
row2: "tibble"
12-
row3: "tidyr"
12+
row2: "tidyr"
13+
row3: "lubridate"
1314
row4: "purrr"
1415
---
1516

Diff for: content/packages/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ As well as [readr](https://readr.tidyverse.org), for reading flat files, the tid
5151

5252
## Wrangle
5353

54-
In addition to [tidyr](https://tidyr.tidyverse.org), and [dplyr](https://dplyr.tidyverse.org), there are five packages (including [stringr](https://stringr.tidyverse.org) and [forcats](https://forcats.tidyverse.org)) which are designed to work with specific types of data:
54+
In addition to [tidyr](https://tidyr.tidyverse.org), [dplyr](https://dplyr.tidyverse.org), and the three specialized packages already in core tidyverse ([stringr](https://stringr.tidyverse.org), [forcats](https://forcats.tidyverse.org) and [lubridate](https://lubridate.tidyverse.org)), there are two others which are designed to work with specific types of data:
5555

56-
* [lubridate](https://lubridate.tidyverse.org) for dates and date-times.
5756
* [hms](https://hms.tidyverse.org) for time-of-day values.
5857
* [blob](https://blob.tidyverse.org) for storing blob (binary) data.
5958

Diff for: data/packages.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ggplot2:
22
weight: 1
3-
desc: 'ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics. You provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.'
3+
desc: 'ggplot2 is a system for declaratively creating graphics, based on The Grammar of Graphics. You provide the data, tell ggplot2 how to map variables to aesthetics, what graphical primitives to use, and it takes care of the details.'
44
url_git: https://github.com/tidyverse/ggplot2
55
url_docs: https://ggplot2.tidyverse.org/
66
url_cran: https://cloud.r-project.org/web/packages/ggplot2/index.html
@@ -16,7 +16,7 @@ dplyr:
1616
name: dplyr
1717
tidyr:
1818
weight: 20
19-
desc: 'tidyr provides a set of functions that help you get to tidy data. Tidy data is data with a consistent form: in brief, every variable goes in a column, and every column is a variable.'
19+
desc: 'tidyr provides a set of functions that help you get to tidy data. Tidy data is data with a consistent form: in brief, every variable goes in a column, and every column is a variable.'
2020
url_git: https://github.com/tidyverse/tidyr
2121
url_docs: https://tidyr.tidyverse.org/
2222
url_cran: https://cloud.r-project.org/web/packages/tidyr/index.html
@@ -32,7 +32,7 @@ readr:
3232
name: readr
3333
purrr:
3434
weight: 40
35-
desc: "purrr enhances R’s functional programming (FP) toolkit by providing a complete and consistent set of tools for working with functions and vectors. Once you master the basic concepts, purrr allows you to replace many for loops with code that is easier to write and more expressive."
35+
desc: "purrr enhances R’s functional programming (FP) toolkit by providing a complete and consistent set of tools for working with functions and vectors. Once you master the basic concepts, purrr allows you to replace many for loops with code that is easier to write and more expressive."
3636
url_git: https://github.com/tidyverse/purrr
3737
url_docs: https://purrr.tidyverse.org/
3838
url_cran: https://cloud.r-project.org/web/packages/purrr/index.html
@@ -61,4 +61,12 @@ forcats:
6161
url_docs: https://forcats.tidyverse.org/
6262
url_cran: https://cloud.r-project.org/web/packages/forcats/index.html
6363
url_hex: https://raw.githubusercontent.com/rstudio/hex-stickers/master/PNG/forcats.png
64-
name: forcats
64+
name: forcats
65+
lubridate:
66+
weight: 80
67+
desc: "lubridate provides a set of functions for working with date-times, extending and improving on R's existing support for them."
68+
url_git: https://github.com/tidyverse/lubridate
69+
url_docs: https://lubridate.tidyverse.org/
70+
url_cran: https://cloud.r-project.org/web/packages/lubridate/index.html
71+
url_hex: https://raw.githubusercontent.com/rstudio/hex-stickers/master/PNG/lubridate.png
72+
name: lubridate

Diff for: themes/hugo-graphite/layouts/index.html

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
{{ end }}
1919
{{ $col1 := .Params.col1 }}
2020
{{ with $col1 }}
21+
{{ with .row1 }}<a href="https://{{ . }}{{ $.Site.Params.hex_base_url }}"><img src="{{ printf ("/css/images/hex/%s.%s") . "png" }}" alt="{{ . }} hex sticker" class="r1 c1"></a>{{ end }}
2122
{{ with .row2 }}<a href="https://{{ . }}{{ $.Site.Params.hex_base_url }}"><img src="{{ printf ("/css/images/hex/%s.%s") . "png" }}" alt="{{ . }} hex sticker" class="r2 c1"></a>{{ end }}
2223
{{ with .row3 }}<a href="https://{{ . }}{{ $.Site.Params.hex_base_url }}"><img src="{{ printf ("/css/images/hex/%s.%s") . "png" }}" alt="{{ . }} hex sticker" class="r3 c1"></a>{{ end }}
2324
{{ end }}

Diff for: themes/hugo-graphite/static/css/images/hex/dplyr.png

-114 Bytes
Loading
-114 Bytes
Loading
-114 Bytes
Loading
50.5 KB
Loading

Diff for: themes/hugo-graphite/static/css/images/hex/purrr.png

-114 Bytes
Loading

Diff for: themes/hugo-graphite/static/css/images/hex/readr.png

-114 Bytes
Loading
-114 Bytes
Loading
-114 Bytes
Loading

Diff for: themes/hugo-graphite/static/css/images/hex/tidyr.png

-114 Bytes
Loading

0 commit comments

Comments
 (0)