@@ -19,6 +19,10 @@ majAuto <- TRUE
1919# Initialisation des variables persistantes a travers les sessions
2020tableauLocal <- coordCarte <- coordSites <- coordGroupes <- choixGroupes <- selectionGroupes <- NULL
2121dateMaj <- dateLocale <- dmy_hms(" 01/01/2022" , truncated = 3 )
22+ specColNames <- c(" Status" ," Identifiant" ," Numéro de version" ," Nom" ," Filière" ," Date de début" ,
23+ " Date de fin" ," Type" ," Cause" ," Information complémentaire" , " Puissance maximale (MW)" ,
24+ " Puissance disponible (MW)" , " Date de publication" )
25+ specColTypes = " ccdccTTcccddT"
2226
2327if (file.exists(" instaplan.dateMaj.rda" )) {
2428 load(" instaplan.dateMaj.rda" )
@@ -408,11 +412,12 @@ carte <- function(t, xduree = duree, xdebut = debut, xfin = fin,
408412}
409413
410414# debug
411- # tableau <- read_delim(fichier, skip = 1, delim=";", locale=locale(encoding='latin1', decimal_mark=",")) %>% preparation()
412- # tableauFiltre <- historique(tableau) %>% filtrage()
413- # tableauTrie <- tri(tableauFiltre)
414- # graphique(tableauTrie)
415- # tableauProjete <- projection(tableauFiltre)
416- # empilement(tableauProjete)
417- # tableauGeo <- geolocalisation(tableauFiltre)
418- # carte(tableauGeo)
415+ # tableau <- read_delim(fichier, skip = 2, delim=";", locale=locale(encoding='latin1', decimal_mark="."),
416+ # col_names = specColNames, col_types = specColTypes) %>% preparation()
417+ # tableauFiltre <- historique(tableau) %>% filtrage()
418+ # tableauTrie <- tri(tableauFiltre)
419+ # graphique(tableauTrie)
420+ # tableauProjete <- projection(tableauFiltre)
421+ # empilement(tableauProjete)
422+ # tableauGeo <- geolocalisation(tableauFiltre)
423+ # carte(tableauGeo)
0 commit comments