-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecrutements_ITRF.R
36 lines (30 loc) · 1.13 KB
/
Recrutements_ITRF.R
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
library(tidyr)
library(dplyr)
library(readr)
library(tibble)
library(stringr)
library(ggplot2)
library(forcats)
library(tm)
library(RColorBrewer)
# Importation des données issues de https://framagit.org/FalaF/data-itrf (version du 8 avril 2021)
postes <- read.csv2("liste-postes.csv", na.strings=c('_','nc')) %>%
mutate(Id = row_number()) %>%
mutate(année = factor(année, levels=seq(2017,2021)))
names(postes) #noms de colonnes
str(postes)
postes_filtered <- postes %>%
semi_join(metiers_donnee, by = c("EMPLOIS.TYPES" = "referens_intitule"))
chronologie <- postes_filtered %>%
group_by(année) %>%
summarise(somme =sum(NOMBRE.d.emplois))
chronologie %>%
ggplot(aes(x = année, y = somme, label=somme)) +
geom_point() +
geom_text(aes(label=somme), hjust=0, vjust=-1) +
scale_y_continuous(limits=c(0,40)) +
scale_x_discrete(drop=FALSE) +
labs(x="Année", y="Nombre de postes ouverts au concours BIATSS",
title="Evolution des recrutements de titulaires\n pour 13 métiers des données",
caption="Données 2019 manquantes\n Données P.E. Turgo – Analyse CC-BY Antoine Blanchard / Datactivist") +
theme_ipsum()