Skip to content

Commit

Permalink
MAJ
Browse files Browse the repository at this point in the history
  • Loading branch information
agnes-riviere committed Dec 15, 2021
1 parent d098635 commit 5c6989d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts_R/1_rawToFormatted.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for(iFold in 1:length(folders)){

sub_folders = list.files(paste0(pathToRaw,folders[iFold]),pattern = '^p')
print(sub_folders)
iSubFold = 2
iSubFold = 1
print(sub_folders[iSubFold])
for(iSubFold in 1:length(sub_folders)){

Expand Down Expand Up @@ -134,7 +134,7 @@ for(iFold in 1:length(folders)){
list.files(pathDataRaw,pattern = 'tableauDeBord.csv')),
sep=',',header=T,colClasses = 'character')

if(ncol(dataRaw_i)==1){
if(ncol(data_dashboard)==1){
data_dashboard <- read.csv(paste0(pathDataRaw,'/',
list.files(pathDataRaw,pattern = 'tableauDeBord.csv')),
sep=';',header=T,colClasses = 'character')
Expand Down

0 comments on commit 5c6989d

Please sign in to comment.