Skip to content

Commit

Permalink
maj prepa data
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudmilet committed Sep 10, 2024
1 parent 863efed commit 5a8c533
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions analyse/couverture_catalogue/prepa_data_init_generique.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ library(knitr)
library(kableExtra)
library(DT)

# chemin_racine_data <- "../../../../0- data"
# chemin_racine_data <- "../../0- data"

# Données ----

Expand Down Expand Up @@ -205,7 +205,8 @@ data_meta_formationsStats_init <- data_meta_formationsStats_init %>%
),
millesime=str_sub(millesime,-4),
Couverture=case_when(
millesime == max(millesime) & !all(`Couverture Taux En Emploi 6 Mois` & `Couverture Taux Autres 6 Mois` & `Couverture Taux En poursuite`) ~ "Non couvert",
!all(`Couverture Taux En Emploi 6 Mois` & `Couverture Taux Autres 6 Mois` & `Couverture Taux En poursuite`) ~ "Non couvert",
all(`Couverture Taux En Emploi 6 Mois` & `Couverture Taux Autres 6 Mois` & `Couverture Taux En poursuite`) ~ "Couvert",
millesime == max(millesime) & str_detect(Avant_apres_continuum, "continuum") ~ "Couvert",
Avant_apres_continuum =="Avant continuum" ~ "Couvert",
Avant_apres_continuum =="Apres continuum" ~ "Non couvert",
Expand Down

0 comments on commit 5a8c533

Please sign in to comment.