-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathREADME.Rmd
More file actions
138 lines (102 loc) · 3.49 KB
/
Copy pathREADME.Rmd
File metadata and controls
138 lines (102 loc) · 3.49 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
---
output: github_document
params:
main_repo: main-dashboards-2
trilha_clean: visualizacao
turma: 202211-dashboards-2
nome_curso: Dashboards II
num_aula: '0'
download_material: 'FALSE'
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
echo = FALSE
)
library(magrittr)
```
## Informações importantes
```{r results='asis'}
if(params$download_material == TRUE){
glue::glue("- [Clique aqui](https://github.com/curso-r/{params$main_repo}/raw/master/material_do_curso.zip) para baixar o material do curso.")
}
```
- Nosso blog: [https://curso-r.com/blog/](https://curso-r.com/blog/)
- [Programando em Shiny](https://programando-em-shiny.curso-r.com/)
- [Ciência de Dados em R](https://livro.curso-r.com/)
- [Zen do R](https://curso-r.github.io/zen-do-r/)
## Dúvidas
Fora do horário de aula ou monitoria:
- perguntas gerais sobre o curso deverão ser feitas no Classroom.
- perguntas sobre R, principalmente as que envolverem código, deverão ser enviadas no [nosso fórum](https://discourse.curso-r.com/).
## Slides
```{r}
paths <- CursoRopen:::list_github_files(params$main_repo, "slides/", "[0-9]-.*html$") |>
tibble::enframe(value = "paths") |>
dplyr::filter(!stringr::str_detect(paths, "figure-html")) |>
dplyr::mutate(file_path_sem_extencao = tools::file_path_sans_ext(paths)) |>
dplyr::select(-name)
paths_pdf <- CursoRopen:::list_github_files(params$main_repo, "slides/", "[0-9]-.*pdf$") |>
tibble::enframe(value = "paths_pdf") |>
dplyr::mutate(file_path_sem_extencao = tools::file_path_sans_ext(paths_pdf)) |>
dplyr::select(-name)
dplyr::left_join(paths, paths_pdf, by = "file_path_sem_extencao") |>
dplyr::mutate(
slide = paths,
link = paste0("https://curso-r.github.io/", params$main_repo, "/", slide),
slides = glue::glue("[{basename(slide)}]({link})"),
slide_pdf = paths_pdf,
link_pdf = paste0("https://curso-r.github.io/", params$main_repo, "/", slide_pdf),
pdf = glue::glue("[{basename(slide_pdf)}]({link_pdf})")
) |>
dplyr::filter(!stringr::str_detect(slide, "_files/")) |>
dplyr::select(slides, pdf) |>
dplyr::slice(1:6) |>
knitr::kable()
```
## Scripts utilizados em aula
```{r}
pasta <- "pratica/"
knitr::kable(
tibble::tibble(
script = list.files(pasta, pattern = "\\.zip$"),
link = paste0(
"https://raw.githubusercontent.com/curso-r/",
params$turma,
"/main/",
pasta,
"/",
script
)
) %>%
dplyr::mutate(script = glue::glue("[{script}]({link})")) %>%
dplyr::select(script)
)
```
## Redes sociais da Curso-R
Youtube: https://www.youtube.com/c/CursoR6/featured
Instagram: https://www.instagram.com/cursoo_r/
Twitter: https://twitter.com/curso_r
Linkedin: https://www.linkedin.com/company/curso-r/
Facebook: https://www.facebook.com/cursodeR
```{r include=FALSE}
# Criar arquivo _config.yml
if(params$download_material == TRUE){
glue::glue('theme: jekyll-theme-minimal', '\n',
"logo: assets/logo.png", '\n',
"title: {params$nome_curso}", '\n',
"show_downloads: true", '\n',
"link_material: 'https://github.com/curso-r/{params$main_repo}/raw/master/material_do_curso.zip'", '\n'
) |>
readr::write_lines( "_config.yml")
}
if(params$download_material == FALSE){
glue::glue('theme: jekyll-theme-minimal', '\n',
"logo: assets/logo.png", '\n',
"title: {params$nome_curso}", '\n',
"show_downloads: false", '\n') |>
readr::write_lines( "_config.yml")
}
```