{
  "_id": "6b00bbdca59869b708582216",
  "Package": "FactorialSurvey",
  "Type": "Package",
  "Title": "Design and Analysis of Factorial Survey (Vignette) Experiments",
  "Version": "0.3.0",
  "Authors@R": "c(\nperson(\"Katsuya\", \"Tanaka\", , \"katsuyat@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0455-0133\")))",
  "Description": "An integrated workflow for factorial survey (vignette)\nexperiments. Constructs D-efficient sets of vignettes from a\nfactorial structure and reports their D- and A-efficiency\nfollowing Kuhfeld, Tobias and Garratt (1994)\n<doi:10.1177/002224379403100408>, allocates them to blocks and\nto respondents in carryover-balanced orders, renders them as\nprose, and writes them out for survey platforms. Simulates\nresponses to evaluate statistical power before fielding.\nEstimates beta regression models for bounded ratings and logit\nmodels for yes/no responses, with standard errors clustered by\nrespondent, and derives average marginal effects, marginal\nwillingness to pay and the expected willingness to pay for\ncomplete policy scenarios. The latter is the mean of\nwillingness to pay truncated at zero, Hanemann (1989)\n<doi:10.2307/1242685>, applied to factorial surveys as in\nTanaka et al. (2027) <doi:10.1016/j.tra.2026.105293>. Efficient\ndesigns and optimal blocking use the exchange algorithms of\nFedorov (1972, ISBN:0122507509) as implemented in 'AlgDesign'.\nPresentation orders follow Williams (1949)\n<doi:10.1071/CH9490149>. Beta regression follows Ferrari and\nCribari-Neto (2004) <doi:10.1080/0266476042000214501>. Bounded\nratings are mapped to the open unit interval following Smithson\nand Verkuilen (2006) <doi:10.1037/1082-989X.11.1.54>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.1",
  "URL": "https://github.com/tanakak/FactorialSurvey",
  "BugReports": "https://github.com/tanakak/FactorialSurvey/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-20 21:26:56 UTC",
    "User": "root"
  },
  "Author": "Katsuya Tanaka [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0455-0133>)",
  "Maintainer": "Katsuya Tanaka <katsuyat@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-20 12:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/FactorialSurvey",
  "RemoteRef": "HEAD",
  "RemoteSha": "e506c8571ea33010d071dbd80470d0579637326f",
  "_user": "cran",
  "_type": "src",
  "_file": "FactorialSurvey_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3e812f7e3837f24cc2b2b1484c67b8f40094bbcb1731418457eceae5de8ce0ae",
  "_filesize": 471878,
  "_sha256": "3e812f7e3837f24cc2b2b1484c67b8f40094bbcb1731418457eceae5de8ce0ae",
  "_expires": "2027-02-28T21:30:02.000Z",
  "_created": "2026-11-20T21:26:56.000Z",
  "_published": "2026-11-20T21:30:04.857Z",
  "_upstream": "https://github.com/cran/FactorialSurvey",
  "_status": "success",
  "_maintainer": {
    "name": "Katsuya Tanaka",
    "email": "katsuyat@gmail.com",
    "login": "tanakak",
    "description": "",
    "uuid": 10902703,
    "orcid": "0000-0003-0455-0133"
  },
  "_jobs": [
    {
      "job": 136579675156,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14671148447"
    },
    {
      "job": 136579675570,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14672625015"
    },
    {
      "job": 136577928634,
      "time": 209,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14671667738"
    },
    {
      "job": 136579675490,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14671313652"
    },
    {
      "job": 136579675336,
      "time": 109,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14671961549"
    },
    {
      "job": 136579675334,
      "time": 105,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14671846724"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309",
  "_commit": {
    "id": "e506c8571ea33010d071dbd80470d0579637326f",
    "author": "Katsuya Tanaka <katsuyat@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.3.0\n",
    "time": 1795176602
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "AlgDesign",
      "role": "Imports"
    },
    {
      "package": "betareg",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "openxlsx",
      "role": "Suggests"
    },
    {
      "package": "margins",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.3.0",
      "date": "2026-11-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tanakak",
      "count": 1,
      "uuid": 10902703
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 636,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/FactorialSurvey"
  },
  "_devurl": "https://github.com/tanakak/factorialsurvey",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/FactorialSurvey.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.3.0",
      "date": "2026-11-20"
    }
  ],
  "_authors": [
    {
      "name": "Katsuya Tanaka",
      "email": "katsuyat@gmail.com",
      "orcid": "0000-0003-0455-0133",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "fs_assign",
    "fs_betareg",
    "fs_defficient",
    "fs_design_eval",
    "fs_efficiency",
    "fs_ewtp",
    "fs_export",
    "fs_logit",
    "fs_mwtp",
    "fs_power",
    "fs_simulate_ratings",
    "fs_vignette_text",
    "fs_williams",
    "set_labels",
    "theme_fs"
  ],
  "_datasets": [
    {
      "name": "bento",
      "title": "Ratings of take-away lunch boxes from a classroom factorial survey",
      "object": "bento",
      "class": [
        "data.frame"
      ],
      "fields": [
        "respondent",
        "vignette",
        "main",
        "side",
        "info",
        "price",
        "rating"
      ],
      "rows": 384,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.data.frame.fs_ewtp",
      "title": "Coerce expected willingness to pay estimates to a data frame",
      "topics": [
        "as.data.frame.fs_ewtp"
      ]
    },
    {
      "page": "as.data.frame.fs_mwtp",
      "title": "Coerce marginal willingness to pay estimates to a data frame",
      "topics": [
        "as.data.frame.fs_mwtp"
      ]
    },
    {
      "page": "bento",
      "title": "Ratings of take-away lunch boxes from a classroom factorial survey",
      "topics": [
        "bento"
      ]
    },
    {
      "page": "fs_assign",
      "title": "Allocate blocks and presentation orders to respondents",
      "topics": [
        "fs_assign"
      ]
    },
    {
      "page": "fs_betareg",
      "title": "Beta regression for bounded rating outcomes",
      "topics": [
        "fs_betareg"
      ]
    },
    {
      "page": "fs_betareg-extractors",
      "title": "Extract components from a factorial survey beta regression",
      "topics": [
        "coef.fs_betareg",
        "fitted.fs_betareg",
        "fs_betareg-extractors",
        "logLik.fs_betareg",
        "nobs.fs_betareg",
        "vcov.fs_betareg"
      ]
    },
    {
      "page": "fs_defficient",
      "title": "Generate a D-efficient set of vignettes for a factorial survey",
      "topics": [
        "fs_defficient"
      ]
    },
    {
      "page": "fs_design_eval",
      "title": "Diagnostics for a factorial survey design",
      "topics": [
        "fs_design_eval"
      ]
    },
    {
      "page": "fs_efficiency",
      "title": "D- and A-efficiency of a factorial survey design",
      "topics": [
        "fs_efficiency"
      ]
    },
    {
      "page": "fs_ewtp",
      "title": "Expected willingness to pay for a policy scenario",
      "topics": [
        "fs_ewtp"
      ]
    },
    {
      "page": "fs_export",
      "title": "Write a design or schedule out for a survey platform",
      "topics": [
        "fs_export"
      ]
    },
    {
      "page": "fs_logit",
      "title": "Logit model for binary responses to vignettes",
      "topics": [
        "fs_logit"
      ]
    },
    {
      "page": "fs_logit-extractors",
      "title": "Extract components from a factorial survey logit model",
      "topics": [
        "coef.fs_logit",
        "fitted.fs_logit",
        "fs_logit-extractors",
        "logLik.fs_logit",
        "nobs.fs_logit",
        "vcov.fs_logit"
      ]
    },
    {
      "page": "fs_mwtp",
      "title": "Marginal willingness to pay from a fitted model",
      "topics": [
        "fs_mwtp"
      ]
    },
    {
      "page": "fs_plot",
      "title": "Plot estimates with confidence intervals",
      "topics": [
        "fs_plot",
        "plot.fs_betareg",
        "plot.fs_ewtp",
        "plot.fs_logit",
        "plot.fs_mwtp"
      ]
    },
    {
      "page": "fs_power",
      "title": "Power and precision of a factorial survey by simulation",
      "topics": [
        "fs_power"
      ]
    },
    {
      "page": "fs_simulate_ratings",
      "title": "Simulate responses to a factorial survey",
      "topics": [
        "fs_simulate_ratings"
      ]
    },
    {
      "page": "fs_vignette_text",
      "title": "Turn design rows into vignette prose",
      "topics": [
        "fs_vignette_text"
      ]
    },
    {
      "page": "fs_williams",
      "title": "Construct a Williams design",
      "topics": [
        "fs_williams"
      ]
    },
    {
      "page": "plot.fs_power",
      "title": "Plot a power analysis",
      "topics": [
        "plot.fs_power"
      ]
    },
    {
      "page": "print.fs_assignment",
      "title": "Print a respondent schedule",
      "topics": [
        "print.fs_assignment"
      ]
    },
    {
      "page": "print.fs_betareg",
      "title": "Print a fitted factorial survey beta regression",
      "topics": [
        "print.fs_betareg"
      ]
    },
    {
      "page": "print.fs_design",
      "title": "Print a factorial survey design",
      "topics": [
        "print.fs_design"
      ]
    },
    {
      "page": "print.fs_design_eval",
      "title": "Print design diagnostics",
      "topics": [
        "print.fs_design_eval"
      ]
    },
    {
      "page": "print.fs_efficiency",
      "title": "Print design efficiencies",
      "topics": [
        "print.fs_efficiency"
      ]
    },
    {
      "page": "print.fs_ewtp",
      "title": "Print expected willingness to pay estimates",
      "topics": [
        "print.fs_ewtp"
      ]
    },
    {
      "page": "print.fs_logit",
      "title": "Print a fitted factorial survey logit model",
      "topics": [
        "print.fs_logit"
      ]
    },
    {
      "page": "print.fs_mwtp",
      "title": "Print marginal willingness to pay estimates",
      "topics": [
        "print.fs_mwtp"
      ]
    },
    {
      "page": "print.fs_power",
      "title": "Print a power analysis",
      "topics": [
        "print.fs_power"
      ]
    },
    {
      "page": "print.summary.fs_betareg",
      "title": "Print the summary of a factorial survey beta regression",
      "topics": [
        "print.summary.fs_betareg"
      ]
    },
    {
      "page": "print.summary.fs_logit",
      "title": "Print the summary of a factorial survey logit model",
      "topics": [
        "print.summary.fs_logit"
      ]
    },
    {
      "page": "set_labels",
      "title": "Attach readable level labels to design or survey variables",
      "topics": [
        "set_labels"
      ]
    },
    {
      "page": "summary.fs_betareg",
      "title": "Summarise a fitted factorial survey beta regression",
      "topics": [
        "summary.fs_betareg"
      ]
    },
    {
      "page": "summary.fs_logit",
      "title": "Summarise a fitted factorial survey logit model",
      "topics": [
        "summary.fs_logit"
      ]
    },
    {
      "page": "theme_fs",
      "title": "A plain theme for factorial survey plots",
      "topics": [
        "theme_fs"
      ]
    }
  ],
  "_readme": "https://github.com/cran/FactorialSurvey/raw/HEAD/README.md",
  "_rundeps": [
    "AlgDesign",
    "betareg",
    "cli",
    "cpp11",
    "farver",
    "flexmix",
    "Formula",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "modeltools",
    "nnet",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "FactorialSurvey.Rmd",
      "filename": "FactorialSurvey.html",
      "title": "Getting started with FactorialSurvey",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Design the vignettes",
        "2. Decide how many respondents you need",
        "3. Analyse the ratings",
        "4. Willingness to pay",
        "5. Yes/no responses",
        "References"
      ],
      "created": "2026-11-20 12:10:02",
      "modified": "2026-11-20 12:10:02",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "factorialsurvey",
  "_universes": [
    "cran",
    "tanakak"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-20T21:28:55.000Z",
      "distro": "resolute",
      "commit": "e506c8571ea33010d071dbd80470d0579637326f",
      "fileid": "https://r2.ropensci.org/675f0341b3dc66292b3d04c67e4405e5aec2b1e9f956171de0308a1b7259eec5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-20T21:29:00.000Z",
      "distro": "resolute",
      "commit": "e506c8571ea33010d071dbd80470d0579637326f",
      "fileid": "https://r2.ropensci.org/acbe27901881634a056631aaa8bcc9aa6a0a9599e8cec86e8f68cc5b1cc14275",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-11-20T21:28:53.000Z",
      "commit": "e506c8571ea33010d071dbd80470d0579637326f",
      "fileid": "https://r2.ropensci.org/9ead8bc65c48fc3db32c1e45e49bad8bbd0404bb12f7c6a86049b405277e134a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-20T21:28:06.000Z",
      "commit": "e506c8571ea33010d071dbd80470d0579637326f",
      "fileid": "https://r2.ropensci.org/2bd33dea4145f1db9567e69b70e5553a7836d4ab5813b4926e626df24d702853",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-20T21:28:07.000Z",
      "commit": "e506c8571ea33010d071dbd80470d0579637326f",
      "fileid": "https://r2.ropensci.org/947c8cc353de9e2f568a41d6c29aaed04147150e81623c5a85b329652538c228",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44819899309"
    }
  ]
}