View source: R/subset_survey_compiler_partner_choice.R
subset_survey_compiler_partner_choice | R Documentation |
This is a small helper function to create suveys (PDFs) to collect data for PGG contributions and similar games.
subset_survey_compiler_partner_choice(
path,
pattern = ".jpg",
token_color = "navyblue",
set_size = 4,
height = 8.5,
width = 11,
seed = 123,
gid_size = 4,
game_name = "Choice",
RID = "CR",
day = 1,
month = 3,
year = 2023
)
path |
Path to RICH folder. |
pattern |
Should "JPG" be "jpg" be used to load photos? |
token_color |
"color" of tokens placed. If data was entered manually, place whatever value was stored to indiciate a tie: e.g., "1" |
set_size |
Size of set of possible alters. |
height |
Size of PDF output. |
width |
Size of PDF output. |
seed |
Number to use in seeding randomizer. Not applicable with choice data. |
gid_size |
Number of characters in hashcodes for the game IDs. |
game_name |
Used to label PDF surveys. |
RID |
ID of researcher. |
day |
Day of interview. |
month |
Month of interview. |
year |
Year of interview. |
A file folder, SubsetSurveys, filled with PDFs of sub-surveys to run, and a second folder, SubsetContributions, filled with CSV files that will be used to record survey results.
## Not run:
subset_survey_compiler_partner_choice(path, pattern = ".jpg", token_color="navyblue", set_size=4,
height=8.5, width=11, seed=123, gid_size=4)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.