andrie / sss

R package to import files in the triple-s (Standard Survey Structure) format.
http://andrie.github.io/sss/
8 stars 5 forks source link
r r-package r-stats sss

sss

CRAN
status CRAN RStudio mirror
downloads R-CMD-check Codecov test
coverage Lifecycle:
stable

The sss package provides functions to import triple-s XML files into R. The package supports sss files in both .asc and .csv format.

Installation

You can install the released version of sss from CRAN using:

install.packages("sss")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("andrie/sss")

System dependencies

A previous version of this package imported the XML package, but from version 0.1 the package imports xml2. The xml2 package depends on the libxml2 library. If you run your code on linux, you may have to manually install libxml2:

The triple-s standard

triple-s is a standard to transfer survey data between applications.

Example

This is a basic example which shows you how to solve a common problem:

library(sss)
## basic example code