Skip to content

Commit 25af237

Browse files
committed
differences for PR #39
1 parent 29e33f2 commit 25af237

10 files changed

+52
-5097
lines changed

Banco_errores.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ attached base packages:
8484
8585
loaded via a namespace (and not attached):
8686
[1] compiler_4.5.1 tools_4.5.1 yaml_2.3.10 knitr_1.50 xfun_0.52
87-
[6] renv_1.1.4 evaluate_1.0.3
87+
[6] renv_1.1.5 evaluate_1.0.4
8888
```
8989

9090
**Obtendrá una información similar a esta. En este caso la versión es 4.4.1**

Taller-R-RStudio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,9 +635,9 @@ library(tidyverse)
635635
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
636636
✔ dplyr 1.1.4 ✔ readr 2.1.5
637637
✔ forcats 1.0.0 ✔ stringr 1.5.1
638-
✔ ggplot2 3.5.2 ✔ tibble 3.2.1
638+
✔ ggplot2 3.5.2 ✔ tibble 3.3.0
639639
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
640-
✔ purrr 1.0.4
640+
✔ purrr 1.1.0
641641
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
642642
✖ dplyr::filter() masks stats::filter()
643643
✖ dplyr::lag() masks stats::lag()

Visualizacion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ library(tidyverse)
166166
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
167167
✔ dplyr 1.1.4 ✔ readr 2.1.5
168168
✔ forcats 1.0.0 ✔ stringr 1.5.1
169-
✔ lubridate 1.9.4 ✔ tibble 3.2.1
170-
✔ purrr 1.0.4 ✔ tidyr 1.3.1
169+
✔ lubridate 1.9.4 ✔ tibble 3.3.0
170+
✔ purrr 1.1.0 ✔ tidyr 1.3.1
171171
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
172172
✖ dplyr::filter() masks stats::filter()
173173
✖ dplyr::lag() masks stats::lag()

config.yaml

Lines changed: 0 additions & 88 deletions
This file was deleted.

estadistica.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ stats::runif(n, a, b)
858858
```
859859

860860
``` output
861-
[1] 4.870540 3.531836 3.845285 3.344966 2.247199
861+
[1] 2.804467 2.335366 4.142992 4.190575 4.319356
862862
```
863863
:::
864864

-23 Bytes
Loading
304 Bytes
Loading

limpieza.md

Lines changed: 29 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ se obtiene el siguiente resultado:
144144
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
145145
✔ dplyr 1.1.4 ✔ readr 2.1.5
146146
✔ forcats 1.0.0 ✔ stringr 1.5.1
147-
✔ ggplot2 3.5.2 ✔ tibble 3.2.1
147+
✔ ggplot2 3.5.2 ✔ tibble 3.3.0
148148
✔ lubridate 1.9.4 ✔ tidyr 1.3.1
149-
✔ purrr 1.0.4
149+
✔ purrr 1.1.0
150150
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
151151
✖ dplyr::filter() masks stats::filter()
152152
✖ dplyr::lag() masks stats::lag()
@@ -1026,13 +1026,20 @@ covid %>%
10261026
cleanepi::standardize_dates()
10271027
```
10281028

1029+
``` output
1030+
! Detected 1 value that complies with multiple formats and no values that are
1031+
outside of the specified time frame.
1032+
ℹ Enter `print_report(data = dat, "date_standardization")` to access it, where
1033+
"dat" is the object used to store the output from this operation.
1034+
```
1035+
10291036
``` output
10301037
fecha_reporte_web
10311038
1 2021-03-15
1032-
2 2021-03-23
1039+
2 2023-03-21
10331040
3 2021-03-15
1034-
4 2021-01-20
1035-
5 2021-01-15
1041+
4 2021-03-01
1042+
5 <NA>
10361043
6 <NA>
10371044
7 2022-01-28
10381045
8 2022-07-07
@@ -1055,6 +1062,13 @@ covid <- covid %>%
10551062
target_columns = "fecha_reporte_web")
10561063
```
10571064

1065+
``` output
1066+
! Detected 28365 values that comply with multiple formats and no values that
1067+
are outside of the specified time frame.
1068+
ℹ Enter `print_report(data = dat, "date_standardization")` to access them,
1069+
where "dat" is the object used to store the output from this operation.
1070+
```
1071+
10581072
##### **NAs relacionados con errores en la escritura de números**
10591073

10601074
En algunos casos pueden ocurrir errores en la recolección que no se
@@ -1389,7 +1403,7 @@ covid <- covid %>%
13891403

13901404
``` output
13911405
! Found 2391 duplicated rows in the dataset.
1392-
ℹ Use `attr(dat, "report")[["duplicated_rows"]]` to access them, where "dat" is
1406+
ℹ Use `print_report(dat, "found_duplicates")` to access them, where "dat" is
13931407
the object used to store the output from this operation.
13941408
```
13951409

@@ -1436,7 +1450,7 @@ covid <- covid %>%
14361450

14371451
``` output
14381452
! Found 2010 duplicated rows in the dataset.
1439-
ℹ Use `attr(dat, "report")[["duplicated_rows"]]` to access them, where "dat" is
1453+
ℹ Use `print_report(dat, "found_duplicates")` to access them, where "dat" is
14401454
the object used to store the output from this operation.
14411455
```
14421456

@@ -1598,7 +1612,7 @@ covid %>%
15981612
```
15991613

