Skip to content

spdesign

0.0.6

Designing Stated Preference Experiments

0packages depend
2.8Kdownloads / year
25.4%test coverage
9/13checks pass

Overview

About
Maintained by Erlend Dancke SandorfFirst published 2023-08-176 releasesCRAN page ↗GitHub ↗

Contemporary software commonly used to design stated preference experiments are expensive and the code is closed source. This is a free software package with an easy to use interface to make flexible stated preference experimental designs using state-of-the-art methods. For an overview of stated choice experimental design theory, see e.g., Rose, J. M. & Bliemer, M. C. J. (2014) in Hess S. & Daly. A. doi:10.4337/9781781003152. The package website can be accessed at https://spdesign.edsandorf.me. We acknowledge funding from the European Union’s Horizon 2020 research and innovation program under the Marie Sklodowska-Curie grant INSPiRE (Grant agreement ID: 793163). The package features in Mariel et al. (2025) Environmental Valuation with Discrete Choice Experiments in R. (doi:10.1007/978-3-031-89338-4).

Install

Health

CRAN checks
4NOTE9OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.24
25.4%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
90%
References docs
8%

Downloads

2.8K
CRAN downloads in the past year
Rank #12,397 · ~8/day · ~229/mo
Daily download trend is not available in this view yet.
19630 days
79890 days
2.8K1 year
Compare downloads with other packages →
Also on99 r2u4 autocran

Repository

Repository
1Stars
1Forks
8Open issues
0Open PRs
6Releases
400Commits
2Contributors
License GPL-3.0 · 400 commits · Last activity 2026-07-02

Stars over time

2025-04-04 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/edsandorf/spdesign on 2026-08-03.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (2)
R >= 4.1.0stringr
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.0.6Latest
    2026-07-02 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.0.5
    2024-10-18 · diff ↗
  • 0.0.4
    2024-06-21 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.3
    2024-01-16 · diff ↗
  • 0.0.2
    2023-09-07 · diff ↗
  • 0.0.1
    2023-08-17
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-17
Total releases
6 / 3 yrs
License
CC BY-SA 4.0
Minimum R
≥ 4.1.0
Download size
158 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Start here. This is the citation for the package itself.

citation("spdesign")

CRAN DOI

https://doi.org/10.32614/CRAN.package.spdesign

BibTeX, derived from DESCRIPTION

@Manual{spdesign,
  title  = {spdesign: Designing Stated Preference Experiments},
  author = {Sandorf, Erlend Dancke and Campbell, Danny},
  year   = {2026},
  note   = {R package version 0.0.6},
  doi    = {10.32614/CRAN.package.spdesign},
  url    = {https://CRAN.R-project.org/package=spdesign}
}

Derived from the package DESCRIPTION, not from a citation file the authors wrote. If they publish one later, prefer it.

This is the citation for the package. It is not a citation for the R Observatory.

Cite this page

Use this when the claim is about a measurement on this page.

BibTeX

@misc{robservatoryspdesign,
  author    = {Balamuta, James Joseph},
  title     = {{R} {Observatory}: Metrics for {spdesign} version 0.0.6},
  year      = {2026},
  publisher = {HJJB, LLC},
  url       = {https://r-observatory.thecoatlessprofessor.com/packages/spdesign},
  note      = {Data set. Data release v2026-08-05}
}

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spdesign version 0.0.6 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/spdesign

RIS

TY  - DATA
AU  - Balamuta, James Joseph
TI  - R Observatory: Metrics for spdesign version 0.0.6
PY  - 2026
PB  - HJJB, LLC
N1  - Data release v2026-08-05
UR  - https://r-observatory.thecoatlessprofessor.com/packages/spdesign
ER  - 

In prose

These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/spdesign.

Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy