This translation is older than the original page and might be outdated. See what has changed.
Translations of this page:
 

Import Data to GNU R

This guide describes how to import collected data into GNU R, if you have downloaded the data in GNU R format as a CSV file as well as a R script (R file) Downloading Data: GNU R.

Note: If the data and the script were downloaded at different times, it may be that the files are incompatible (e.g. because the list of variables used may have changed).

Note: When downloading the survey data, choose the GNU R file format instead of CSV. This ensures that the formatting in the file will be compatible with the import script.

The following steps describe the process when using the RGui user interface for R. In principle, the process is virtually the same if you are using R from the console, or another GUI such as RStudio.

Open and start the script in R:

  • FileOpen script
  • EditRun all
  • A dialog should now open that allows you to select the file (this may be behind the window currently open). Select the CSV file that you downloaded and confirm with Open.

The survey data should be be located in a data frame that you specified when downloading the script (default is “data”). You can check the variables using the R command str(data).

en/results/import-gnu-r.txt · Last modified: 13.02.2015 20:42 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki