-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhandout.Rmd
74 lines (50 loc) · 1.3 KB
/
handout.Rmd
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
---
title: "Manuel d'utilisation"
author: "Vignette Author"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{Vignette Title}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteEncoding{UTF-8}
---
## Installation
- [Installer R](https://cran.r-project.org/bin/windows/base/)
- [Télécharger RStudio](https://www.rstudio.com/products/rstudio/download/) : Sous Windows, il faut télécharger le fichier .zip, dézipper l'archives et ouvrir le fichier rstudio.exe dans le sous-répertoire bin/.
## Import des données
Pour importer des données, il faut convertir le fichier Excel au format CSV et enregistrer le fichier CSV dans le répertoire raw-data
```{r}
library(PanoramaSI)
library(dplyr)
table_panorama <- import_table(path = "../raw-data/export.xlsx")
```
## Chiffres clés
```{r}
duree_moyenne(table = table_panorama)
```
```{r}
euros(table = table_panorama)
```
```{r}
interministeriel(table = table_panorama)
```
```{r}
n_projects(table = table_panorama)
```
## Générer les graphiques
```{r}
plot_tranchebudget(table = table_panorama)
```
```{r}
plot_phase(table = table_panorama)
```
```{r}
plot_budget(table = table_panorama)
```
```{r}
plot_zone(table = table_panorama)
```
## Générer la table HTML
```{r}
make_html_table(table = table_panorama)
```