Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/andrie/sss

R package to import files in the triple-s (Standard Survey Structure) format.
https://github.com/andrie/sss

r r-package r-stats sss

Last synced: about 2 months ago
JSON representation

R package to import files in the triple-s (Standard Survey Structure) format.

Awesome Lists containing this project

README

        

---
output: github_document
format: gfm
default-image-extension: ""
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# sss

[![CRAN status](https://www.r-pkg.org/badges/version/sss)](https://CRAN.R-project.org/package=sss)
[![CRAN RStudio mirror downloads](https://cranlogs.r-pkg.org/badges/sss)](https://www.r-pkg.org/pkg/sss)
[![R-CMD-check](https://github.com/andrie/sss/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/andrie/sss/actions/workflows/R-CMD-check.yaml)
[![Codecov test coverage](https://codecov.io/gh/andrie/sss/branch/main/graph/badge.svg)](https://app.codecov.io/gh/andrie/sss?branch=main)
[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://www.tidyverse.org/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](https://CRAN.R-project.org) using:

``` r
install.packages("sss")
```

And the development version from [GitHub](https://github.com/) with:

``` r
# 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`:

* `libxml2-dev` (Debian, Ubuntu)
* `libxml2-devel` (Red Hat, CentOS, Fedora)

## The triple-s standard

[triple-s](https://triple-s.org/) is a standard to transfer survey data between applications.

## Example

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

```{r example}
library(sss)
## basic example code
```