Skip to content

Commit ec2e9f1

Browse files
committed
correct typos
1 parent 29b25dd commit ec2e9f1

File tree

8 files changed

+1012
-2
lines changed

8 files changed

+1012
-2
lines changed
-172 KB
Binary file not shown.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
Version: 1.0
2+
3+
RestoreWorkspace: Default
4+
SaveWorkspace: Default
5+
AlwaysSaveHistory: Default
6+
7+
EnableCodeIndexing: Yes
8+
UseSpacesForTab: Yes
9+
NumSpacesForTab: 2
10+
Encoding: UTF-8
11+
12+
RnwWeave: Sweave
13+
LaTeX: pdfLaTeX
14+
15+
AutoAppendNewline: Yes
16+
StripTrailingWhitespace: Yes

exercises/Taller-quarto-ejercicios/datos/christmas_movies.csv

Lines changed: 874 additions & 0 deletions
Large diffs are not rendered by default.

exercises/Taller-quarto-ejercicios/nul_

Whitespace-only changes.
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
# Películas de Navidad: un dataset festivo.
2+
3+
```{r}
4+
#| label: paquetes
5+
#| warning: false
6+
7+
library(tidyverse)
8+
library(ggthemes)
9+
library(gt)
10+
11+
12+
```
13+
14+
## Conozcamos los datos
15+
16+
```{r}
17+
#| label: importar-datos
18+
19+
peliculas <- read_csv("datos/christmas_movies.csv")
20+
```
21+
22+
El dataset incluye todas las películas con temática navideña listadas en IMDB hasta Diciembre de 2023 y fue descargado de la plataforma Kaggle .
23+
24+
### Ejercicio 1: inline code
25+
26+
Se incluyen\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ películas navideñas sobre las que se registraron las siguientes variables: \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_.
27+
28+
## ¿Siempre fueron tan populares estas películas?
29+
30+
```{r}
31+
#| label: años
32+
33+
34+
peliculas |>
35+
ggplot(aes(x = release_year)) +
36+
geom_bar(fill = "red") +
37+
theme_minimal() +
38+
labs(x = "Año de estreno",
39+
y = "Cantidad",
40+
caption = "Cantidad de películas navideñas por año")
41+
42+
43+
44+
45+
```
46+
47+
# Organización en columnas
48+
49+
## Películas más populares (columnas usando yaml headers)
50+
51+
```{r}
52+
#| label: pelicula-popular
53+
#| fig-height: 3.5
54+
#| fig-width: 4
55+
56+
57+
peliculas |>
58+
filter(votes > 400000) |>
59+
slice_max(order_by = imdb_rating, n = 10) |>
60+
select(title, imdb_rating, votes) |>
61+
gt() |>
62+
cols_label(
63+
title = "Título",
64+
imdb_rating = "Puntaje",
65+
votes = "Cantidad de votos"
66+
)
67+
68+
69+
70+
peliculas |>
71+
ggplot(aes(x = imdb_rating)) +
72+
geom_density(fill = "#008000") +
73+
theme_minimal() +
74+
labs(x = "Votos", y = "Cantidad")
75+
76+
77+
78+
```
79+
80+
## Películas más populares (columnas usando layout personalizado)
81+
82+
### Ejercicio 2: Organizar en columas
83+
84+
```{r}
85+
#| label: peliculas-menos-populares
86+
87+
peliculas |>
88+
slice_min(order_by = imdb_rating, n = 10) |>
89+
select(title, imdb_rating, votes) |>
90+
gt() |>
91+
cols_label(
92+
title = "Título",
93+
imdb_rating = "Puntaje",
94+
votes = "Cantidad de votos"
95+
)
96+
97+
peliculas |>
98+
ggplot(aes(x = release_year, y = imdb_rating)) +
99+
geom_point(color = "gold") +
100+
theme_minimal()
101+
102+
```
103+
104+
## La película más popular
105+
106+
```{r}
107+
#| label: imagen-pelicula
108+
109+
pelicula_popular <- peliculas |>
110+
filter(votes > 400000) |>
111+
slice_max(order_by = imdb_rating, n = 1) |>
112+
pull(img_src)
113+
114+
115+
116+
```
117+
118+
![](`r pelicula_popular`)

index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ editor:
1010

1111
📆 26 de Noviembre, 2024
1212

13-
⏰18:30 pm - 20:30 pm Argentina (UTC -3)
13+
⏰18:30 - 20:30 Argentina (UTC -3)
1414

1515
🗺️ Online (el link de zoom se compartirá el mismo día)
1616

materiales.qmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@ title: "Materiales"
99
```{=html}
1010
<iframe class="slides" src="/slides/index.html"></iframe>
1111
```
12+
1213
## Video
1314

1415
Podés acceder a la grabación del taller 👉🏼[aquí](https://www.youtube.com/watch?v=puykTjJ43Xs&ab_channel=RLadiesBuenosAires)👈🏼
1516

16-
\\
17+
1718

1819
Visitá nuestro [canal de youtube](https://www.youtube.com/@RLadiesBuenosAires) para encontrar más videos como este.

quarto-rladiesBA.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: 3306e427-290e-45e4-a1da-ef2b3fa641ed
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

0 commit comments

Comments
 (0)