Skip to content

Commit

Permalink
Update base64_to_df to work with the current version of LimeSurvey (3.x)
Browse files Browse the repository at this point in the history
Now variables are delimited by `;`, which yielded single-column data.frames previously.
  • Loading branch information
jemus42 committed Apr 29, 2018
1 parent d89fb67 commit d7c0c3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/base64_to_df.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
base64_to_df <- function(x) {
raw_csv <- rawToChar(base64enc::base64decode(x))

return(read.csv(textConnection(raw_csv), stringsAsFactors = FALSE))
return(read.csv(textConnection(raw_csv), stringsAsFactors = FALSE, sep = ";")))
}

0 comments on commit d7c0c3e

Please sign in to comment.