-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.Rmd
53 lines (35 loc) · 1.71 KB
/
README.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# nottshcMethods
<!-- badges: start -->
[![R-CMD-check](https://github.com/CDU-data-science-team/nottshcMethods/workflows/R-CMD-check/badge.svg)](https://github.com/CDU-data-science-team/nottshcMethods/actions)
<!-- badges: end -->
The goal of nottshcMethods is to help us analyse our data faster and better.
## Installation
You can install from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("CDU-data-science-team/nottshcMethods")
```
## Slide and distill post templates
Once the package is installed, {xaringan} presentation slides with branding and {distill} post templates can be access easily using the RStudio IDE, by selecting `File` -\> `R markdown ...` -\> `From Template`.
```{r, echo = FALSE, out.width="50%", fig.alt="Screenshot of the templates wizard selection list with Nottshc Presentation Slides highlighted"}
knitr::include_graphics("img/screen-capture-templates.png")
```
# Functions
## year_date()
A simple function to give the 'yyyy' string to a date column (of formats date, int and character). Can be used to find the earliest and latest year date in data which is useful in reports.
https://cdu-data-science-team.github.io/nottshcMethods/articles/date_helper.html
## Code of Conduct
Please note that the nottshcMethods project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html).
By contributing to this project, you agree to abide by its terms.