Handling survey data in RStudio


I've just started using R Studio and am planning on using it to manage the results of a national survey. Currently this process is handled by a SAS Enterprise Guide project, which does things such as:

  1. Import the raw data from csv
  2. Calculate results of the survey
  3. Create weightings (extrapolating the sample size up to represent the whole of England)
  4. Calculate Margin Of Error of the results (SAS EG uses a stored procedure called 'procsurveymeans' to achieve this)

Does anyone have any good pointers they can give me for how to manage survey data using R please? Any previous discussion thread, links, tips on packages or training material would be really appreciated thank you!


Take a look at survey package (https://cran.r-project.org/web/packages/survey/survey.pdf). It is likely that it has all of the things you have mentioned and then some.
There are more examples at the main page here - http://r-survey.r-forge.r-project.org/survey/.


This is great thank you! Much appreciated :slight_smile:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.