Skip to content

Commit 1767b3a

Browse files
committed
Added datable pages
1 parent 1ed5f8a commit 1767b3a

File tree

8 files changed

+2889
-6
lines changed

8 files changed

+2889
-6
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.Rproj.user
2+
.Rhistory
3+
.RData
4+
.Ruserdata
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

index.Rmd

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,60 @@ ggdotchart(grCert, x = "Postino", y = "n",
127127
font.label = list(color = "black", size = 8,
128128
vjust = 0.5))
129129
```
130+
131+
132+
133+
Expiring Delivery-Racc
134+
===============================================================================
135+
136+
```{r echo=FALSE}
137+
Scad$Giro <- as.factor(Scad$Giro)
138+
Scad$Seq <- as.factor(Scad$Seq)
139+
Scad$Postino <- as.factor(Scad$Postino)
140+
141+
Scad[is.na(Scad)] <- ""
142+
Scad$Indirizzo <- str_c(Scad$Via, Scad$`N°`, sep = " ")
143+
144+
tabela <- Scad %>%
145+
select("Barcode", "Nome Dest.", "Indirizzo", "Giro",
146+
"Seq", "Postino")
147+
148+
datatable(tabela,
149+
class = 'compact nowrap',
150+
extensions = c('Buttons', 'Responsive'),
151+
filter = 'top',
152+
options = list(
153+
#bPaginate = FALSE,
154+
dom = 'Bfrtip',
155+
buttons = list(I('colvis'), c('excel', 'print'))
156+
)
157+
)
158+
159+
160+
```
161+
162+
163+
All Delivery-Racc
164+
===============================================================================
165+
166+
```{r dettaglio, echo=FALSE}
167+
Delivery_Racc$Giro <- as.factor(Delivery_Racc$Giro)
168+
Delivery_Racc$Arrivo <- as.factor(Delivery_Racc$Arrivo)
169+
Delivery_Racc$CAP <- as.factor(Delivery_Racc$CAP)
170+
Delivery_Racc$Seq <- as.factor(Delivery_Racc$Seq)
171+
Delivery_Racc$Scadenza <- as.factor(Delivery_Racc$Scadenza)
172+
Delivery_Racc$Postino <- as.factor(Delivery_Racc$Postino)
173+
174+
datatable(Delivery_Racc,
175+
class = 'compact nowrap',
176+
filter = 'top',
177+
extensions = c('Buttons', 'Responsive'),
178+
options = list(
179+
pageLength = 14,
180+
dom = 'Bfrtip',
181+
buttons = list(I('colvis'), c('excel', 'print'))
182+
)
183+
)
184+
185+
```
186+

index.html

Lines changed: 2815 additions & 6 deletions
Large diffs are not rendered by default.
-25.1 KB
Binary file not shown.
-28.3 KB
Binary file not shown.
-23.5 KB
Binary file not shown.
-26.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)