Skip to content

Commit

Permalink
added package installs to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelvy committed Oct 4, 2021
1 parent 30002ac commit c14654e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
9 changes: 9 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ See [this post](https://www.jhelvy.com/posts/2021-09-18-choice-based-conjoint-su

You can view the live demo survey [here](https://appleconjoint.formr.org/)

## Packages

If you want to run the code in the `survey` folder, you will need to install the following packages:

```{r, eval=FALSE}
install.packages(c("remotes", "tidyverse", "jsonlite"))
remotes::install_github("jhelvy/conjointTools")
```

## Author and License Information

- Author: *John Paul Helveston* https://www.jhelvy.com/
Expand Down
26 changes: 18 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

<!-- badges: start -->

[![CC
BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
[![CC BY-NC-SA
4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](http://creativecommons.org/licenses/by-nc-sa/4.0/)

<!-- badges: end -->

[formr.org](https://formr.org/) is a flexible platform for making
surveys using
<svg style="height:0.8em;top:.04em;position:relative;" viewBox="0 0 581 512"><path d="M581 226.6C581 119.1 450.9 32 290.5 32S0 119.1 0 226.6C0 322.4 103.3 402 239.4 418.1V480h99.1v-61.5c24.3-2.7 47.6-7.4 69.4-13.9L448 480h112l-67.4-113.7c54.5-35.4 88.4-84.9 88.4-139.7zm-466.8 14.5c0-73.5 98.9-133 220.8-133s211.9 40.7 211.9 133c0 50.1-26.5 85-70.3 106.4-2.4-1.6-4.7-2.9-6.4-3.7-10.2-5.2-27.8-10.5-27.8-10.5s86.6-6.4 86.6-92.7-90.6-87.9-90.6-87.9h-199V361c-74.1-21.5-125.2-67.1-125.2-119.9zm225.1 38.3v-55.6c57.8 0 87.8-6.8 87.8 27.3 0 36.5-38.2 28.3-87.8 28.3zm-.9 72.5H365c10.8 0 18.9 11.7 24 19.2-16.1 1.9-33 2.8-50.6 2.9v-22.1z"/></svg>.
<img src="figs/fa-icon-3b6b9d998f60a2b82069ad0e55a411dd.svg" style="width:1.13em;height:1em" />.
This repo contains files for designing and implementing a demo conjoint
survey with formr about people’s preferences for apples with three
attributes: `type`, `price`, and `freshness`.
Expand All @@ -24,13 +24,23 @@ for more details about the demo.
You can view the live demo survey
[here](https://appleconjoint.formr.org/)

## Packages

If you want to run the code in the `survey` folder, you will need to
install the following packages:

``` r
install.packages(c("remotes", "tidyverse", "jsonlite"))
remotes::install_github("jhelvy/conjointTools")
```

## Author and License Information

- Author: *John Paul Helveston* <https://www.jhelvy.com/>
- Date First Written: *Monday, August 12, 2019*
- This work is licensed under a [Creative Commons
- Author: *John Paul Helveston* <https://www.jhelvy.com/>
- Date First Written: *Monday, August 12, 2019*
- This work is licensed under a [Creative Commons
Attribution-NonCommercial-ShareAlike 4.0 International
License](http://creativecommons.org/licenses/by-nc-sa/4.0/).

[![CC
BY-NC-SA 4.0](https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
[![CC BY-NC-SA
4.0](https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-nc-sa/4.0/)
6 changes: 6 additions & 0 deletions figs/fa-icon-3b6b9d998f60a2b82069ad0e55a411dd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c14654e

Please sign in to comment.