Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/andrie/sss
- Owner: andrie
- Created: 2012-06-24T06:23:51.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-03-31T17:46:36.000Z (9 months ago)
- Last Synced: 2024-09-14T10:57:30.014Z (3 months ago)
- Topics: r, r-package, r-stats, sss
- Language: R
- Homepage: http://andrie.github.io/sss/
- Size: 7.1 MB
- Stars: 8
- Watchers: 6
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
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
```