Skip to content

Commit e0fb2ff

Browse files
committed
sivirep testing
0 parents  commit e0fb2ff

13 files changed

+3889
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
5+
.DS_Store

Untitled/Untitled.Rmd

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

Untitled/Untitled.log

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

Untitled/Untitled.pdf

4.08 MB
Binary file not shown.

Untitled/cover.png

139 KB
Loading

Untitled/logo.png

117 KB
Loading

Untitled/style.css

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
body{
2+
font-family: 'Montserrat';
3+
}
4+
5+
h1,h2,h4,h5,h6{
6+
font-size: 22pt;
7+
}
8+
9+
h1 {
10+
font-weight: 600;
11+
}
12+
13+
h3 {
14+
font-size: 16pt;
15+
}
16+
17+
.subtitle, .author, .date {
18+
font-size: 16pt;
19+
margin-bottom: -5px;
20+
}
21+
22+
.date {
23+
margin-bottom: -5px;
24+
}
25+
26+
p {
27+
font-size: 14pt;
28+
margin-top: 2em;
29+
margin-bottom: 2em;
30+
}
31+
32+
#header {
33+
text-align: center;
34+
display: none;
35+
}
36+
37+
.titulo {
38+
text-align: center;
39+
margin-top: 4em;
40+
margin-left: 11em;
41+
margin-right: 11em;
42+
}
43+
44+
.fuente {
45+
font-weight: 600;
46+
margin-top: 0;
47+
}
48+
49+
.caption {
50+
font-size: 12pt;
51+
text-align: center;
52+
53+
}
54+
55+
.caratula {
56+
background-image: url("cover.png");
57+
height: 1300px;
58+
background-position: center;
59+
background-repeat: no-repeat;
60+
background-size: cover;
61+
margin-top: -3em;
62+
}
63+
64+
.texto-caratula {
65+
float: right;
66+
margin-top: 56em;
67+
margin-right: 2.2em;
68+
text-align: right;
69+
}
70+
71+
.evento, .year {
72+
font-weight: 600;
73+
color: black;
74+
font-size: 30pt;
75+
}
76+
77+
.evento {
78+
margin-bottom: 0;
79+
}
80+
81+
.year {
82+
margin-top: 0;
83+
}
84+
85+
th {
86+
font-weight: 600;
87+
}
88+
89+
.titulo h1 {
90+
font-size: 24pt;
91+
}

sivirep_testing.R

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# remove.packages("sivirep")
2+
# pak::pak("epiverse-trace/sivirep@fix-review-items")
3+
4+
rm(list = ls())
5+
6+
library(sivirep)
7+
library(tidyverse)
8+
9+
list_events <- list_events()
10+
11+
data_event <- import_data_event(nombre_event = "Intento De Suicidio",
12+
years = c(2007:2022))
13+
14+
ano <- data_event %>% group_by (year = ano) %>% summarise(cases = n())
15+
16+
ggplot(ano) +
17+
geom_col(aes (x = year, y = cases)) +
18+
cowplot::theme_cowplot()
19+
20+
data_event <- import_data_event(nombre_event = "Cáncer Infantil", years = c(2015:2022))
21+

0 commit comments

Comments
 (0)