16001614
``` output
1601-
[1] 25
1615+
[1] 24
16021616
```
16031617

16041618
#### **3.2.8. Verificación de valores atípicos**
@@ -1726,17 +1740,17 @@ se obtiene el siguiente resultado:
17261740

17271741

17281742
``` output
1729-
# A tibble: 1 × 25
1743+
# A tibble: 1 × 24
17301744
fecha_reporte_web id_de_caso fecha_de_notificacion edad sexo
17311745
<date> <int> <chr> <int> <fct>
17321746
1 1970-01-01 1631715 21/12/2020 24 F
1733-
# ℹ 20 more variables: ubicacion_del_caso <chr>, estado <chr>,
1747+
# ℹ 19 more variables: ubicacion_del_caso <chr>, estado <chr>,
17341748
# recuperado <chr>, fecha_de_inicio_de_sintomas <chr>, fecha_de_muerte <chr>,
17351749
# fecha_de_diagnostico <chr>, fecha_de_recuperacion <chr>,
17361750
# tipo_de_recuperacion <chr>, fecha_de_nacimiento <dbl>,
17371751
# nombre_del_pais <fct>, sintomas <fct>, edad_repetida <int>,
17381752
# num_hos_rec <dbl>, tension_sistolica <chr>, tension_diastolica <chr>,
1739-
# vacunado <lgl>, talla <dbl>, peso <dbl>, edad_en_dias <dbl>, row_id <int>
1753+
# vacunado <lgl>, talla <dbl>, peso <dbl>, edad_en_dias <dbl>
17401754
```
17411755

17421756
Una vez identificados los datos, podemos corregirlos reemplazándolos por
@@ -1790,7 +1804,7 @@ covid %>%
17901804
``` output
17911805
.
17921806
Casa Fallecido Hospital Hospital UCI <NA>
1793-
74851 1726 12 1 407
1807+
74850 1726 12 1 407
17941808
```
17951809

17961810
**Instrucción**: Filtre la variable `ubicacion_del_caso` para excluir
@@ -1815,7 +1829,7 @@ covid %>%
18151829
``` output
18161830
.
18171831
Casa Fallecido Hospital Hospital UCI <NA>
1818-
74851 1726 12 1 0
1832+
74850 1726 12 1 0
18191833
```
18201834

18211835
Como puede observar ahora los NA son 0.
@@ -1855,7 +1869,7 @@ covid %>%
18551869
``` output
18561870
.
18571871
F M <NA>
1858-
40962 35628 0
1872+
40962 35627 0
18591873
```
18601874

18611875
::: callout
@@ -1892,7 +1906,7 @@ covid %>%
18921906
``` output
18931907
.
18941908
masculino femenino <NA>
1895-
35628 40962 0
1909+
35627 40962 0
18961910
```
18971911

18981912

