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: 2 months ago
JSON representation
R package to import files in the triple-s (Standard Survey Structure) format.
- Host: GitHub
- URL: https://github.com/andrie/sss
- Owner: andrie
- Created: 2012-06-24T06:23:51.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T13:53:41.000Z (5 months ago)
- Last Synced: 2025-03-17T12:40:09.547Z (2 months ago)
- Topics: r, r-package, r-stats, sss
- Language: R
- Homepage: http://andrie.github.io/sss/
- Size: 7.82 MB
- Stars: 8
- Watchers: 5
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
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
[](https://CRAN.R-project.org/package=sss)
[](https://www.r-pkg.org/pkg/sss)
[](https://github.com/andrie/sss/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/andrie/sss?branch=main)
[](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
```