View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08975 | Bug reports | Plugins | public | 2014-04-16 22:03 | 2014-04-22 21:28 |
| Reporter | mikeg | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05+ | ||||
| Fixed in Version | 2.05+ | ||||
| Summary | 08975: R data exported without a header | ||||
| Description | In 2.0 and before, when data was exported to R, the survey__datafile.csv the first line was a header line. I believe was ignored since all of the relevant information is defined in the surveysyntax_file.R. In the current version this header line is missing and, as a result, the first set of responses are ignored. | ||||
| Steps To Reproduce | Export a file to .R | ||||
| Additional Information | This problem could be fixed by (a) putting the header line back at the start of the syntax file or (b) changing the code in survey_*_syntax.R from data <- read.csv("survey_*_R_data_file.csv", quote = "'\"", na.strings=c("", "\"\""), stringsAsFactors=FALSE) to data <- read.csv("survey_*_R_data_file.csv", quote = "'\"", na.strings=c("", "\"\""), stringsAsFactors=FALSE, header = FALSE) This will override the default setting for read.csv() which is header=TRUE. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | No idea. Using limeService | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | No idea | ||||
| Server OS (if known) | limeservice | ||||
| Webserver software & version (if known) | sorry | ||||
| PHP Version | sorry again | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14171 |
|
|
2.05+ Build 140422 released. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-04-16 22:03 | mikeg | New Issue | |
| 2014-04-17 23:30 | c_schmitz | Assigned To | => c_schmitz |
| 2014-04-17 23:30 | c_schmitz | Status | new => assigned |
| 2014-04-17 23:32 | c_schmitz | Changeset attached | => LimeSurvey master 1976cf7f |
| 2014-04-17 23:32 | c_schmitz | Note Added: 29829 | |
| 2014-04-17 23:32 | c_schmitz | Resolution | open => fixed |
| 2014-04-17 23:33 | c_schmitz | Status | assigned => resolved |
| 2014-04-17 23:33 | c_schmitz | Fixed in Version | => 2.05+ |
| 2014-04-22 21:28 | c_schmitz | Note Added: 29854 | |
| 2014-04-22 21:28 | c_schmitz | Status | resolved => closed |