md5sum.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
"file" "checksum" "built" "date"
2-
"CODE_OF_CONDUCT.md" "549f00b0992a7743c2bc16ea6ce3db57" "site/built/CODE_OF_CONDUCT.md" "2025-07-01"
3-
"LICENSE.md" "14377518ee654005a18cf28549eb30e3" "site/built/LICENSE.md" "2025-07-01"
4-
"config.yaml" "42bf006d2ac4d061693e7eda5b2fc317" "site/built/config.yaml" "2025-07-01"
5-
"index.md" "305218683a6bdabf0a8a7002ed6b1708" "site/built/index.md" "2025-07-01"
6-
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2025-07-01"
7-
"episodes/Taller-R-RStudio.Rmd" "73e861adcd61a94adae2eae6915df1bc" "site/built/Taller-R-RStudio.md" "2025-07-01"
8-
"episodes/Visualizacion.Rmd" "52f56f442f084bf74cafb27861634af3" "site/built/Visualizacion.md" "2025-07-01"
9-
"episodes/Reporte.Rmd" "60e93a7816e8076697510fe00f54dede" "site/built/Reporte.md" "2025-07-01"
10-
"episodes/limpieza.Rmd" "04f3b18f060f3670cb7384e826f69dd0" "site/built/limpieza.md" "2025-07-01"
11-
"episodes/zika.Rmd" "ab2af9e58b09fa042c0d00a93bf5ff4a" "site/built/zika.md" "2025-07-01"
12-
"episodes/estadistica.Rmd" "64a59e197dad54d26123b080866a249c" "site/built/estadistica.md" "2025-07-01"
13-
"episodes/Banco_errores.Rmd" "9e8062de993797cf75808da33b00ee23" "site/built/Banco_errores.md" "2025-07-01"
14-
"instructors/instructor-notes.md" "5cf113fd22defb29d17b64597f3c9bc0" "site/built/instructor-notes.md" "2025-07-01"
15-
"learners/reference.md" "2b545d2e344611c53d89854b3b14b8b5" "site/built/reference.md" "2025-07-01"
16-
"learners/setup.md" "1355233133a1180a92ff618e89bca6b3" "site/built/setup.md" "2025-07-01"
17-
"profiles/learner-profiles.md" "5fe5bf7537072422b91ed393ada03f9a" "site/built/learner-profiles.md" "2025-07-01"
18-
"renv/profiles/lesson-requirements/renv.lock" "ab416936ab17190ead56af2e058a8e3a" "site/built/renv.lock" "2025-07-01"
2+
"CODE_OF_CONDUCT.md" "549f00b0992a7743c2bc16ea6ce3db57" "site/built/CODE_OF_CONDUCT.md" "2025-08-05"
3+
"LICENSE.md" "14377518ee654005a18cf28549eb30e3" "site/built/LICENSE.md" "2025-08-05"
4+
"config.yaml" "42bf006d2ac4d061693e7eda5b2fc317" "site/built/config.yaml" "2025-08-05"
5+
"index.md" "305218683a6bdabf0a8a7002ed6b1708" "site/built/index.md" "2025-08-05"
6+
"links.md" "8184cf4149eafbf03ce8da8ff0778c14" "site/built/links.md" "2025-08-05"
7+
"episodes/Taller-R-RStudio.Rmd" "73e861adcd61a94adae2eae6915df1bc" "site/built/Taller-R-RStudio.md" "2025-08-05"
8+
"episodes/Visualizacion.Rmd" "52f56f442f084bf74cafb27861634af3" "site/built/Visualizacion.md" "2025-08-05"
9+
"episodes/Reporte.Rmd" "60e93a7816e8076697510fe00f54dede" "site/built/Reporte.md" "2025-08-05"
10+
"episodes/limpieza.Rmd" "04f3b18f060f3670cb7384e826f69dd0" "site/built/limpieza.md" "2025-08-05"
11+
"episodes/zika.Rmd" "ab2af9e58b09fa042c0d00a93bf5ff4a" "site/built/zika.md" "2025-08-05"
12+
"episodes/estadistica.Rmd" "64a59e197dad54d26123b080866a249c" "site/built/estadistica.md" "2025-08-05"
13+
"episodes/Banco_errores.Rmd" "9e8062de993797cf75808da33b00ee23" "site/built/Banco_errores.md" "2025-08-05"
14+
"instructors/instructor-notes.md" "5cf113fd22defb29d17b64597f3c9bc0" "site/built/instructor-notes.md" "2025-08-05"
15+
"learners/reference.md" "2b545d2e344611c53d89854b3b14b8b5" "site/built/reference.md" "2025-08-05"
16+
"learners/setup.md" "1355233133a1180a92ff618e89bca6b3" "site/built/setup.md" "2025-08-05"
17+
"profiles/learner-profiles.md" "5fe5bf7537072422b91ed393ada03f9a" "site/built/learner-profiles.md" "2025-08-05"
18+
"renv/profiles/lesson-requirements/renv.lock" "ea0cd9da31ddb444e8d1f099c0efabf2" "site/built/renv.lock" "2025-08-05"

0 commit comments

Comments
 (0)