From 32c0d3e5554d39b3b2e66c84d24dfad34551f064 Mon Sep 17 00:00:00 2001 From: Brandon Bertelsen Date: Fri, 5 Jun 2020 15:35:44 -0500 Subject: [PATCH] Updates --- DESCRIPTION | 3 +- NAMESPACE | 30 +- R/codebook.R | 158 +- R/utils.R | 1 + inst/allinone.tex | 171 - inst/categorical.tex | 86 - inst/multiple_response.tex | 86 - inst/numeric.tex | 79 - man/as.data.frame.CategoricalVariable.Rd | 17 - man/codebookItem.Rd | 65 - man/codebookItemTxt.Rd | 21 - man/writeCodebook.Rd | 16 - .../app.crunch.io/api/datasets/0cf18b.json | 1 - .../api/datasets/0cf18b/cube-37fa36.json | 1 - .../api/datasets/0cf18b/cube-6cee0f.json | 1 - .../api/datasets/0cf18b/cube-746a99.json | 1 - .../api/datasets/0cf18b/cube-c06dec.json | 1 - .../api/datasets/0cf18b/cube-e0b8f6.json | 1 - .../api/datasets/0cf18b/cube-f71f8d.json | 1 - .../api/datasets/0cf18b/multitables.json | 1 - .../datasets/0cf18b/multitables/1e8165.json | 1 - .../multitables/1e8165/tabbook-0afa92-POST.R | 210 - .../datasets/0cf18b/multitables/ce88af.json | 1 - .../multitables/ce88af/tabbook-0afa92-POST.R | 210 - .../api/datasets/0cf18b/preferences.json | 1 - .../api/datasets/0cf18b/summary-73a614.json | 1 - .../api/datasets/0cf18b/variables-d118fa.json | 1 - .../0cf18b/variables/000006/subvariables.json | 1 - .../api/datasets/0cf18b/variables/5779bf.json | 1 - .../api/datasets/0cf18b/variables/9a3898.json | 1 - .../api/datasets/0cf18b/variables/addbfc.json | 1 - .../api/datasets/0cf18b/variables/f7c1ad.json | 1 - .../variables/f7c1ad/values-3d4982.json | 1 - .../0cf18b/variables/hier-d118fa.json | 1 - .../datasets/0cf18b/variables/weights.json | 1 - .../app.crunch.io/api/datasets/85f.json | 78 - .../api/datasets/85f/cube-6f1d0b.json | 272 - .../api/datasets/85f/cube-8db5f5.json | 105 - .../api/datasets/85f/cube-d69854.json | 254 - .../api/datasets/85f/multitables.json | 50 - .../api/datasets/85f/multitables/e26.json | 32 - .../85f/multitables/e26/tabbook-023abd.json | 7186 ----------------- .../api/datasets/85f/multitables/f9c.json | 25 - .../85f/multitables/f9c/tabbook-6d7ce6.json | 1350 ---- .../api/datasets/85f/variables-d118fa.json | 206 - .../85f/variables/000006/subvariables.json | 37 - .../datasets/85f/variables/000008/0001.json | 74 - .../datasets/85f/variables/000008/0002.json | 74 - .../85f/variables/000008/subvariables.json | 29 - .../api/datasets/85f/variables/298.json | 87 - .../api/datasets/85f/variables/9a3.json | 69 - .../datasets/85f/variables/hier-d118fa.json | 48 - .../app.crunch.io/api/datasets/ad5fa.json | 1 - .../api/datasets/ad5fa/cube-01b9d5.json | 1 - .../api/datasets/ad5fa/cube-bda5d0.json | 1 - .../api/datasets/ad5fa/multitables.json | 1 - .../api/datasets/ad5fa/multitables/4996c.json | 1 - .../multitables/4996c/tabbook-023abd.json | 1 - .../multitables/4996c/tabbook-0e38d7-POST.R | 73 - .../multitables/4996c/tabbook-1c223b-POST.R | 252 - .../api/datasets/ad5fa/summary-73a614.json | 1 - .../api/datasets/ad5fa/variables-d118fa.json | 1 - .../api/datasets/ad5fa/variables/000000.json | 1 - .../ad5fa/variables/000000/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000001.json | 1 - .../ad5fa/variables/000001/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000002.json | 1 - .../ad5fa/variables/000002/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000003.json | 1 - .../ad5fa/variables/000003/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000008.json | 1 - .../ad5fa/variables/000008/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000010.json | 1 - .../ad5fa/variables/000010/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000011.json | 1 - .../ad5fa/variables/000011/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000012.json | 1 - .../ad5fa/variables/000012/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000013.json | 1 - .../ad5fa/variables/000013/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000014.json | 1 - .../ad5fa/variables/000014/values-51980f.json | 1 - .../api/datasets/ad5fa/variables/000015.json | 1 - .../ad5fa/variables/000015/values-641ef3.json | 1 - .../api/datasets/ad5fa/variables/000016.json | 1 - .../ad5fa/variables/000016/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000017.json | 1 - .../ad5fa/variables/000017/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/000018.json | 1 - .../ad5fa/variables/000018/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/c37bc.json | 1 - .../ad5fa/variables/c37bc/subvariables.json | 1 - .../variables/c37bc/subvariables/000007.json | 1 - .../variables/c37bc/subvariables/000009.json | 1 - .../ad5fa/variables/c37bc/values-3d4982.json | 1 - .../api/datasets/ad5fa/variables/fdc41.json | 1 - .../ad5fa/variables/fdc41/subvariables.json | 1 - .../variables/fdc41/subvariables/000004.json | 1 - .../variables/fdc41/subvariables/000005.json | 1 - .../variables/fdc41/subvariables/000006.json | 1 - .../ad5fa/variables/fdc41/values-22eae5.json | 1 - .../datasets/ad5fa/variables/hier-d118fa.json | 1 - .../testthat/app.crunch.io/api/progress.json | 1 - .../fixtures-1-2-5/app.crunch.io/api.R | 19 - .../fixtures-1-2-5/app.crunch.io/api.json | 33 - .../app.crunch.io/api/datasets/6b2eb5.json | 99 - .../api/datasets/6b2eb5/cube-a5c3da.json | 317 - .../datasets/6b2eb5/multitables-a17e9c-POST.R | 19 - .../api/datasets/6b2eb5/multitables.json | 14 - .../datasets/6b2eb5/multitables/7da879.json | 37 - .../multitables/7da879/export-384062-POST.R | 20 - .../api/datasets/6b2eb5/preferences.json | 7 - .../api/datasets/6b2eb5/summary-73a614.json | 16 - .../api/datasets/6b2eb5/variables-d118fa.json | 151 - .../subvariables.json | 43 - .../subvariables/0001.json | 86 - .../subvariables/0002.json | 86 - .../subvariables/0003.json | 86 - .../22dOpNBlKMRBmwvFfv087O000002.json | 89 - .../22dOpNBlKMRBmwvFfv087O000003.json | 57 - .../values-3d4982.json | 34 - .../22dOpNBlKMRBmwvFfv087O000004.json | 55 - .../values-3d4982.json | 26 - .../22dOpNBlKMRBmwvFfv087O000005.json | 55 - .../values-3d4982.json | 42 - .../22dOpNBlKMRBmwvFfv087O000007.json | 91 - .../22dOpNBlKMRBmwvFfv087O000008.json | 54 - .../values-641ef3.json | 34 - .../22dOpNBlKMRBmwvFfv087O000009.json | 54 - .../values-3d4982.json | 26 - .../6b2eb5/variables/hier-d118fa.json | 41 - .../datasets/6b2eb5/variables/weights.json | 8 - .../datasets/by_name/Example%20dataset.json | 35 - .../app.crunch.io/api/datasets/e6d1e7.json | 99 - .../api/datasets/e6d1e7/cube-3a963d.json | 317 - .../datasets/e6d1e7/multitables-66f87c-POST.R | 19 - .../api/datasets/e6d1e7/multitables.json | 14 - .../datasets/e6d1e7/multitables/74b368.json | 37 - .../multitables/74b368/export-3502a0-POST.R | 20 - .../api/datasets/e6d1e7/preferences.json | 7 - .../api/datasets/e6d1e7/summary-73a614.json | 16 - .../api/datasets/e6d1e7/variables-d118fa.json | 151 - .../subvariables.json | 43 - .../4D9ueMTv4l7Y73adCnN2Y0000003.json | 57 - .../values-3d4982.json | 34 - .../4D9ueMTv4l7Y73adCnN2Y0000004.json | 55 - .../values-3d4982.json | 26 - .../4D9ueMTv4l7Y73adCnN2Y0000005.json | 55 - .../values-3d4982.json | 42 - .../4D9ueMTv4l7Y73adCnN2Y0000008.json | 54 - .../values-641ef3.json | 34 - .../4D9ueMTv4l7Y73adCnN2Y0000009.json | 54 - .../values-3d4982.json | 26 - .../e6d1e7/variables/hier-d118fa.json | 41 - .../datasets/e6d1e7/variables/weights.json | 8 - .../app.crunch.io/api/progress.json | 11 - .../app.crunch.io/api/public/login-POST.204 | 0 .../Example_dataset.json-5b3024.json | 4259 ---------- .../Example_dataset.json-66ae09.json | 4259 ---------- .../Example_dataset.json-49403e.json | 4259 ---------- .../Example_dataset.json-780fb0.json | 4259 ---------- tests/testthat/fixtures/buildFixtures-1-2-5.R | 26 +- tests/testthat/test-codebookitem.R | 18 + tests/testthat/test-codebookitemtxt.R | 26 + 164 files changed, 126 insertions(+), 31458 deletions(-) delete mode 100644 inst/allinone.tex delete mode 100644 inst/categorical.tex delete mode 100644 inst/multiple_response.tex delete mode 100644 inst/numeric.tex delete mode 100644 man/as.data.frame.CategoricalVariable.Rd delete mode 100644 man/codebookItem.Rd delete mode 100644 man/codebookItemTxt.Rd delete mode 100644 man/writeCodebook.Rd delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-37fa36.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-6cee0f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-746a99.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-c06dec.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-e0b8f6.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-f71f8d.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook-0afa92-POST.R delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook-0afa92-POST.R delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/preferences.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/summary-73a614.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/5779bf.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/9a3898.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/addbfc.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/hier-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/weights.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/cube-6f1d0b.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/cube-8db5f5.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/cube-d69854.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/multitables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26/tabbook-023abd.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c/tabbook-6d7ce6.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/000006/subvariables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0001.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0002.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/subvariables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/298.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/9a3.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/85f/variables/hier-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-01b9d5.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-bda5d0.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-023abd.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-0e38d7-POST.R delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-1c223b-POST.R delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/summary-73a614.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014/values-51980f.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015/values-641ef3.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/values-3d4982.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/values-22eae5.json delete mode 100644 tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/hier-d118fa.json delete mode 100644 tests/testthat/app.crunch.io/api/progress.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api.R delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/cube-a5c3da.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables-a17e9c-POST.R delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export-384062-POST.R delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/preferences.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/summary-73a614.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables-d118fa.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values-641ef3.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/hier-d118fa.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/weights.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/by_name/Example%20dataset.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/cube-3a963d.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables-66f87c-POST.R delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export-3502a0-POST.R delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/preferences.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/summary-73a614.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables-d118fa.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values-641ef3.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values-3d4982.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/hier-d118fa.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/weights.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/progress.json delete mode 100644 tests/testthat/fixtures-1-2-5/app.crunch.io/api/public/login-POST.204 delete mode 100644 tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-5b3024.json delete mode 100644 tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-66ae09.json delete mode 100644 tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-49403e.json delete mode 100644 tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-780fb0.json create mode 100644 tests/testthat/test-codebookitem.R create mode 100644 tests/testthat/test-codebookitemtxt.R diff --git a/DESCRIPTION b/DESCRIPTION index 43743860..4c4c18c3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -17,7 +17,8 @@ BugReports: https://github.com/Crunch-io/crunchtabs/issues License: LGPL (>= 3) Depends: R (>= 3.3.0), - crunch + crunch, + kableExtra Imports: openxlsx, digest, diff --git a/NAMESPACE b/NAMESPACE index 9eab311f..4573b3e5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,12 +4,19 @@ S3method(calculateIfLongtable,CrossTabVar) S3method(calculateIfLongtable,ToplineCategoricalArray) S3method(calculateIfLongtable,ToplineVar) S3method(calculateIfLongtable,default) -S3method(codebookItem,CategoricalArrayVariable) -S3method(codebookItem,CategoricalVariable) -S3method(codebookItem,DatetimeVariable) -S3method(codebookItem,MultipleResponseVariable) -S3method(codebookItem,NumericVariable) -S3method(codebookItem,TextVariable) +S3method(codeBookItem,CategoricalArrayVariable) +S3method(codeBookItem,CategoricalVariable) +S3method(codeBookItem,DatetimeVariable) +S3method(codeBookItem,MultipleResponseVariable) +S3method(codeBookItem,NumericVariable) +S3method(codeBookItem,TextVariable) +S3method(codeBookSummary,CategoricalArrayVariable) +S3method(codeBookSummary,CategoricalVariable) +S3method(codeBookSummary,DatetimeVariable) +S3method(codeBookSummary,MultipleResponseVariable) +S3method(codeBookSummary,NumericVariable) +S3method(codeBookSummary,TextVariable) +S3method(codeBookSummary,default) S3method(getName,BannerVar) S3method(getName,CrossTabVar) S3method(getName,CrunchCube) @@ -27,10 +34,15 @@ S3method(tableHeader,ToplineCategoricalArray) S3method(tableHeader,ToplineVar) S3method(tableHeader,default) export(banner) -export(codebookItem) -export(codebookItemTxt) +export(bcodeBookItemBody) +export(bcodeBookItemTxtDescription) +export(bwriteCodeBook) +export(codeBookItem) +export(codeBookItemTxt) +export(codeBookSummary) export(crosstabs) export(getName) +export(kable_strip_rules) export(prepareExtraSummary) export(sortAliases) export(surveyDuration) @@ -40,7 +52,7 @@ export(themeHuffPoCrosstabs) export(themeHuffPoToplines) export(themeNew) export(themeUKPolitical) -export(writeCodebook) +export(with_api_fixture) export(writeExcel) export(writeLatex) import(crunch) diff --git a/R/codebook.R b/R/codebook.R index a97c7ed1..3db2c1d1 100644 --- a/R/codebook.R +++ b/R/codebook.R @@ -16,12 +16,12 @@ #' @param x An object of one of the types listed #' @param ... Additional arguents passed to codebookItem methods #' @export -codebookItem <- function(x, ...) { +codeBookItem <- function(x, ...) { UseMethod("codebookItem", x) } #' @rdname codebookItem -codebookItem.default <- function(x) { +codeBookItem.default <- function(x) { wrong_class_error(x, c("CategoricalVariable", "CategoricalArrayVariable", "MultipleResponseVariable", "TextVariable", "NumericVariable", "DatetimeVariable"), "codebookItem") } @@ -38,8 +38,13 @@ codebookItem.default <- function(x) { #' @md #' @importFrom glue glue #' @export -codebookItemTxt <- function(x) { - txt <- x@tuple@body +codeBookItemTxt <- function(x) { + txt <- list() + txt$name <- crunch::name(x) + txt$alias <- crunch::alias(x) + txt$description <- crunch::description(x) + txt$notes <- crunch::notes(x) + if (txt$description == "") { warning(txt$alias, " is missing a description.") @@ -61,7 +66,7 @@ codebookItemTxt <- function(x) { ) if (txt$notes != "") { - notes <- glue( + notestxt <- glue( "\\begin{tabularx}{\\textwidth}{lllr} ", "& Notes & <<>> & \\\\ ", "& & & & \\\\ ", @@ -69,44 +74,27 @@ codebookItemTxt <- function(x) { , .open = "<<<", .close = ">>>", .sep = "\n" ) } else { - notes <- "" + notestxt <- "" } paste( alias_name, question, - notes, + notestxt, sep = "\n\n" ) } -#' -codebookItemSubVars <- function(x) { - sv <- subvariables(x) - als <- unname(unlist(lapply(sv@index, getElement, "alias"))) - resp <- unname(unlist(lapply(sv@index, getElement, "name"))) - sv <- data.frame(`Sub Alias` = als, Name = resp) - sv_responses <- categories(x) - - list( - key = sv, - key2 = setNames(sv_responses, c("Response", "Value")) - ) - -} - - - #' @describeIn codebookItem Prepares a codebookItem for a CategoricalVariable #' @export -codebookItem.CategoricalVariable <- function(x) { +codeBookItem.CategoricalVariable <- function(x) { header <- codebookItemTxt(x) - res <- as.data.frame(x) + res <- codeBookSummary(x) - top = "\\begin{tabularx}{\\textwidth}{llcXrr} \n" - bottom = "\n\\end{tabularx}" + top <- "\\begin{tabularx}{\\textwidth}{llcXrr} \n" + bottom <- "\n\\end{tabularx}" - l = 1:nrow(res) + l <- 1:nrow(res) for (i in 1:nrow(res)) { l[i] <- glue( ' @@ -129,25 +117,35 @@ codebookItem.CategoricalVariable <- function(x) { #' @describeIn codebookItem Prepares a codebookitem for a CategoricalArrayVariable #' @export -codebookItem.CategoricalArrayVariable <- function(x) { - header = codebookItemTxt(x) - subvars = codebookItemSubVars(x) +codeBookItem.CategoricalArrayVariable <- function(x) { + header <- codebookItemTxt(x) + r <- codeBookSummary(x) + + + + topalignment <- paste0(c("{", + rep("l",2), + "X", + rep("c", ncol(r) - 2)), collapse = "" + ) + top <- "\\begin{tabularx}{\\textwidth}{%s}" + top <- sprintf(top, topalignment) + bottom <- "\\end{tabularx}" + + } #' @describeIn codebookItem Prepares a codebookitem for a MultipleResponseVariable #' @export -codebookItem.MultipleResponseVariable <- function(x) { - header = codebookItemTxt(x) - -} +codeBookItem.MultipleResponseVariable <- function(x) codebookItem.CategoricalArrayVariable(x) #' @describeIn codebookItem Prepares a codebookitem for a NumericVariable #' @export -codebookItem.NumericVariable <- function(x) { - header = codebookItemTxt(x) +codeBookItem.NumericVariable <- function(x) { + header <- codebookItemTxt(x) - top = "\\begin{tabularx}{\\textwidth}{llXr}" - bottom = "\\end{tabularx}" + top <- "\\begin{tabularx}{\\textwidth}{llXr}" + bottom <- "\\end{tabularx}" minima <- min(x, na.rm = T) maxima <- max(x, na.rm = T) @@ -160,7 +158,6 @@ codebookItem.NumericVariable <- function(x) { missings_row <- glue("& Missing & <<>> & \\\\", .open = "<<<", .close = ">>>") - paste0( header, top, @@ -178,83 +175,10 @@ codebookItem.NumericVariable <- function(x) { #' @describeIn codebookItem Prepares a codebookitem for a TextVariable #' @export -codebookItem.TextVariable <- function(x) { - header = codebookItemTxt(x) +codeBookItem.TextVariable <- function(x) { + header <- codebookItemTxt(x) } #' @describeIn codebookItem Prepares a codebookitem for a DatetimeVariable #' @export -codebookItem.DatetimeVariable <- codebookItem.NumericVariable - -#' Generate LaTeX CodeBooks -#' -#' \code{writeCodebook} produces publication-quality LaTeX reports -#' -#' @param ds A crunch dataset -#' -#' @param ... Additional arguments passed to writeLatx -#' -#' @importFrom utils installed.packages -#' @export -writeCodebook <- function(...) { - writeLatex(...) -} - -#' Categorical Variable to data.frame -#' -#' Manipulate categorical into a results object without hitting the tabBook -#' endpoint. For the purpose of creating a codebookItem. -#' -#' @param x A CategoricalVariable from a crunch \link[crunch]{loadDataset} -#' @param ... Ignored -as.data.frame.CategoricalVariable <- function(x, ...) { - cats <- crunch::categories(x) - responses <- suppressWarnings(do.call(rbind, cats@.Data)) - l <- list() - for (i in 1:nrow(responses)) { - - if (is.null(responses[i, ]$numeric_value)) { - # CategoricalVariable within MultipleResponseVariable - if (responses[i, ]$name %in% c("not selected", "selected")) { - responses[i,]$numeric_value <- ifelse( - responses[i, ]$name == "selected", - 1L, - 2L - ) - } else { - responses[i,]$numeric_value <- NA_integer_ - } - } - - l[[i]] <- as.data.frame( - matrix( - unlist(responses[i,]), - ncol = dim(responses)[2] - ) - ) - } - - l <- do.call(rbind, l) - # CategoricalVariable - if (ncol(l) == 4) { - names(l) <- c("id", "missing", "name", "value") - } - - # CategoricalVariable within MultipleResponseVariable - if (ncol(l) == 5) { - names(l) <- c("id", "missing", "name", "value", "drop") - - } - - for (i in 1:ncol(l)) { l[[i]] <- type.convert(l[[i]], as.is = T) } - - smry <- data.frame(crunch::table(x, useNA = "ifany")) - names(smry) <- c("name", "n") - - res <- merge(l, smry) - res[with(res, order(value)),] -} - -as.data.frame.MultipleResponseVariable <- function(x, ...) { - responses = lapply(x, as.data.frame.CategoricalVariable) -} +codeBookItem.DatetimeVariable <- codeBookItem.NumericVariable diff --git a/R/utils.R b/R/utils.R index 08b2085a..69ad7108 100644 --- a/R/utils.R +++ b/R/utils.R @@ -161,6 +161,7 @@ collapse_items <- function(x, and = FALSE, or = FALSE, quotes = FALSE){ #' #' @param fixture_path A full path to fixtures #' @param expr An expression to be run within the api fixture +#' @export with_api_fixture <- function(fixture_path, expr) { with( crunch::temp.options( diff --git a/inst/allinone.tex b/inst/allinone.tex deleted file mode 100644 index 934f1c45..00000000 --- a/inst/allinone.tex +++ /dev/null @@ -1,171 +0,0 @@ -\documentclass{article} -\usepackage[pdftex]{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{fancyhdr} -\usepackage{tabularx} -\usepackage{sfmath} -\usepackage{comment} -\usepackage[T1]{fontenc} -\usepackage[pdftex=true, pdftoolbar=true, pdfmenubar=true, pdfauthor = {}, pdfcreator = {PDFLaTeX}, pdftitle = {}, colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue, implicit=true, hypertexnames=false]{hyperref} -\usepackage[scaled]{helvet} -\renewcommand*\familydefault{\sfdefault} -\usepackage{booktabs, dcolumn, longtable} -\usepackage[top=0.6in, bottom=0.6in, left=1in, right=1in, includeheadfoot]{geometry} -\usepackage{array} -\usepackage[english]{babel} -\newcolumntype{B}[2]{>{#1\hspace{0pt}\arraybackslash}b{#2}} -\setlength{\parindent}{0pt} -\usepackage[dvipsnames]{color} -\definecolor{gray}{gray}{0.85} -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\fancyhead{} -\fancyhead[L]{{\fontsize{16}{24}\textbf{Example dataset}}} -\newcolumntype{d}{D{.}{.}{3.2}} -\newcolumntype{g}{D{\%}{\%}{3.0}} -\usepackage{float} -\usepackage{marginnote} -\setlength\extrarowheight{2pt} -\newlength\mywidth -\setlength\mywidth{3.5in} -\usepackage{caption} -\captionsetup[table]{labelformat=empty} -\renewcommand*{\marginfont}{\scriptsize\itshape} -\fancyfoot{} -\fancyfoot[R]{\thepage} -\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} -\let\PBS=\PreserveBackslash -\newcommand{\longtablesep}{\endfirsthead \multicolumn{2}{c}{\textit{}} \\ \endhead \multicolumn{2}{c}{\textit{}} \\ \endfoot \endlastfoot} -\usepackage[titles]{tocloft} -\newcommand{\cftchapfont}{12} -\newcommand{\formatvardescription}[1]{#1} -\newcommand{\formatvarname}[1]{#1} -\newcommand{\formatvaralias}[1]{#1} -\newcommand{\formatvarfiltertext}[1]{\fontsize{8}{12}\textit{#1}} -\newcommand{\formatvarsubname}[1]{#1} -\usepackage{amsmath} - - -\begin{document} -\setlength{\LTleft}{0pt} -\setlength{\LTright}{\fill} -\setlength{\LTcapwidth}{\textwidth} -\vspace{.25in} - - - - - -{ -%% here's where individual input starts %% -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [birthyr] & & & birth year \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lXXr} - & When were you born? & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & Type & Numeric & \\ - & Range & [1900, 2010] & \\ -\end{tabularx} -\end{table} - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [gender] & & & Gender \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lXXr} - & When were you born? & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & & & & -\end{tabularx} - -\begin{tabularx}{\textwidth}{llcXrr} - & 1 & Cat & \dotfill & 6 & \\ - & 2 & Dog & \dotfill & 4 & \\ - & 3 & Bird & \dotfill & 3 & \\ - & 8 & Skipped & \dotfill & 0 & \\ - & 9 & Not Asked & \dotfill & 7 & \\ -\end{tabularx} -\end{table} - - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [allpets] & & & All pets owned \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lX} - & Do you have any of these animals as pets? Please select all that apply. \\ - \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & & & & -\end{tabularx} - -\begin{tabularx}{\textwidth}{llcXcccr} - & & & & selected & not selected & missing \\ - & allpets\_1 & Cat & \dotfill & 4 & 4 & 12 & \\ - & allpets\_2 & Dog & \dotfill & 3 & 5 & 12 & \\ - & allpets\_3 & Bird & \dotfill & 5 & 6 & 9 & \\ -\end{tabularx} -\end{table} - - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [birthyr] & & & birth year \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lXXr} - & When were you born? & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & Type & Numeric & \\ - & Range & [1900, 2010] & \\ -\end{tabularx} -\end{table} - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [allpets] & & & All pets owned \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lX} - & Do you have any of these animals as pets? Please select all that apply. \\ - \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & & & & -\end{tabularx} - -\begin{tabularx}{\textwidth}{llcXcccr} - & & & & selected & not selected & missing \\ - & allpets\_1 & Cat & \dotfill & 4 & 4 & 12 & \\ - & allpets\_2 & Dog & \dotfill & 3 & 5 & 12 & \\ - & allpets\_3 & Bird & \dotfill & 5 & 6 & 9 & \\ -\end{tabularx} -\end{table} -} -\end{document} - diff --git a/inst/categorical.tex b/inst/categorical.tex deleted file mode 100644 index 95d3c51e..00000000 --- a/inst/categorical.tex +++ /dev/null @@ -1,86 +0,0 @@ -\documentclass{article} -\usepackage[pdftex]{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{fancyhdr} -\usepackage{sfmath} -\usepackage{comment} -\usepackage[T1]{fontenc} -\usepackage[pdftex=true, pdftoolbar=true, pdfmenubar=true, pdfauthor = {}, pdfcreator = {PDFLaTeX}, pdftitle = {}, colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue, implicit=true, hypertexnames=false]{hyperref} -\usepackage[scaled]{helvet} -\renewcommand*\familydefault{\sfdefault} -\usepackage{booktabs, dcolumn, longtable} -\usepackage[top=0.6in, bottom=0.6in, left=1in, right=1in, includeheadfoot]{geometry} -\usepackage{array} -\usepackage[english]{babel} -\newcolumntype{B}[2]{>{#1\hspace{0pt}\arraybackslash}b{#2}} -\setlength{\parindent}{0pt} -\usepackage[dvipsnames]{color} -\definecolor{gray}{gray}{0.85} -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\fancyhead{} -\fancyhead[L]{{\fontsize{16}{24}\textbf{Example dataset}}} -\newcolumntype{d}{D{.}{.}{3.2}} -\newcolumntype{g}{D{\%}{\%}{3.0}} -\usepackage{float} -\usepackage{marginnote} -\setlength\extrarowheight{2pt} -\newlength\mywidth -\setlength\mywidth{3.5in} -\usepackage{caption} -\captionsetup[table]{labelformat=empty} -\renewcommand*{\marginfont}{\scriptsize\itshape} -\fancyfoot{} -\fancyfoot[R]{\thepage} -\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} -\let\PBS=\PreserveBackslash -\newcommand{\longtablesep}{\endfirsthead \multicolumn{2}{c}{\textit{}} \\ \endhead \multicolumn{2}{c}{\textit{}} \\ \endfoot \endlastfoot} -\usepackage[titles]{tocloft} -\newcommand{\cftchapfont}{12} -\newcommand{\formatvardescription}[1]{#1} -\newcommand{\formatvarname}[1]{#1} -\newcommand{\formatvaralias}[1]{#1} -\newcommand{\formatvarfiltertext}[1]{\fontsize{8}{12}\textit{#1}} -\newcommand{\formatvarsubname}[1]{#1} -\usepackage{amsmath} -\usepackage{tabularx} - -\begin{document} -\setlength{\LTleft}{0pt} -\setlength{\LTright}{\fill} -\setlength{\LTcapwidth}{\textwidth} -\vspace{.25in} - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [gender] & & & Gender \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lXXr} - & When were you born? & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & & & & -\end{tabularx} - -\begin{tabularx}{\textwidth}{llcXrr} - & 1 & Cat & \dotfill & 6 & \\ - & 2 & Dog & \dotfill & 4 & \\ - & 3 & Bird & \dotfill & 3 & \\ - & 8 & Skipped & \dotfill & 0 & \\ - & 9 & Not Asked & \dotfill & 7 & \\ -\end{tabularx} -\end{table} - - -{ -%% here's where individual input starts %% - - -} -\end{document} - diff --git a/inst/multiple_response.tex b/inst/multiple_response.tex deleted file mode 100644 index e97cfa3e..00000000 --- a/inst/multiple_response.tex +++ /dev/null @@ -1,86 +0,0 @@ -\documentclass{article} -\usepackage[pdftex]{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{fancyhdr} -\usepackage{sfmath} -\usepackage{comment} -\usepackage[T1]{fontenc} -\usepackage[pdftex=true, pdftoolbar=true, pdfmenubar=true, pdfauthor = {}, pdfcreator = {PDFLaTeX}, pdftitle = {}, colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue, implicit=true, hypertexnames=false]{hyperref} -\usepackage[scaled]{helvet} -\renewcommand*\familydefault{\sfdefault} -\usepackage{booktabs, dcolumn, longtable} -\usepackage[top=0.6in, bottom=0.6in, left=1in, right=1in, includeheadfoot]{geometry} -\usepackage{array} -\usepackage[english]{babel} -\newcolumntype{B}[2]{>{#1\hspace{0pt}\arraybackslash}b{#2}} -\setlength{\parindent}{0pt} -\usepackage[dvipsnames]{color} -\definecolor{gray}{gray}{0.85} -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\fancyhead{} -\fancyhead[L]{{\fontsize{16}{24}\textbf{Example dataset}}} -\newcolumntype{d}{D{.}{.}{3.2}} -\newcolumntype{g}{D{\%}{\%}{3.0}} -\usepackage{float} -\usepackage{marginnote} -\setlength\extrarowheight{2pt} -\newlength\mywidth -\setlength\mywidth{3.5in} -\usepackage{caption} -\captionsetup[table]{labelformat=empty} -\renewcommand*{\marginfont}{\scriptsize\itshape} -\fancyfoot{} -\fancyfoot[R]{\thepage} -\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} -\let\PBS=\PreserveBackslash -\newcommand{\longtablesep}{\endfirsthead \multicolumn{2}{c}{\textit{}} \\ \endhead \multicolumn{2}{c}{\textit{}} \\ \endfoot \endlastfoot} -\usepackage[titles]{tocloft} -\newcommand{\cftchapfont}{12} -\newcommand{\formatvardescription}[1]{#1} -\newcommand{\formatvarname}[1]{#1} -\newcommand{\formatvaralias}[1]{#1} -\newcommand{\formatvarfiltertext}[1]{\fontsize{8}{12}\textit{#1}} -\newcommand{\formatvarsubname}[1]{#1} -\usepackage{amsmath} -\usepackage{tabularx} - -\begin{document} -\setlength{\LTleft}{0pt} -\setlength{\LTright}{\fill} -\setlength{\LTcapwidth}{\textwidth} -\vspace{.25in} - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [allpets] & & & All pets owned \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lX} - & Do you have any of these animals as pets? Please select all that apply. \\ - \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lllr} - & Notes & These are some notes & \\ - & & & & -\end{tabularx} - -\begin{tabularx}{\textwidth}{llcXcccr} - & & & & selected & not selected & missing \\ - & allpets\_1 & Cat & \dotfill & 4 & 4 & 12 & \\ - & allpets\_2 & Dog & \dotfill & 3 & 5 & 12 & \\ - & allpets\_3 & Bird & \dotfill & 5 & 6 & 9 & \\ -\end{tabularx} -\end{table} -\hline - -{ -%% here's where individual input starts %% - - -} -\end{document} - diff --git a/inst/numeric.tex b/inst/numeric.tex deleted file mode 100644 index e7e17f44..00000000 --- a/inst/numeric.tex +++ /dev/null @@ -1,79 +0,0 @@ -\documentclass{article} -\usepackage[pdftex]{graphicx} -\usepackage[utf8]{inputenc} -\usepackage{fancyhdr} -\usepackage{sfmath} -\usepackage{comment} -\usepackage[T1]{fontenc} -\usepackage[pdftex=true, pdftoolbar=true, pdfmenubar=true, pdfauthor = {}, pdfcreator = {PDFLaTeX}, pdftitle = {}, colorlinks=true, urlcolor=blue, linkcolor=blue, citecolor=blue, implicit=true, hypertexnames=false]{hyperref} -\usepackage[scaled]{helvet} -\renewcommand*\familydefault{\sfdefault} -\usepackage{booktabs, dcolumn, longtable} -\usepackage[top=0.6in, bottom=0.6in, left=1in, right=1in, includeheadfoot]{geometry} -\usepackage{array} -\usepackage[english]{babel} -\newcolumntype{B}[2]{>{#1\hspace{0pt}\arraybackslash}b{#2}} -\setlength{\parindent}{0pt} -\usepackage[dvipsnames]{color} -\definecolor{gray}{gray}{0.85} -\pagestyle{fancy} -\renewcommand{\headrulewidth}{0pt} -\renewcommand{\footrulewidth}{0pt} -\fancyhead{} -\fancyhead[L]{{\fontsize{16}{24}\textbf{Example dataset}}} -\newcolumntype{d}{D{.}{.}{3.2}} -\newcolumntype{g}{D{\%}{\%}{3.0}} -\usepackage{float} -\usepackage{marginnote} -\setlength\extrarowheight{2pt} -\newlength\mywidth -\setlength\mywidth{3.5in} -\usepackage{caption} -\captionsetup[table]{labelformat=empty} -\renewcommand*{\marginfont}{\scriptsize\itshape} -\fancyfoot{} -\fancyfoot[R]{\thepage} -\newcommand{\PreserveBackslash}[1]{\let\temp=\\#1\let\\=\temp} -\let\PBS=\PreserveBackslash -\newcommand{\longtablesep}{\endfirsthead \multicolumn{2}{c}{\textit{}} \\ \endhead \multicolumn{2}{c}{\textit{}} \\ \endfoot \endlastfoot} -\usepackage[titles]{tocloft} -\newcommand{\cftchapfont}{12} -\newcommand{\formatvardescription}[1]{#1} -\newcommand{\formatvarname}[1]{#1} -\newcommand{\formatvaralias}[1]{#1} -\newcommand{\formatvarfiltertext}[1]{\fontsize{8}{12}\textit{#1}} -\newcommand{\formatvarsubname}[1]{#1} -\usepackage{amsmath} -\usepackage{tabularx} - -\begin{document} -\setlength{\LTleft}{0pt} -\setlength{\LTright}{\fill} -\setlength{\LTcapwidth}{\textwidth} -\vspace{.25in} - -\begin{table} -\begin{tabularx}{\textwidth}{lXXr} - [birthyr] & & & birth year \\ - & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{lXXr} - & When were you born? & & & \\ -\end{tabularx} - -\begin{tabularx}{\textwidth}{llXr} - & Notes & These are some notes & \\ - & Type & Numeric & \\ - & Range & [1900, 2010] & \\ -\end{tabularx} -\end{table} - - -{ -%% here's where individual input starts %% - - -} -\end{document} - diff --git a/man/as.data.frame.CategoricalVariable.Rd b/man/as.data.frame.CategoricalVariable.Rd deleted file mode 100644 index ec029313..00000000 --- a/man/as.data.frame.CategoricalVariable.Rd +++ /dev/null @@ -1,17 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/codebook.R -\name{as.data.frame.CategoricalVariable} -\alias{as.data.frame.CategoricalVariable} -\title{Categorical Variable to data.frame} -\usage{ -\method{as.data.frame}{CategoricalVariable}(x, ...) -} -\arguments{ -\item{x}{A CategoricalVariable from a crunch \link[crunch]{loadDataset}} - -\item{...}{Ignored} -} -\description{ -Manipulate categorical into a results object without hitting the tabBook -endpoint. For the purpose of creating a codebookItem. -} diff --git a/man/codebookItem.Rd b/man/codebookItem.Rd deleted file mode 100644 index 79a39fee..00000000 --- a/man/codebookItem.Rd +++ /dev/null @@ -1,65 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/codebook.R -\name{codebookItem} -\alias{codebookItem} -\alias{codebookItem.default} -\alias{codebookItem.CategoricalVariable} -\alias{codebookItem.CategoricalArrayVariable} -\alias{codebookItem.MultipleResponseVariable} -\alias{codebookItem.NumericVariable} -\alias{codebookItem.TextVariable} -\alias{codebookItem.DatetimeVariable} -\title{Generate a codebook item} -\usage{ -codebookItem(x, ...) - -\method{codebookItem}{default}(x) - -\method{codebookItem}{CategoricalVariable}(x) - -\method{codebookItem}{CategoricalArrayVariable}(x) - -\method{codebookItem}{MultipleResponseVariable}(x) - -\method{codebookItem}{NumericVariable}(x) - -\method{codebookItem}{TextVariable}(x) - -\method{codebookItem}{DatetimeVariable}(x) -} -\arguments{ -\item{x}{An object of one of the types listed} - -\item{...}{Additional arguents passed to codebookItem methods} -} -\description{ -A passthrough function that creates a table header appropriate to the class -of the data object being passed. Expected classes are: -} -\details{ -\itemize{ -\item CategoricalVariable -\item CategoricalArrayVariable -\item MultipleResponseVariable -\item NumericVariable -\item TextVariable -\item DatetimeVariable -} - -Importantly, this also controls the relative widths of the columns. -} -\section{Methods (by class)}{ -\itemize{ -\item \code{CategoricalVariable}: Prepares a codebookItem for a CategoricalVariable - -\item \code{CategoricalArrayVariable}: Prepares a codebookitem for a CategoricalArrayVariable - -\item \code{MultipleResponseVariable}: Prepares a codebookitem for a MultipleResponseVariable - -\item \code{NumericVariable}: Prepares a codebookitem for a NumericVariable - -\item \code{TextVariable}: Prepares a codebookitem for a TextVariable - -\item \code{DatetimeVariable}: Prepares a codebookitem for a DatetimeVariable -}} - diff --git a/man/codebookItemTxt.Rd b/man/codebookItemTxt.Rd deleted file mode 100644 index 07e195cc..00000000 --- a/man/codebookItemTxt.Rd +++ /dev/null @@ -1,21 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/codebook.R -\name{codebookItemTxt} -\alias{codebookItemTxt} -\title{Extract basic question information} -\usage{ -codebookItemTxt(x) -} -\arguments{ -\item{x}{A dataset variable} -} -\description{ -Extracts the following: -} -\details{ -\itemize{ -\item alias -\item description or question text -\item notes or filter text -} -} diff --git a/man/writeCodebook.Rd b/man/writeCodebook.Rd deleted file mode 100644 index 1e928b90..00000000 --- a/man/writeCodebook.Rd +++ /dev/null @@ -1,16 +0,0 @@ -% Generated by roxygen2: do not edit by hand -% Please edit documentation in R/codebook.R -\name{writeCodebook} -\alias{writeCodebook} -\title{Generate LaTeX CodeBooks} -\usage{ -writeCodebook(...) -} -\arguments{ -\item{...}{Additional arguments passed to writeLatx} - -\item{ds}{A crunch dataset} -} -\description{ -\code{writeCodebook} produces publication-quality LaTeX reports -} diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b.json deleted file mode 100644 index cedddea4..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/", "catalogs": {"batches": "https://app.crunch.io/api/datasets/0cf18b/batches/", "users": "https://app.crunch.io/api/datasets/0cf18b/users/", "variables": "https://app.crunch.io/api/datasets/0cf18b/variables/", "actions": "https://app.crunch.io/api/datasets/0cf18b/actions/", "savepoints": "https://app.crunch.io/api/datasets/0cf18b/savepoints/", "boxdata": "https://app.crunch.io/api/datasets/0cf18b/boxdata/", "filters": "https://app.crunch.io/api/datasets/0cf18b/filters/", "multitables": "https://app.crunch.io/api/datasets/0cf18b/multitables/", "forks": "https://app.crunch.io/api/datasets/0cf18b/forks/", "permissions": "https://app.crunch.io/api/datasets/0cf18b/permissions/", "joins": "https://app.crunch.io/api/datasets/0cf18b/joins/", "decks": "https://app.crunch.io/api/datasets/0cf18b/decks/", "parent": "https://app.crunch.io/api/projects/4f0879/datasets/", "variables_private": "https://app.crunch.io/api/datasets/0cf18b/variables/private/"}, "fragments": {"state": "https://app.crunch.io/api/datasets/0cf18b/state/", "exclusion": "https://app.crunch.io/api/datasets/0cf18b/exclusion/", "stream": "https://app.crunch.io/api/datasets/0cf18b/stream/", "settings": "https://app.crunch.io/api/datasets/0cf18b/settings/", "pk": "https://app.crunch.io/api/datasets/0cf18b/pk/", "table": "https://app.crunch.io/api/datasets/0cf18b/table/", "preferences": "https://app.crunch.io/api/datasets/0cf18b/preferences/"}, "views": {"cube": "https://app.crunch.io/api/datasets/0cf18b/cube/", "export": "https://app.crunch.io/api/datasets/0cf18b/export/", "summary": "https://app.crunch.io/api/datasets/0cf18b/summary/", "applied_filters": "https://app.crunch.io/api/datasets/0cf18b/filters/applied/"}, "specification": "https://app.crunch.io/api/specifications/datasets/", "description": "Detail for a given dataset", "body": {"size": {"rows": 20, "unfiltered_rows": 20, "columns": 18}, "current_editor_name": "Persephone Tsebelis", "owner_name": "crunchtabs", "maintainer": "https://app.crunch.io/api/users/c4a48f/", "name": "Example Dataset with Nets", "end_date": null, "modification_time": "2018-04-19T14:46:40.749000", "access_time": "2018-04-19T17:57:01.856000", "notes": "", "current_editor": "https://app.crunch.io/api/users/c4a48f/", "creation_time": "2018-03-21T11:47:38.813000", "archived": false, "start_date": null, "streaming": "no", "app_settings": {"crunch": {"deleted_rogue_vp": true}, "whaam": {}}, "owner": "https://app.crunch.io/api/projects/4f0879/", "permissions": {"edit": true, "admin": true, "change_permissions": true, "view": true}, "is_published": true, "id": "0cf18b", "description": "Example dataset for generating data fixtures for the crunchtabs package."}, "orders": {"variables_weights": "https://app.crunch.io/api/datasets/0cf18b/variables/weights/", "variables_hier": "https://app.crunch.io/api/datasets/0cf18b/variables/hier/", "variables_personal": "https://app.crunch.io/api/datasets/0cf18b/variables/personal/"}, "urls": {"owner_url": "https://app.crunch.io/api/projects/4f0879/", "editor_url": "https://app.crunch.io/api/users/c4a48f/", "user_url": "https://app.crunch.io/api/users/c4a48f/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-37fa36.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-37fa36.json deleted file mode 100644 index f0b564f1..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-37fa36.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2F5779bf%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/"}], "weight": null}, "query_environment": {"filter": []}, "result": {"dimensions": [{"derived": false, "references": {"alias": "age3", "name": "Age 3"}, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35 to 54"}, {"numeric_value": 3, "missing": false, "id": 3, "name": "55+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}]}}], "missing": 0, "measures": {"count": {"data": [6, 5, 9, 0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": true, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [6, 5, 9, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-6cee0f.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-6cee0f.json deleted file mode 100644 index a34e0b86..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-6cee0f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2Faddbfc%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2Ff7c1ad%2F%22%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/"}], "weight": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/"}, "query_environment": {"filter": []}, "result": {"dimensions": [{"derived": false, "references": {"alias": "age2", "name": "Age 2"}, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}]}}], "missing": 0, "measures": {"count": {"data": [5.199999999999999, 7.800000000000001, 0.0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": false, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [6, 14, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-746a99.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-746a99.json deleted file mode 100644 index 784cd914..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-746a99.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2F5779bf%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2Ff7c1ad%2F%22%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/"}], "weight": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/"}, "query_environment": {"filter": []}, "result": {"dimensions": [{"derived": false, "references": {"alias": "age3", "name": "Age 3"}, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35 to 54"}, {"numeric_value": 3, "missing": false, "id": 3, "name": "55+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}]}}], "missing": 0, "measures": {"count": {"data": [5.199999999999999, 4.983333333333334, 2.8166666666666664, 0.0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": false, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [6, 5, 9, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-c06dec.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-c06dec.json deleted file mode 100644 index 7a132df3..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-c06dec.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2F9a3898%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/"}], "weight": null}, "query_environment": {"filter": []}, "result": {"dimensions": [{"references": {"alias": "gender", "name": "Gender"}, "derived": false, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "id": 1, "name": "Male", "missing": false}, {"numeric_value": 2, "id": 2, "name": "Female", "missing": false}, {"numeric_value": null, "id": -1, "name": "No Data", "missing": true}]}}], "missing": 0, "measures": {"count": {"data": [10, 10, 0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": true, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [10, 10, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-e0b8f6.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-e0b8f6.json deleted file mode 100644 index f610f375..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-e0b8f6.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2F9a3898%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2Ff7c1ad%2F%22%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/"}], "weight": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/"}, "query_environment": {"filter": []}, "result": {"dimensions": [{"references": {"alias": "gender", "name": "Gender"}, "derived": false, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "id": 1, "name": "Male", "missing": false}, {"numeric_value": 2, "id": 2, "name": "Female", "missing": false}, {"numeric_value": null, "id": -1, "name": "No Data", "missing": true}]}}], "missing": 0, "measures": {"count": {"data": [7.041666666666668, 5.958333333333334, 0.0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": false, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [10, 10, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-f71f8d.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-f71f8d.json deleted file mode 100644 index f4c7fdeb..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/cube-f71f8d.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F0cf18b%2Fvariables%2Faddbfc%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/"}], "weight": null}, "query_environment": {"filter": []}, "result": {"dimensions": [{"derived": false, "references": {"alias": "age2", "name": "Age 2"}, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}]}}], "missing": 0, "measures": {"count": {"data": [6, 14, 0], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": true, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [6, 14, 0], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables.json deleted file mode 100644 index 32fbc227..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/0cf18b/multitables/", "specification": "https://app.crunch.io/api/specifications/multitables/", "description": "List of multitable definitions for this dataset", "index": {"https://app.crunch.io/api/datasets/0cf18b/multitables/097dfe/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48f/", "name": "0b68b8", "id": "097dfe"}, "https://app.crunch.io/api/datasets/0cf18b/multitables/1e8165/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48f/", "name": "5c0e1a", "id": "1e8165"}, "https://app.crunch.io/api/datasets/0cf18b/multitables/21a27a/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48f/", "name": "061f8e", "id": "21a27a"}, "https://app.crunch.io/api/datasets/0cf18b/multitables/ce88af/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48f/", "name": "c4cae4", "id": "ce88af"}, "https://app.crunch.io/api/datasets/0cf18b/multitables/ef6ec2/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48f/", "name": "ca0916", "id": "ef6ec2"}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165.json deleted file mode 100644 index d0f41734..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/multitables/1e8165/", "views": {"tabbook": "https://app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook/"}, "specification": "https://app.crunch.io/api/specifications/multitables/", "description": "Detail information for one multitable definition", "body": {"name": "5c0e1a", "user": "https://app.crunch.io/api/users/c4a48f/", "template": [{"query": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/"}]}, {"query": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/"}]}, {"query": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/"}]}], "team": null, "is_public": false, "display_settings": {}, "id": "1e8165"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook-0afa92-POST.R b/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook-0afa92-POST.R deleted file mode 100644 index 01a49c16..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook-0afa92-POST.R +++ /dev/null @@ -1,210 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook/", - status_code = 202L, headers = structure(list(allow = "OPTIONS, POST", - `content-encoding` = "gzip", `content-type` = "application/json;charset=utf-8", - date = "Thu, 19 Apr 2018 17:59:05 GMT", location = "https://s3/export/tabbooks/0cf18bd407d54f3b8fc32c291089c17c%24d1e88e7f018782c57a4e17e9ed425cc7/Example-Dataset-with-Nets.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "171", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", "server", - "set-cookie", "vary", "x-timing", "content-length", "connection" - ), class = c("insensitive", "list")), all_headers = list( - structure(list(status = 202L, version = "HTTP/1.1", headers = structure(list( - allow = "OPTIONS, POST", `content-encoding` = "gzip", - `content-type` = "application/json;charset=utf-8", - date = "Thu, 19 Apr 2018 17:59:05 GMT", location = "https://s3/export/tabbooks/0cf18bd407d54f3b8fc32c291089c17c%24d1e88e7f018782c57a4e17e9ed425cc7/Example-Dataset-with-Nets.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "171", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", - "server", "set-cookie", "vary", "x-timing", "content-length", - "connection"), class = c("insensitive", "list"))), .Names = c("status", - "version", "headers"))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1555696745, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), .Names = c("domain", - "flag", "path", "secure", "expiration", "name", "value"), row.names = c(NA, - -1L), class = "data.frame"), content = as.raw(c(0x7b, 0x22, - 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x20, - 0x22, 0x73, 0x68, 0x6f, 0x6a, 0x69, 0x3a, 0x76, 0x69, 0x65, - 0x77, 0x22, 0x2c, 0x20, 0x22, 0x73, 0x65, 0x6c, 0x66, 0x22, - 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, - 0x66, 0x31, 0x38, 0x62, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x31, 0x65, 0x38, - 0x31, 0x36, 0x35, 0x2f, 0x74, 0x61, 0x62, 0x62, 0x6f, 0x6f, - 0x6b, 0x2f, 0x22, 0x2c, 0x20, 0x22, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2f, - 0x22, 0x7d)), date = structure(1524160745, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = structure(c(0, 2.8e-05, - 3e-05, 0.000132, 0.656413, 0.656471), .Names = c("redirect", - "namelookup", "connect", "pretransfer", "starttransfer", - "total")), request = structure(list(method = "POST", url = "https://app.crunch.io/api/datasets/0cf18b/multitables/1e8165/tabbook/", - headers = structure(c("", "libcurl/7.37.1 curl/3.2 httr/1.3.1 rcrunch/1.21.1", - "application/json"), .Names = c("Content-Type", "user-agent", - "Accept")), options = structure(list(useragent = "libcurl/7.37.1 r-curl/3.2 httr/1.3.1", - post = TRUE, postfieldsize = 2266L, postfields = as.raw(c(0x7b, - 0x22, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x3a, - 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x77, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x37, 0x63, 0x31, 0x61, - 0x64, 0x2f, 0x22, 0x2c, 0x22, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, - 0x77, 0x68, 0x65, 0x72, 0x65, 0x22, 0x3a, 0x7b, 0x22, - 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x3a, 0x22, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x22, - 0x2c, 0x22, 0x61, 0x72, 0x67, 0x73, 0x22, 0x3a, 0x5b, - 0x7b, 0x22, 0x6d, 0x61, 0x70, 0x22, 0x3a, 0x7b, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x30, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x38, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x30, 0x37, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x37, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x39, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x39, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x63, 0x64, 0x62, 0x37, 0x30, 0x62, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x63, 0x64, 0x62, 0x37, 0x30, - 0x62, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x61, 0x64, 0x64, - 0x62, 0x66, 0x63, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x61, 0x64, - 0x64, 0x62, 0x66, 0x63, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x35, 0x37, 0x37, 0x39, 0x62, 0x66, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x35, 0x37, 0x37, 0x39, 0x62, 0x66, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x32, 0x39, 0x38, 0x65, 0x34, 0x39, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x32, 0x39, 0x38, 0x65, 0x34, - 0x39, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x39, 0x61, 0x33, - 0x38, 0x39, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x39, 0x61, - 0x33, 0x38, 0x39, 0x38, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x66, 0x37, 0x63, 0x31, 0x61, 0x64, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x66, 0x37, 0x63, 0x31, 0x61, 0x64, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x31, 0x61, 0x37, 0x37, 0x30, 0x30, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x31, 0x61, 0x37, 0x37, 0x30, - 0x30, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x65, 0x35, 0x65, - 0x66, 0x37, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x65, 0x35, - 0x65, 0x66, 0x37, 0x38, 0x2f, 0x22, 0x7d, 0x7d, 0x7d, - 0x5d, 0x7d, 0x7d)), postredir = 3), .Names = c("useragent", - "post", "postfieldsize", "postfields", "postredir")), - output = structure(list(), class = c("write_memory", - "write_function"))), .Names = c("method", "url", "headers", - "options", "output"), class = "request")), .Names = c("url", -"status_code", "headers", "all_headers", "cookies", "content", -"date", "times", "request"), class = "response") diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af.json deleted file mode 100644 index b484afa0..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/multitables/ce88af/", "views": {"tabbook": "https://app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook/"}, "specification": "https://app.crunch.io/api/specifications/multitables/", "description": "Detail information for one multitable definition", "body": {"name": "c4cae4", "user": "https://app.crunch.io/api/users/c4a48f/", "template": [{"query": [{"each": "https://app.crunch.io/api/datasets/0cf18b/variables/000006/"}, {"function": "as_selected", "args": [{"variable": "https://app.crunch.io/api/datasets/0cf18b/variables/000006/"}]}]}], "team": null, "is_public": false, "display_settings": {}, "id": "ce88af"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook-0afa92-POST.R b/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook-0afa92-POST.R deleted file mode 100644 index c3300d01..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook-0afa92-POST.R +++ /dev/null @@ -1,210 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook/", - status_code = 202L, headers = structure(list(allow = "OPTIONS, POST", - `content-encoding` = "gzip", `content-type` = "application/json;charset=utf-8", - date = "Thu, 19 Apr 2018 17:59:15 GMT", location = "https://s3/export/tabbooks/0cf18bd407d54f3b8fc32c291089c17c%24391598d2d56bfbe5160abcc07cc224ba/Example-Dataset-with-Nets.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "170", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", "server", - "set-cookie", "vary", "x-timing", "content-length", "connection" - ), class = c("insensitive", "list")), all_headers = list( - structure(list(status = 202L, version = "HTTP/1.1", headers = structure(list( - allow = "OPTIONS, POST", `content-encoding` = "gzip", - `content-type` = "application/json;charset=utf-8", - date = "Thu, 19 Apr 2018 17:59:15 GMT", location = "https://s3/export/tabbooks/0cf18bd407d54f3b8fc32c291089c17c%24391598d2d56bfbe5160abcc07cc224ba/Example-Dataset-with-Nets.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "170", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", - "server", "set-cookie", "vary", "x-timing", "content-length", - "connection"), class = c("insensitive", "list"))), .Names = c("status", - "version", "headers"))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1555696755, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), .Names = c("domain", - "flag", "path", "secure", "expiration", "name", "value"), row.names = c(NA, - -1L), class = "data.frame"), content = as.raw(c(0x7b, 0x22, - 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x20, - 0x22, 0x73, 0x68, 0x6f, 0x6a, 0x69, 0x3a, 0x76, 0x69, 0x65, - 0x77, 0x22, 0x2c, 0x20, 0x22, 0x73, 0x65, 0x6c, 0x66, 0x22, - 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, - 0x66, 0x31, 0x38, 0x62, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x63, 0x65, 0x38, - 0x38, 0x61, 0x66, 0x2f, 0x74, 0x61, 0x62, 0x62, 0x6f, 0x6f, - 0x6b, 0x2f, 0x22, 0x2c, 0x20, 0x22, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x2f, - 0x22, 0x7d)), date = structure(1524160755, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = structure(c(0, 2.4e-05, - 2.8e-05, 0.000127, 0.949099, 0.949183), .Names = c("redirect", - "namelookup", "connect", "pretransfer", "starttransfer", - "total")), request = structure(list(method = "POST", url = "https://app.crunch.io/api/datasets/0cf18b/multitables/ce88af/tabbook/", - headers = structure(c("", "libcurl/7.37.1 curl/3.2 httr/1.3.1 rcrunch/1.21.1", - "application/json"), .Names = c("Content-Type", "user-agent", - "Accept")), options = structure(list(useragent = "libcurl/7.37.1 r-curl/3.2 httr/1.3.1", - post = TRUE, postfieldsize = 2266L, postfields = as.raw(c(0x7b, - 0x22, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x3a, - 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x77, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x37, 0x63, 0x31, 0x61, - 0x64, 0x2f, 0x22, 0x2c, 0x22, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, - 0x77, 0x68, 0x65, 0x72, 0x65, 0x22, 0x3a, 0x7b, 0x22, - 0x66, 0x75, 0x6e, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x3a, 0x22, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x22, - 0x2c, 0x22, 0x61, 0x72, 0x67, 0x73, 0x22, 0x3a, 0x5b, - 0x7b, 0x22, 0x6d, 0x61, 0x70, 0x22, 0x3a, 0x7b, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x36, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x30, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x38, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x34, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x30, 0x37, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, - 0x37, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x39, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x39, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x63, 0x64, 0x62, 0x37, 0x30, 0x62, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x63, 0x64, 0x62, 0x37, 0x30, - 0x62, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x61, 0x64, 0x64, - 0x62, 0x66, 0x63, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x61, 0x64, - 0x64, 0x62, 0x66, 0x63, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x35, 0x37, 0x37, 0x39, 0x62, 0x66, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x35, 0x37, 0x37, 0x39, 0x62, 0x66, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x32, 0x39, 0x38, 0x65, 0x34, 0x39, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x32, 0x39, 0x38, 0x65, 0x34, - 0x39, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x39, 0x61, 0x33, - 0x38, 0x39, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x39, 0x61, - 0x33, 0x38, 0x39, 0x38, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x66, 0x37, 0x63, 0x31, 0x61, 0x64, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x66, 0x37, 0x63, 0x31, 0x61, 0x64, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x31, 0x61, 0x37, 0x37, 0x30, 0x30, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, 0x63, 0x66, 0x31, - 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x31, 0x61, 0x37, 0x37, 0x30, - 0x30, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x65, 0x35, 0x65, - 0x66, 0x37, 0x38, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x30, - 0x63, 0x66, 0x31, 0x38, 0x62, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x65, 0x35, - 0x65, 0x66, 0x37, 0x38, 0x2f, 0x22, 0x7d, 0x7d, 0x7d, - 0x5d, 0x7d, 0x7d)), postredir = 3), .Names = c("useragent", - "post", "postfieldsize", "postfields", "postredir")), - output = structure(list(), class = c("write_memory", - "write_function"))), .Names = c("method", "url", "headers", - "options", "output"), class = "request")), .Names = c("url", -"status_code", "headers", "all_headers", "cookies", "content", -"date", "times", "request"), class = "response") diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/preferences.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/preferences.json deleted file mode 100644 index 12e0829b..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/preferences.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/preferences/", "body": {"weight": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/summary-73a614.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/summary-73a614.json deleted file mode 100644 index f2e6ee7a..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/summary-73a614.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/summary/?filter=%7B%7D", "value": {"unweighted": {"filtered": 20, "total": 20}, "variables": 18, "weighted": {"filtered": 13.0, "total": 13.0}, "columns": 17}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables-d118fa.json deleted file mode 100644 index 00c04d0f..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables-d118fa.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/?relative=on", "catalogs": {"private": "https://app.crunch.io/api/datasets/0cf18b/variables/private/"}, "orders": {"personal": "https://app.crunch.io/api/datasets/0cf18b/variables/personal/", "weights": "https://app.crunch.io/api/datasets/0cf18b/variables/weights/", "hier": "https://app.crunch.io/api/datasets/0cf18b/variables/hier/"}, "specification": "https://app.crunch.io/api/specifications/variables/", "description": "List of Variables of this dataset", "index": {"5779bf/": {"discarded": false, "alias": "age3", "scale": "interval", "name": "Age 3", "type": "categorical", "notes": "", "derived": false, "id": "5779bf", "description": ""}, "000003/": {"discarded": true, "alias": "caseid", "name": "Case ID", "type": "numeric", "notes": "", "derived": false, "id": "000003", "description": ""}, "f7c1ad/": {"discarded": false, "alias": "weight", "name": "Weight", "type": "numeric", "notes": "", "derived": true, "id": "f7c1ad", "description": "What is your favorite pet?"}, "000004/": {"discarded": false, "alias": "ndogs", "name": "Number of dogs", "type": "numeric", "notes": "", "derived": false, "id": "000004", "description": ""}, "298e49/": {"discarded": false, "alias": "age5", "scale": "interval", "name": "Age 5", "type": "categorical", "notes": "", "derived": false, "id": "298e49", "description": ""}, "000005/": {"discarded": false, "alias": "wave", "rollup_resolution": null, "resolution": "D", "name": "Wave", "type": "datetime", "notes": "", "derived": false, "id": "000005", "description": ""}, "000000/": {"discarded": false, "alias": "favpet", "scale": "interval", "name": "Favorite pet", "type": "categorical", "notes": "", "derived": false, "id": "000000", "description": "What is your favorite pet?"}, "000001/": {"discarded": false, "alias": "petname", "name": "Pet name", "type": "text", "notes": "", "derived": false, "id": "000001", "description": "What is your favorite pet's maiden name?"}, "000002/": {"discarded": false, "alias": "country", "name": "Country", "type": "categorical", "notes": "", "derived": false, "id": "000002", "description": ""}, "9a3898/": {"discarded": false, "alias": "gender", "scale": "interval", "name": "Gender", "type": "categorical", "notes": "", "derived": false, "id": "9a3898", "description": ""}, "000008/": {"description": "Name the kinds of pets you have at these locations.", "derived": false, "subvariables": ["000008/subvariables/0001/", "000008/subvariables/0002/"], "id": "000008", "subvariables_catalog": "000008/subvariables/", "scale": "interval", "name": "Pets by location", "notes": "", "discarded": false, "alias": "petloc", "type": "categorical_array"}, "000009/": {"discarded": false, "alias": "ndogs_b", "name": "Number of dogs -- Mutts", "type": "numeric", "notes": "", "derived": false, "id": "000009", "description": "How many dogs do you have?"}, "e5ef78/": {"description": "Do you have any of these animals as pets? Please select all that apply.", "derived": false, "subvariables": ["e5ef78/subvariables/0001/", "e5ef78/subvariables/0002/", "e5ef78/subvariables/0003/"], "id": "e5ef78", "subvariables_catalog": "e5ef78/subvariables/", "uniform_basis": false, "name": "All pets owned (copy)", "notes": "Uniform base is False.", "discarded": false, "alias": "allpets_non_ub", "type": "multiple_response"}, "1a7700/": {"discarded": false, "alias": "noweight", "name": "No Weight", "type": "numeric", "notes": "Not useful.", "derived": false, "id": "1a7700", "description": "Numeric data with values less then 0."}, "addbfc/": {"discarded": false, "alias": "age2", "scale": "interval", "name": "Age 2", "type": "categorical", "notes": "", "derived": false, "id": "addbfc", "description": ""}, "000006/": {"description": "Do you have any of these animals as pets? Please select all that apply.", "derived": false, "subvariables": ["000006/subvariables/0001/", "000006/subvariables/0002/", "000006/subvariables/0003/"], "id": "000006", "subvariables_catalog": "000006/subvariables/", "uniform_basis": true, "name": "All pets owned", "notes": "Uniform base is True.", "discarded": false, "alias": "allpets", "type": "multiple_response"}, "000007/": {"discarded": false, "alias": "ndogs_a", "name": "Number of dogs -- With papers", "type": "numeric", "notes": "", "derived": false, "id": "000007", "description": "How many dogs do you have?"}, "cdb70b/": {"discarded": false, "alias": "age", "name": "Age", "type": "numeric", "notes": "", "derived": false, "id": "cdb70b", "description": ""}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables.json deleted file mode 100644 index 067fba6a..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables/", "description": "Contains the subvariables for this array variable.", "index": {"https://app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables/0002/": {"discarded": false, "alias": "allpets_2", "name": "Dog", "type": "categorical", "notes": "", "derived": false, "id": "0002", "description": ""}, "https://app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables/0003/": {"discarded": false, "alias": "allpets_3", "name": "Bird", "type": "categorical", "notes": "", "derived": false, "id": "0003", "description": ""}, "https://app.crunch.io/api/datasets/0cf18b/variables/000006/subvariables/0001/": {"discarded": false, "alias": "allpets_1", "name": "Cat", "type": "categorical", "notes": "", "derived": false, "id": "0001", "description": ""}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/5779bf.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/5779bf.json deleted file mode 100644 index 523c8f69..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/5779bf.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/", "catalogs": {"parent": "https://app.crunch.io/api/datasets/0cf18b/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/user_settings/", "dataset": "https://app.crunch.io/api/datasets/0cf18b/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/frequencies/", "summary": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/summary/", "values": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/values/", "cast": "https://app.crunch.io/api/datasets/0cf18b/variables/5779bf/cast/"}, "body": {"name": "Age 3", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "age3", "owner": null, "dataset_id": "0cf18b", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}, "type": "categorical", "id": "5779bf", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35 to 54"}, {"numeric_value": 3, "missing": false, "id": 3, "name": "55+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/0cf18b/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/9a3898.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/9a3898.json deleted file mode 100644 index 5fb79fcc..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/9a3898.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/", "catalogs": {"parent": "https://app.crunch.io/api/datasets/0cf18b/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/user_settings/", "dataset": "https://app.crunch.io/api/datasets/0cf18b/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/frequencies/", "summary": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/summary/", "values": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/values/", "cast": "https://app.crunch.io/api/datasets/0cf18b/variables/9a3898/cast/"}, "body": {"name": "Gender", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "gender", "owner": null, "dataset_id": "0cf18b", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}, "type": "categorical", "id": "9a3898", "categories": [{"numeric_value": 1, "id": 1, "name": "Male", "missing": false}, {"numeric_value": 2, "id": 2, "name": "Female", "missing": false}, {"numeric_value": null, "id": -1, "name": "No Data", "missing": true}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/0cf18b/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/addbfc.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/addbfc.json deleted file mode 100644 index d04f881a..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/addbfc.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/", "catalogs": {"parent": "https://app.crunch.io/api/datasets/0cf18b/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/user_settings/", "dataset": "https://app.crunch.io/api/datasets/0cf18b/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/frequencies/", "summary": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/summary/", "values": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/values/", "cast": "https://app.crunch.io/api/datasets/0cf18b/variables/addbfc/cast/"}, "body": {"name": "Age 2", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "age2", "owner": null, "dataset_id": "0cf18b", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}, "type": "categorical", "id": "addbfc", "categories": [{"numeric_value": 1, "missing": false, "id": 1, "name": "16 to 34"}, {"numeric_value": 2, "missing": false, "id": 2, "name": "35+"}, {"numeric_value": null, "missing": true, "id": -1, "name": "No Data"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/0cf18b/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad.json deleted file mode 100644 index 99007452..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/", "catalogs": {"parent": "https://app.crunch.io/api/datasets/0cf18b/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/user_settings/", "dataset": "https://app.crunch.io/api/datasets/0cf18b/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/frequencies/", "summary": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/summary/", "values": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values/", "cast": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/cast/"}, "body": {"name": "Weight", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": true, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "weight", "derivation": {"function": "lookup", "args": [{"function": "select", "args": [{"map": {"000000": {"variable": "000000"}}}]}, {"function": "select", "args": [{"map": {"000000": {"column": [1, 2, 3, 8, 9]}}}]}, {"column": [0.6499999999999999, 1.625, 0.8666666666666667, 0.0, 0.0], "type": {"value": {"missing_rules": {}, "class": "numeric", "missing_reasons": {"No Data": -1}}}}], "references": {"alias": "Weight", "name": "Weight"}}, "owner": null, "dataset_id": "0cf18b", "view": {"column_width": null}, "type": "numeric", "id": "f7c1ad", "categories": [], "description": "What is your favorite pet?"}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/0cf18b/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values-3d4982.json deleted file mode 100644 index e95bad05..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/values/?filter=%7B%7D&offset=0&limit=100000", "value": [0.0, 0.6499999999999999, 0.0, 1.625, 1.625, 0.0, 0.0, 0.8666666666666667, 0.6499999999999999, 1.625, 0.0, 0.6499999999999999, 0.6499999999999999, 0.6499999999999999, 1.625, 0.0, 0.6499999999999999, 0.0, 0.8666666666666667, 0.8666666666666667]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/hier-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/hier-d118fa.json deleted file mode 100644 index 3604b523..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/hier-d118fa.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:order", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/hier/?relative=on", "description": "Hierarchical order from folder structure of dataset variables", "graph": [{"Key Pet Indicators": ["../000006/", "../000000/", "../000008/"]}, {"Dog Metrics": ["../000004/", {"Number of dogs by type": ["../000007/", "../000009/"]}]}, {"Details": ["../000001/"]}, {"Dimensions": ["../000002/", "../000005/"]}, {"Demographics": ["../cdb70b/", "../addbfc/", "../5779bf/", "../298e49/", "../9a3898/"]}, "../f7c1ad/", "../1a7700/", "../000003/", "../e5ef78/"]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/weights.json b/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/weights.json deleted file mode 100644 index fe3008c6..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/0cf18b/variables/weights.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:order", "self": "https://app.crunch.io/api/datasets/0cf18b/variables/weights/", "description": "Order of the weight variables for this dataset", "graph": ["https://app.crunch.io/api/datasets/0cf18b/variables/f7c1ad/"]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f.json b/tests/testthat/app.crunch.io/api/datasets/85f.json deleted file mode 100644 index 8d87d289..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f.json +++ /dev/null @@ -1,78 +0,0 @@ -{ - "self": "https://app.crunch.io/api/datasets/85f/", - "views": { - "summary": "https://app.crunch.io/api/datasets/85f/summary/", - "cube": "https://app.crunch.io/api/datasets/85f/cube/", - "applied_filters": "https://app.crunch.io/api/datasets/85f/filters/applied/", - "export": "https://app.crunch.io/api/datasets/85f/export/" - }, - "urls": { - "user_url": "https://app.crunch.io/api/users/631/", - "owner_url": "https://app.crunch.io/api/users/631/", - "weight_variables_url": "https://app.crunch.io/api/datasets/85f/weight_variables/", - "editor_url": "https://app.crunch.io/api/users/631/" - }, - "fragments": { - "preferences": "https://app.crunch.io/api/datasets/85f/preferences/", - "state": "https://app.crunch.io/api/datasets/85f/state/", - "settings": "https://app.crunch.io/api/datasets/85f/settings/", - "exclusion": "https://app.crunch.io/api/datasets/85f/exclusion/", - "table": "https://app.crunch.io/api/datasets/85f/table/", - "pk": "https://app.crunch.io/api/datasets/85f/pk/", - "stream": "https://app.crunch.io/api/datasets/85f/stream/" - }, - "specification": "https://app.crunch.io/api/specifications/datasets/", - "description": "Detail for a given dataset", - "body": { - "name": "Example Dataset", - "archived": false, - "size": { - "columns": 17, - "rows": 20, - "unfiltered_rows": 20 - }, - "notes": "", - "streaming": "no", - "modification_time": "2017-09-10T15:01:29.581000", - "permissions": { - "view": true, - "change_permissions": true, - "edit": true - }, - "access_time": "2017-09-10T15:01:32.093000", - "creation_time": "2017-09-10T15:01:29.563000", - "description": "A dataset to illustrate the API", - "is_published": true, - "app_settings": { - "crunch": { - "deleted_rogue_vp": true - } - }, - "start_date": null, - "maintainer": "https://app.crunch.io/api/users/631/", - "owner": "https://app.crunch.io/api/users/631/", - "end_date": null, - "current_editor": "https://app.crunch.io/api/users/631/", - "current_editor_name": "Kamil Sedrowicz", - "id": "85f", - "owner_name": "Kamil Sedrowicz" - }, - "element": "shoji:entity", - "catalogs": { - "comparisons": "https://app.crunch.io/api/datasets/85f/comparisons/", - "batches": "https://app.crunch.io/api/datasets/85f/batches/", - "savepoints": "https://app.crunch.io/api/datasets/85f/savepoints/", - "multitables": "https://app.crunch.io/api/datasets/85f/multitables/", - "actions": "https://app.crunch.io/api/datasets/85f/actions/", - "permissions": "https://app.crunch.io/api/datasets/85f/permissions/", - "users": "https://app.crunch.io/api/datasets/85f/users/", - "joins": "https://app.crunch.io/api/datasets/85f/joins/", - "forks": "https://app.crunch.io/api/datasets/85f/forks/", - "decks": "https://app.crunch.io/api/datasets/85f/decks/", - "weight_variables": "https://app.crunch.io/api/datasets/85f/weight_variables/", - "filters": "https://app.crunch.io/api/datasets/85f/filters/", - "boxdata": "https://app.crunch.io/api/datasets/85f/boxdata/", - "variables": "https://app.crunch.io/api/datasets/85f/variables/", - "parent": "https://app.crunch.io/api/datasets/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/cube-6f1d0b.json b/tests/testthat/app.crunch.io/api/datasets/85f/cube-6f1d0b.json deleted file mode 100644 index 0bbca335..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/cube-6f1d0b.json +++ /dev/null @@ -1,272 +0,0 @@ -{ - "value": { - "query_environment": { - "filter": [] - }, - "query": { - "weight": null, - "dimensions": [ - { - "each": "https://app.crunch.io/api/datasets/85f/variables/000006/" - }, - { - "args": [ - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/000006/" - } - ], - "function": "as_selected" - } - ], - "measures": { - "count": { - "args": [], - "function": "cube_count" - } - } - }, - "result": { - "element": "crunch:cube", - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Selected", - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false - }, - { - "name": "Not Selected", - "numeric_value": 0, - "id": 0, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Selected", - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false - }, - { - "name": "Not Selected", - "numeric_value": 0, - "id": 0, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Selected", - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false - }, - { - "name": "Not Selected", - "numeric_value": 0, - "id": 0, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - } - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - }, - { - "type": { - "categories": [ - { - "name": "Selected", - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false - }, - { - "name": "Not Selected", - "numeric_value": 0, - "id": 0, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - } - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - } - ], - "missing": 3, - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 4, - 12, - 7, - 4, - 9, - 5, - 6, - 9 - ] - } - }, - "counts": [ - 4, - 4, - 12, - 7, - 4, - 9, - 5, - 6, - 9 - ] - } - }, - "self": "https://app.crunch.io/api/datasets/85f/cube/?query=%7B%22dimensions%22%3A%5B%7B%22each%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F85f%2Fvariables%2F000006%2F%22%7D%2C%7B%22function%22%3A%22as_selected%22%2C%22args%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F85f%2Fvariables%2F000006%2F%22%7D%5D%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", - "element": "shoji:view" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/cube-8db5f5.json b/tests/testthat/app.crunch.io/api/datasets/85f/cube-8db5f5.json deleted file mode 100644 index b1d6fa26..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/cube-8db5f5.json +++ /dev/null @@ -1,105 +0,0 @@ -{ - "value": { - "query_environment": { - "filter": [] - }, - "query": { - "weight": null, - "dimensions": [ - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/000000/" - } - ], - "measures": { - "count": { - "args": [], - "function": "cube_count" - } - } - }, - "result": { - "element": "crunch:cube", - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - } - ], - "missing": 7, - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - "counts": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - "self": "https://app.crunch.io/api/datasets/85f/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F85f%2Fvariables%2F000000%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", - "element": "shoji:view" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/cube-d69854.json b/tests/testthat/app.crunch.io/api/datasets/85f/cube-d69854.json deleted file mode 100644 index 4fc8d2fb..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/cube-d69854.json +++ /dev/null @@ -1,254 +0,0 @@ -{ - "value": { - "query_environment": { - "filter": [] - }, - "query": { - "weight": null, - "dimensions": [ - { - "each": "https://app.crunch.io/api/datasets/85f/variables/000008/" - }, - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/000008/" - } - ], - "measures": { - "count": { - "args": [], - "function": "cube_count" - } - } - }, - "result": { - "element": "crunch:cube", - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - } - ], - "missing": 2, - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - "counts": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - "self": "https://app.crunch.io/api/datasets/85f/cube/?query=%7B%22dimensions%22%3A%5B%7B%22each%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F85f%2Fvariables%2F000008%2F%22%7D%2C%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F85f%2Fvariables%2F000008%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", - "element": "shoji:view" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/multitables.json b/tests/testthat/app.crunch.io/api/datasets/85f/multitables.json deleted file mode 100644 index 7a3505c6..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/multitables.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "specification": "https://app.crunch.io/api/specifications/multitables/", - "description": "List of multitable definitions for this dataset", - "self": "https://app.crunch.io/api/datasets/85f/multitables/", - "element": "shoji:catalog", - "index": { - "https://app.crunch.io/api/datasets/85f/multitables/7ff/": { - "name": "age5", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "7ff", - "is_public": false - }, - "https://app.crunch.io/api/datasets/85f/multitables/e26/": { - "name": "5d1", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "e26", - "is_public": false - }, - "https://app.crunch.io/api/datasets/85f/multitables/676/": { - "name": "8ad", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "676", - "is_public": false - }, - "https://app.crunch.io/api/datasets/85f/multitables/755/": { - "name": "allpets", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "755", - "is_public": false - }, - "https://app.crunch.io/api/datasets/85f/multitables/538/": { - "name": "ca0", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "538", - "is_public": true - }, - "https://app.crunch.io/api/datasets/85f/multitables/2e4/": { - "name": "5da", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "2e4", - "is_public": false - }, - "https://app.crunch.io/api/datasets/85f/multitables/f9c/": { - "name": "ee1", - "owner_id": "https://app.crunch.io/api/users/631/", - "id": "f9c", - "is_public": false - } - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26.json b/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26.json deleted file mode 100644 index 337162b2..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "self": "https://app.crunch.io/api/datasets/85f/multitables/e26/", - "body": { - "display_settings": {}, - "user": "https://app.crunch.io/api/users/631/", - "is_public": false, - "template": [ - { - "query": [ - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/9a3/" - } - ] - }, - { - "query": [ - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/298/" - } - ] - } - ], - "name": "5d1", - "id": "e26" - }, - "specification": "https://app.crunch.io/api/specifications/multitables/", - "description": "Detail information for one multitable definition", - "views": { - "tabbook": "https://app.crunch.io/api/datasets/85f/multitables/e26/tabbook/" - }, - "element": "shoji:entity" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26/tabbook-023abd.json b/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26/tabbook-023abd.json deleted file mode 100644 index 91a09ee6..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/e26/tabbook-023abd.json +++ /dev/null @@ -1,7186 +0,0 @@ -{ - "meta": { - "layout": "many_sheets", - "template": [ - { - "query": [ - { - "variable": "9a3" - } - ] - }, - { - "query": [ - { - "variable": "298" - } - ] - } - ], - "toc": false, - "dataset": { - "name": "Example Dataset", - "notes": "" - }, - "sheets": [ - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "All pets owned", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Favorite pet", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Pets by location", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Number of dogs", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Number of dogs -- With papers", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Number of dogs -- Mutts", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Country", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Age", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Age 2", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Age 3", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Age 5", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Gender", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Weight", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "No Weight", - "filters": null - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 7, - 5, - 3, - 7, - 10 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - }, - { - "value": null, - "id": -1, - "missing": true - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__none__", - "references": {} - }, - "id": -127, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__any__", - "references": {} - }, - "id": 0, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - }, - {}, - {}, - {} - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - } - ], - "counts": [ - 4, - 7, - 5, - 3, - 7, - 10 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 1, - 0, - 3, - 4, - 0, - 3, - 2, - 0, - 1, - 2, - 0, - 4, - 3, - 0, - 5, - 5, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - }, - { - "value": null, - "id": -1, - "missing": true - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__none__", - "references": {} - }, - "id": -127, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__any__", - "references": {} - }, - "id": 0, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - }, - {}, - {}, - {} - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 1, - 0, - 3, - 4, - 0, - 3, - 2, - 0, - 1, - 2, - 0, - 4, - 3, - 0, - 5, - 5, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 0, - 2, - 1, - 0, - 0, - 1, - 0, - 1, - 5, - 0, - 0, - 2, - 0, - 1, - 2, - 0, - 0, - 0, - 2, - 0, - 1, - 0, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 3, - 0, - 2, - 5, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - }, - { - "value": null, - "id": -1, - "missing": true - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__none__", - "references": {} - }, - "id": -127, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__any__", - "references": {} - }, - "id": 0, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - }, - {}, - {}, - {} - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 0, - 2, - 1, - 0, - 0, - 1, - 0, - 1, - 5, - 0, - 0, - 2, - 0, - 1, - 2, - 0, - 0, - 0, - 2, - 0, - 1, - 0, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 3, - 0, - 2, - 5, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - } - ], - "counts": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 4, - 0, - 3, - 1, - 0, - 1, - 2, - 0, - 2, - 1, - 0, - 2, - 2, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 2, - 4, - 0, - 3, - 1, - 0, - 1, - 2, - 0, - 2, - 1, - 0, - 2, - 2, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 2, - 0, - 0, - 3, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 4, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 1, - 2, - 0, - 0, - 3, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 4, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - } - ], - "counts": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 2, - 0, - 0, - 3, - 0, - 2, - 1, - 0, - 4, - 0, - 0, - 1, - 4, - 0, - 5, - 1, - 0, - 3, - 1, - 0, - 1, - 5, - 0, - 0, - 3, - 0, - 1, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 2, - 0, - 0, - 3, - 0, - 2, - 1, - 0, - 4, - 0, - 0, - 1, - 4, - 0, - 5, - 1, - 0, - 3, - 1, - 0, - 1, - 5, - 0, - 0, - 3, - 0, - 1, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 1, - 0, - 3, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 1, - 0, - 1, - 0, - 1, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 3, - 0, - 1, - 1, - 1, - 1, - 2, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 5, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 1, - 0, - 3, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 1, - 0, - 1, - 0, - 1, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 3, - 0, - 1, - 1, - 1, - 1, - 2, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 5, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 4, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 2, - 3, - 7, - 3, - 0, - 1 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 5.0, - 6.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs", - "name": "Number of dogs" - } - } - ], - "counts": [ - 4, - 2, - 3, - 7, - 3, - 0, - 1 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 4, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 2, - 0, - 0, - 2, - 0, - 3, - 0, - 0, - 3, - 4, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 0, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 5.0, - 6.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs", - "name": "Number of dogs" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 2, - 2, - 0, - 0, - 2, - 0, - 3, - 0, - 0, - 3, - 4, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 0, - 1, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 4, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 0, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 4, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 5.0, - 6.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs", - "name": "Number of dogs" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 1, - 0, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 4, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 6, - 4, - 4, - 3 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_a", - "name": "Number of dogs -- With papers", - "description": "How many dogs do you have?" - } - } - ], - "counts": [ - 3, - 6, - 4, - 4, - 3 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 1, - 0, - 2, - 4, - 0, - 2, - 2, - 0, - 1, - 3, - 0, - 3, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_a", - "name": "Number of dogs -- With papers", - "description": "How many dogs do you have?" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 2, - 1, - 0, - 2, - 4, - 0, - 2, - 2, - 0, - 1, - 3, - 0, - 3, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 2, - 0, - 0, - 4, - 0, - 1, - 1, - 0, - 0, - 2, - 0, - 0, - 1, - 1, - 0, - 2, - 0, - 1, - 0, - 1, - 1, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 1.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 1.0, - 2.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 2.0, - 3.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 3.0, - 4.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 4.0, - 5.0 - ], - "id": 5, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_a", - "name": "Number of dogs -- With papers", - "description": "How many dogs do you have?" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 2, - 0, - 0, - 4, - 0, - 1, - 1, - 0, - 0, - 2, - 0, - 0, - 1, - 1, - 0, - 2, - 0, - 1, - 0, - 1, - 1, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 8, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 8, - 2, - 0, - 3, - 0, - 5, - 2 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 2.0, - 2.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 2.5, - 3.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_b", - "name": "Number of dogs -- Mutts", - "description": "How many dogs do you have?" - } - } - ], - "counts": [ - 8, - 2, - 0, - 3, - 0, - 5, - 2 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 8, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 5, - 3, - 0, - 1, - 1, - 0, - 0, - 0, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 4, - 0, - 1, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 2.0, - 2.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 2.5, - 3.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_b", - "name": "Number of dogs -- Mutts", - "description": "How many dogs do you have?" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 5, - 3, - 0, - 1, - 1, - 0, - 0, - 0, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 4, - 0, - 1, - 1, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 8, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 1, - 2, - 1, - 3, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 1, - 3, - 0, - 1, - 0, - 1, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "?": -1 - }, - "id": -1, - "missing": true - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 2.0, - 2.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 2.5, - 3.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "ndogs_b", - "name": "Number of dogs -- Mutts", - "description": "How many dogs do you have?" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 1, - 1, - 2, - 1, - 3, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 1, - 3, - 0, - 1, - 0, - 1, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 4, - 4, - 4, - 4 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Argentina", - "numeric_value": null, - "id": 1, - "missing": false - }, - { - "name": "Australia", - "numeric_value": null, - "id": 2, - "missing": false - }, - { - "name": "Austria", - "numeric_value": null, - "id": 3, - "missing": false - }, - { - "name": "Belgium", - "numeric_value": null, - "id": 4, - "missing": false - }, - { - "name": "Brazil", - "numeric_value": null, - "id": 5, - "missing": false - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "country", - "name": "Country", - "description": "" - } - } - ], - "counts": [ - 4, - 4, - 4, - 4, - 4 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 1, - 0, - 2, - 2, - 0, - 1, - 3, - 0, - 2, - 2, - 0, - 2, - 2, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Argentina", - "numeric_value": null, - "id": 1, - "missing": false - }, - { - "name": "Australia", - "numeric_value": null, - "id": 2, - "missing": false - }, - { - "name": "Austria", - "numeric_value": null, - "id": 3, - "missing": false - }, - { - "name": "Belgium", - "numeric_value": null, - "id": 4, - "missing": false - }, - { - "name": "Brazil", - "numeric_value": null, - "id": 5, - "missing": false - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "country", - "name": "Country", - "description": "" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 1, - 0, - 2, - 2, - 0, - 1, - 3, - 0, - 2, - 2, - 0, - 2, - 2, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 1, - 0, - 2, - 0, - 1, - 0, - 0, - 0, - 3, - 0, - 0, - 1, - 1, - 0, - 2, - 0, - 0, - 1, - 0, - 2, - 1, - 0, - 1, - 1, - 1, - 0, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Argentina", - "numeric_value": null, - "id": 1, - "missing": false - }, - { - "name": "Australia", - "numeric_value": null, - "id": 2, - "missing": false - }, - { - "name": "Austria", - "numeric_value": null, - "id": 3, - "missing": false - }, - { - "name": "Belgium", - "numeric_value": null, - "id": 4, - "missing": false - }, - { - "name": "Brazil", - "numeric_value": null, - "id": 5, - "missing": false - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "country", - "name": "Country", - "description": "" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 1, - 0, - 2, - 0, - 1, - 0, - 0, - 0, - 3, - 0, - 0, - 1, - 1, - 0, - 2, - 0, - 0, - 1, - 0, - 2, - 1, - 0, - 1, - 1, - 1, - 0, - 1, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 5, - 3, - 1, - 2, - 3, - 5, - 1 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 20.0, - 30.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 30.0, - 40.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 40.0, - 50.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 50.0, - 60.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 60.0, - 70.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 70.0, - 80.0 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 80.0, - 90.0 - ], - "id": 7, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "age", - "name": "Age" - } - } - ], - "counts": [ - 5, - 3, - 1, - 2, - 3, - 5, - 1 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 2, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 2, - 0, - 0, - 3, - 0, - 0, - 0, - 5, - 0, - 0, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 20.0, - 30.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 30.0, - 40.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 40.0, - 50.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 50.0, - 60.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 60.0, - 70.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 70.0, - 80.0 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 80.0, - 90.0 - ], - "id": 7, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "age", - "name": "Age" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 2, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 2, - 0, - 0, - 3, - 0, - 0, - 0, - 5, - 0, - 0, - 1, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 5, - 0, - 0, - 0, - 0, - 0, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 20.0, - 30.0 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 30.0, - 40.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 40.0, - 50.0 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 50.0, - 60.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 60.0, - 70.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 70.0, - 80.0 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 80.0, - 90.0 - ], - "id": 7, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "age", - "name": "Age" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 5, - 0, - 0, - 0, - 0, - 0, - 1, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 6, - 14, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35+", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age2", - "name": "Age 2" - } - } - ], - "counts": [ - 6, - 14, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 3, - 0, - 7, - 7, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35+", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age2", - "name": "Age 2" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 3, - 0, - 7, - 7, - 0, - 0, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 2, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35+", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age2", - "name": "Age 2" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 2, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 2, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 6, - 5, - 9, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35 to 54", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "55+", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age3", - "name": "Age 3" - } - } - ], - "counts": [ - 6, - 5, - 9, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 3, - 3, - 0, - 4, - 1, - 0, - 3, - 6, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35 to 54", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "55+", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age3", - "name": "Age 3" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 3, - 3, - 0, - 4, - 1, - 0, - 3, - 6, - 0, - 0, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 34", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "35 to 54", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "55+", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age3", - "name": "Age 3" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 2, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 4, - 3, - 2, - 9, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 2, - 4, - 3, - 2, - 9, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 1, - 0, - 2, - 2, - 0, - 2, - 1, - 0, - 2, - 0, - 0, - 3, - 6, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 1, - 1, - 0, - 2, - 2, - 0, - 2, - 1, - 0, - 2, - 0, - 0, - 3, - 6, - 0, - 0, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 9, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 10, - 10, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 10, - 10, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 10, - 0, - 0, - 0, - 10, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 10, - 0, - 0, - 0, - 10, - 0, - 0, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 2, - 2, - 2, - 3, - 0, - 1, - 2, - 1, - 0, - 6, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 1, - 2, - 2, - 2, - 3, - 0, - 1, - 2, - 1, - 0, - 6, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 7, - 0, - 0, - 6, - 3, - 0, - 0, - 0, - 4, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 0.2 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.2, - 0.4 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.4, - 0.6 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.6, - 0.8 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 0.8, - 1.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.0, - 1.2 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 1.2, - 1.4 - ], - "id": 7, - "missing": false - }, - { - "value": [ - 1.4, - 1.6 - ], - "id": 8, - "missing": false - }, - { - "value": [ - 1.6, - 1.8 - ], - "id": 9, - "missing": false - }, - { - "value": [ - 1.8, - 2.0 - ], - "id": 10, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "weight", - "name": "Weight", - "description": "What is your favorite pet?" - } - } - ], - "counts": [ - 7, - 0, - 0, - 6, - 3, - 0, - 0, - 0, - 4, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 4, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 1, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 0.2 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.2, - 0.4 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.4, - 0.6 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.6, - 0.8 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 0.8, - 1.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.0, - 1.2 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 1.2, - 1.4 - ], - "id": 7, - "missing": false - }, - { - "value": [ - 1.4, - 1.6 - ], - "id": 8, - "missing": false - }, - { - "value": [ - 1.6, - 1.8 - ], - "id": 9, - "missing": false - }, - { - "value": [ - 1.8, - 2.0 - ], - "id": 10, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "weight", - "name": "Weight", - "description": "What is your favorite pet?" - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 4, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 2, - 4, - 0, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 3, - 1, - 0, - 0, - 0, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 1, - 0, - 5, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 2, - 0, - 0, - 3, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - 0.0, - 0.2 - ], - "id": 1, - "missing": false - }, - { - "value": [ - 0.2, - 0.4 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.4, - 0.6 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.6, - 0.8 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 0.8, - 1.0 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.0, - 1.2 - ], - "id": 6, - "missing": false - }, - { - "value": [ - 1.2, - 1.4 - ], - "id": 7, - "missing": false - }, - { - "value": [ - 1.4, - 1.6 - ], - "id": 8, - "missing": false - }, - { - "value": [ - 1.6, - 1.8 - ], - "id": 9, - "missing": false - }, - { - "value": [ - 1.8, - 2.0 - ], - "id": 10, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "weight", - "name": "Weight", - "description": "What is your favorite pet?" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 1, - 0, - 5, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 2, - 0, - 0, - 3, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 0, - 6, - 9, - 0, - 4 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - -1.0, - -0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - -0.5, - 0.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "noweight", - "name": "No Weight", - "description": "Numeric data with values less then 0." - } - } - ], - "counts": [ - 1, - 0, - 6, - 9, - 0, - 4 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 0, - 0, - 0, - 0, - 4, - 2, - 0, - 3, - 6, - 0, - 0, - 0, - 0, - 3, - 1, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - -1.0, - -0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - -0.5, - 0.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "noweight", - "name": "No Weight", - "description": "Numeric data with values less then 0." - } - }, - { - "type": { - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "gender", - "name": "Gender" - } - } - ], - "counts": [ - 0, - 1, - 0, - 0, - 0, - 0, - 4, - 2, - 0, - 3, - 6, - 0, - 0, - 0, - 0, - 3, - 1, - 0 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 0, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 0, - 4, - 0, - 1, - 2, - 1, - 1, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": [ - -1.0, - -0.5 - ], - "id": 1, - "missing": false - }, - { - "value": [ - -0.5, - 0.0 - ], - "id": 2, - "missing": false - }, - { - "value": [ - 0.0, - 0.5 - ], - "id": 3, - "missing": false - }, - { - "value": [ - 0.5, - 1.0 - ], - "id": 4, - "missing": false - }, - { - "value": [ - 1.0, - 1.5 - ], - "id": 5, - "missing": false - }, - { - "value": [ - 1.5, - 2.0 - ], - "id": 6, - "missing": false - } - ], - "subtype": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "class": "numeric" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "noweight", - "name": "No Weight", - "description": "Numeric data with values less then 0." - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 0, - 4, - 0, - 1, - 2, - 1, - 1, - 4, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 1, - 0, - 0 - ] - } - } - ] - } - ] -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c.json b/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c.json deleted file mode 100644 index 5b3cea75..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "self": "https://app.crunch.io/api/datasets/85f/multitables/f9c/", - "body": { - "display_settings": {}, - "user": "https://app.crunch.io/api/users/631/", - "is_public": false, - "template": [ - { - "query": [ - { - "variable": "https://app.crunch.io/api/datasets/85f/variables/298/" - } - ] - } - ], - "name": "ee1", - "id": "f9c" - }, - "specification": "https://app.crunch.io/api/specifications/multitables/", - "description": "Detail information for one multitable definition", - "views": { - "tabbook": "https://app.crunch.io/api/datasets/85f/multitables/f9c/tabbook/" - }, - "element": "shoji:entity" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c/tabbook-6d7ce6.json b/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c/tabbook-6d7ce6.json deleted file mode 100644 index dfef929b..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/multitables/f9c/tabbook-6d7ce6.json +++ /dev/null @@ -1,1350 +0,0 @@ -{ - "meta": { - "layout": "many_sheets", - "template": [ - { - "query": [ - { - "variable": "298" - } - ] - } - ], - "toc": false, - "dataset": { - "name": "Example Dataset", - "notes": "" - }, - "sheets": [ - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "All pets owned", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Favorite pet", - "filters": null - }, - { - "display_settings": { - "countsOrPercents": { - "value": "percent" - }, - "percentageDirection": { - "value": "colPct" - }, - "show_percents": true - }, - "weight": null, - "name": "Pets by location", - "filters": null - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 4, - 7, - 5, - 3, - 7, - 10 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - }, - { - "value": null, - "id": -1, - "missing": true - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__none__", - "references": {} - }, - "id": -127, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__any__", - "references": {} - }, - "id": 0, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - }, - {}, - {}, - {} - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - } - ], - "counts": [ - 4, - 7, - 5, - 3, - 7, - 10 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 3, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 0, - 2, - 1, - 0, - 0, - 1, - 0, - 1, - 5, - 0, - 0, - 2, - 0, - 1, - 2, - 0, - 0, - 0, - 2, - 0, - 1, - 0, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 3, - 0, - 2, - 5, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "allpets_1", - "name": "Cat" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "allpets_2", - "name": "Dog" - } - }, - "id": 2, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "0003", - "references": { - "alias": "allpets_3", - "name": "Bird" - } - }, - "id": 3, - "missing": false - }, - { - "value": null, - "id": -1, - "missing": true - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__none__", - "references": {} - }, - "id": -127, - "missing": false - }, - { - "value": { - "type": { - "class": "boolean" - }, - "derived": false, - "id": "__any__", - "references": {} - }, - "id": 0, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "uniform_basis": false, - "alias": "allpets", - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat" - }, - { - "alias": "allpets_2", - "name": "Dog" - }, - { - "alias": "allpets_3", - "name": "Bird" - }, - {}, - {}, - {} - ], - "name": "All pets owned", - "description": "Do you have any of these animals as pets? Please select all that apply." - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 0, - 2, - 1, - 0, - 0, - 1, - 0, - 1, - 5, - 0, - 0, - 2, - 0, - 1, - 2, - 0, - 0, - 0, - 2, - 0, - 1, - 0, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 3, - 0, - 2, - 5, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - } - ], - "counts": [ - 6, - 4, - 3, - 3, - 4 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 7, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 1, - 2, - 0, - 0, - 3, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 4, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "favpet", - "name": "Favorite pet", - "description": "What is your favorite pet?" - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 1, - 2, - 0, - 0, - 3, - 0, - 1, - 1, - 1, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 4, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - } - ], - "counts": [ - 5, - 3, - 3, - 4, - 5, - 6, - 4, - 6, - 3, - 1 - ] - } - }, - { - "result": { - "n": 20, - "measures": { - "count": { - "n_missing": 2, - "metadata": { - "type": { - "missing_reasons": { - "No Data": -1 - }, - "missing_rules": {}, - "integer": true, - "class": "numeric" - }, - "derived": true, - "references": {} - }, - "data": [ - 0, - 1, - 1, - 0, - 3, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 1, - 0, - 1, - 0, - 1, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 3, - 0, - 1, - 1, - 1, - 1, - 2, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 5, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - }, - "dimensions": [ - { - "type": { - "elements": [ - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0001", - "references": { - "alias": "petloc_home", - "name": "Home" - } - }, - "id": 1, - "missing": false - }, - { - "value": { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "id": "0002", - "references": { - "alias": "petloc_work", - "name": "Work" - } - }, - "id": 2, - "missing": false - } - ], - "subtype": { - "class": "variable" - }, - "class": "enum" - }, - "derived": true, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "Cat", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Dog", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "Bird", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "Skipped", - "numeric_value": 8, - "id": 8, - "missing": true - }, - { - "name": "Not Asked", - "numeric_value": 9, - "id": 9, - "missing": true - } - ], - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "petloc", - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "name": "Pets by location", - "description": "Name the kinds of pets you have at these locations." - } - }, - { - "type": { - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "ordinal": false, - "class": "categorical" - }, - "derived": false, - "references": { - "alias": "age5", - "name": "Age 5" - } - } - ], - "counts": [ - 0, - 1, - 1, - 0, - 3, - 0, - 0, - 1, - 0, - 0, - 2, - 0, - 1, - 0, - 1, - 0, - 1, - 0, - 1, - 2, - 0, - 1, - 0, - 0, - 0, - 0, - 1, - 1, - 3, - 0, - 1, - 1, - 1, - 1, - 2, - 0, - 1, - 0, - 1, - 1, - 1, - 0, - 0, - 1, - 0, - 0, - 5, - 0, - 0, - 1, - 1, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0 - ] - } - } - ] - } - ] -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables-d118fa.json deleted file mode 100644 index 009e5077..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables-d118fa.json +++ /dev/null @@ -1,206 +0,0 @@ -{ - "index": { - "000004/": { - "discarded": false, - "alias": "ndogs", - "name": "Number of dogs", - "type": "numeric", - "description": "", - "derived": false, - "notes": "", - "id": "000004" - }, - "000009/": { - "discarded": false, - "alias": "ndogs_b", - "name": "Number of dogs -- Mutts", - "type": "numeric", - "description": "How many dogs do you have?", - "derived": false, - "notes": "", - "id": "000009" - }, - "000002/": { - "discarded": false, - "alias": "country", - "name": "Country", - "type": "categorical", - "description": "", - "derived": false, - "notes": "", - "id": "000002" - }, - "000003/": { - "discarded": true, - "alias": "caseid", - "name": "Case ID", - "type": "numeric", - "description": "", - "derived": false, - "notes": "", - "id": "000003" - }, - "add/": { - "alias": "age2", - "derived": false, - "name": "Age 2", - "type": "categorical", - "description": "", - "notes": "", - "discarded": false, - "scale": "interval", - "id": "add" - }, - "000008/": { - "subvariables": [ - "000008/subvariables/0001/", - "000008/subvariables/0002/" - ], - "discarded": false, - "alias": "petloc", - "name": "Pets by location", - "subvariables_catalog": "000008/subvariables/", - "type": "categorical_array", - "description": "Name the kinds of pets you have at these locations.", - "derived": false, - "notes": "", - "scale": "interval", - "id": "000008" - }, - "000007/": { - "discarded": false, - "alias": "ndogs_a", - "name": "Number of dogs -- With papers", - "type": "numeric", - "description": "How many dogs do you have?", - "derived": false, - "notes": "", - "id": "000007" - }, - "cdb/": { - "discarded": false, - "alias": "age", - "name": "Age", - "type": "numeric", - "description": "", - "derived": false, - "notes": "", - "id": "cdb" - }, - "000005/": { - "alias": "wave", - "derived": false, - "name": "Wave", - "resolution": "D", - "rollup_resolution": null, - "type": "datetime", - "description": "", - "notes": "", - "discarded": false, - "id": "000005" - }, - "298/": { - "alias": "age5", - "derived": false, - "name": "Age 5", - "type": "categorical", - "description": "", - "notes": "", - "discarded": false, - "scale": "interval", - "id": "298" - }, - "577/": { - "alias": "age3", - "derived": false, - "name": "Age 3", - "type": "categorical", - "description": "", - "notes": "", - "discarded": false, - "scale": "interval", - "id": "577" - }, - "1a7/": { - "discarded": false, - "alias": "noweight", - "name": "No Weight", - "type": "numeric", - "description": "Numeric data with values less then 0.", - "derived": false, - "notes": "", - "id": "1a7" - }, - "9a3/": { - "alias": "gender", - "derived": false, - "name": "Gender", - "type": "categorical", - "description": "", - "notes": "", - "discarded": false, - "scale": "interval", - "id": "9a3" - }, - "f7c/": { - "discarded": false, - "alias": "weight", - "name": "Weight", - "type": "numeric", - "description": "What is your favorite pet?", - "derived": true, - "notes": "", - "id": "f7c" - }, - "000000/": { - "alias": "favpet", - "derived": false, - "name": "Favorite pet", - "type": "categorical", - "description": "What is your favorite pet?", - "notes": "", - "discarded": false, - "scale": "interval", - "id": "000000" - }, - "000006/": { - "discarded": false, - "alias": "allpets", - "name": "All pets owned", - "subvariables_catalog": "000006/subvariables/", - "uniform_basis": false, - "type": "multiple_response", - "description": "Do you have any of these animals as pets? Please select all that apply.", - "derived": false, - "notes": "", - "id": "000006", - "subvariables": [ - "000006/subvariables/0001/", - "000006/subvariables/0002/", - "000006/subvariables/0003/" - ] - }, - "000001/": { - "discarded": false, - "alias": "petname", - "name": "Pet name", - "type": "text", - "description": "What is your favorite pet's maiden name?", - "derived": false, - "notes": "", - "id": "000001" - } - }, - "self": "https://app.crunch.io/api/datasets/85f/variables/?relative=on", - "orders": { - "hier": "https://app.crunch.io/api/datasets/85f/variables/hier/", - "weights": "https://app.crunch.io/api/datasets/85f/variables/weights/", - "personal": "https://app.crunch.io/api/datasets/85f/variables/personal/" - }, - "specification": "https://app.crunch.io/api/specifications/variables/", - "description": "List of Variables of this dataset", - "element": "shoji:catalog", - "catalogs": { - "private": "https://app.crunch.io/api/datasets/85f/variables/private/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000006/subvariables.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/000006/subvariables.json deleted file mode 100644 index bed7366d..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000006/subvariables.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "index": { - "https://app.crunch.io/api/datasets/85f/variables/000006/subvariables/0003/": { - "discarded": false, - "alias": "allpets_3", - "name": "Bird", - "type": "categorical", - "description": "", - "derived": false, - "notes": "", - "id": "0003" - }, - "https://app.crunch.io/api/datasets/85f/variables/000006/subvariables/0001/": { - "discarded": false, - "alias": "allpets_1", - "name": "Cat", - "type": "categorical", - "description": "", - "derived": false, - "notes": "", - "id": "0001" - }, - "https://app.crunch.io/api/datasets/85f/variables/000006/subvariables/0002/": { - "discarded": false, - "alias": "allpets_2", - "name": "Dog", - "type": "categorical", - "description": "", - "derived": false, - "notes": "", - "id": "0002" - } - }, - "self": "https://app.crunch.io/api/datasets/85f/variables/000006/subvariables/", - "description": "Contains the subvariables for this array variable.", - "element": "shoji:catalog" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0001.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0001.json deleted file mode 100644 index 7f5d8195..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0001.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "body": { - "alias": "petloc_home", - "categories": [ - { - "id": 1, - "missing": false, - "name": "Cat", - "numeric_value": 1 - }, - { - "id": 2, - "missing": false, - "name": "Dog", - "numeric_value": 2 - }, - { - "id": 3, - "missing": false, - "name": "Bird", - "numeric_value": 3 - }, - { - "id": 8, - "missing": true, - "name": "Skipped", - "numeric_value": 8 - }, - { - "id": 9, - "missing": true, - "name": "Not Asked", - "numeric_value": 9 - } - ], - "dataset_id": "85f", - "derived": false, - "description": "", - "discarded": false, - "format": { - "summary": { - "digits": 0 - } - }, - "id": "0001", - "missing_reasons": { - "Not Asked": 9, - "Skipped": 8 - }, - "name": "Home", - "notes": "", - "owner": null, - "private": false, - "type": "categorical", - "view": { - "column_width": null, - "include_missing": false, - "show_counts": false, - "show_numeric_values": false - } - }, - "description": "Details for a given Variable", - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0001/", - "specification": "https://app.crunch.io/api/specifications/categorical_variables/", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/85f/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0001/frequencies/", - "summary": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0001/summary/", - "values": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0001/values/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0002.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0002.json deleted file mode 100644 index 1cae10cb..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/0002.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "body": { - "alias": "petloc_work", - "categories": [ - { - "id": 1, - "missing": false, - "name": "Cat", - "numeric_value": 1 - }, - { - "id": 2, - "missing": false, - "name": "Dog", - "numeric_value": 2 - }, - { - "id": 3, - "missing": false, - "name": "Bird", - "numeric_value": 3 - }, - { - "id": 8, - "missing": true, - "name": "Skipped", - "numeric_value": 8 - }, - { - "id": 9, - "missing": true, - "name": "Not Asked", - "numeric_value": 9 - } - ], - "dataset_id": "85f", - "derived": false, - "description": "", - "discarded": false, - "format": { - "summary": { - "digits": 0 - } - }, - "id": "0002", - "missing_reasons": { - "Not Asked": 9, - "Skipped": 8 - }, - "name": "Work", - "notes": "", - "owner": null, - "private": false, - "type": "categorical", - "view": { - "column_width": null, - "include_missing": false, - "show_counts": false, - "show_numeric_values": false - } - }, - "description": "Details for a given Variable", - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0002/", - "specification": "https://app.crunch.io/api/specifications/categorical_variables/", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/85f/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0002/frequencies/", - "summary": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0002/summary/", - "values": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0002/values/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/subvariables.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/subvariables.json deleted file mode 100644 index d7c61327..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/000008/subvariables.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "description": "Contains the subvariables for this array variable.", - "element": "shoji:catalog", - "index": { - "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0001/": { - "alias": "petloc_home", - "derived": false, - "description": "", - "discarded": false, - "id": "0001", - "name": "Home", - "notes": "", - "scale": "interval", - "type": "categorical" - }, - "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/0002/": { - "alias": "petloc_work", - "derived": false, - "description": "", - "discarded": false, - "id": "0002", - "name": "Work", - "notes": "", - "scale": "interval", - "type": "categorical" - } - }, - "self": "https://app.crunch.io/api/datasets/85f/variables/000008/subvariables/" -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/298.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/298.json deleted file mode 100644 index 9a6cb81a..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/298.json +++ /dev/null @@ -1,87 +0,0 @@ -{ - "self": "https://app.crunch.io/api/datasets/85f/variables/298/", - "body": { - "dataset_id": "85f", - "alias": "age5", - "derived": false, - "view": { - "column_width": null, - "show_counts": false, - "show_numeric_values": false, - "include_missing": false - }, - "name": "Age 5", - "notes": "", - "id": "298", - "missing_reasons": { - "No Data": -1 - }, - "owner": null, - "categories": [ - { - "name": "16 to 24", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "25 to 34", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "35 to 44", - "numeric_value": 3, - "id": 3, - "missing": false - }, - { - "name": "45 to 54", - "numeric_value": 4, - "id": 4, - "missing": false - }, - { - "name": "55+", - "numeric_value": 5, - "id": 5, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "type": "categorical", - "description": "", - "private": false, - "discarded": false, - "format": { - "summary": { - "digits": 0 - } - } - }, - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/85f/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/85f/variables/298/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/85f/variables/298/user_settings/" - }, - "specification": "https://app.crunch.io/api/specifications/categorical_variables/", - "description": "Details for a given Variable", - "views": { - "values": "https://app.crunch.io/api/datasets/85f/variables/298/values/", - "frequencies": "https://app.crunch.io/api/datasets/85f/variables/298/frequencies/", - "cast": "https://app.crunch.io/api/datasets/85f/variables/298/cast/", - "summary": "https://app.crunch.io/api/datasets/85f/variables/298/summary/" - }, - "element": "shoji:entity", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/85f/variables/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/9a3.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/9a3.json deleted file mode 100644 index ff0122dd..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/9a3.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "self": "https://app.crunch.io/api/datasets/85f/variables/9a3/", - "body": { - "dataset_id": "85f", - "alias": "gender", - "derived": false, - "view": { - "column_width": null, - "show_counts": false, - "show_numeric_values": false, - "include_missing": false - }, - "name": "Gender", - "notes": "", - "id": "9a3", - "missing_reasons": { - "No Data": -1 - }, - "owner": null, - "categories": [ - { - "name": "Male", - "numeric_value": 1, - "id": 1, - "missing": false - }, - { - "name": "Female", - "numeric_value": 2, - "id": 2, - "missing": false - }, - { - "name": "No Data", - "numeric_value": null, - "id": -1, - "missing": true - } - ], - "type": "categorical", - "description": "", - "private": false, - "discarded": false, - "format": { - "summary": { - "digits": 0 - } - } - }, - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/85f/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/85f/variables/9a3/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/85f/variables/9a3/user_settings/" - }, - "specification": "https://app.crunch.io/api/specifications/categorical_variables/", - "description": "Details for a given Variable", - "views": { - "values": "https://app.crunch.io/api/datasets/85f/variables/9a3/values/", - "frequencies": "https://app.crunch.io/api/datasets/85f/variables/9a3/frequencies/", - "cast": "https://app.crunch.io/api/datasets/85f/variables/9a3/cast/", - "summary": "https://app.crunch.io/api/datasets/85f/variables/9a3/summary/" - }, - "element": "shoji:entity", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/85f/variables/" - } -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/85f/variables/hier-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/85f/variables/hier-d118fa.json deleted file mode 100644 index 6b7c4125..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/85f/variables/hier-d118fa.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "description": "Hierarchical order of dataset variables", - "self": "https://app.crunch.io/api/datasets/85f/variables/hier/?relative=on", - "element": "shoji:order", - "graph": [ - { - "Key Pet Indicators": [ - "../000006/", - "../000000/", - "../000008/" - ] - }, - { - "Dog Metrics": [ - "../000004/", - { - "Number of dogs by type": [ - "../000007/", - "../000009/" - ] - } - ] - }, - { - "Details": [ - "../000001/" - ] - }, - { - "Dimensions": [ - "../000002/", - "../000005/" - ] - }, - { - "Demographics": [ - "../cdb/", - "../add/", - "../577/", - "../298/", - "../9a3/" - ] - }, - "../f7c/", - "../1a7/", - "../000003/" - ] -} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa.json deleted file mode 100644 index 3484d5af..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/", "catalogs": {"batches": "https://app.crunch.io/api/datasets/ad5fa/batches/", "users": "https://app.crunch.io/api/datasets/ad5fa/users/", "variables": "https://app.crunch.io/api/datasets/ad5fa/variables/", "actions": "https://app.crunch.io/api/datasets/ad5fa/actions/", "savepoints": "https://app.crunch.io/api/datasets/ad5fa/savepoints/", "boxdata": "https://app.crunch.io/api/datasets/ad5fa/boxdata/", "filters": "https://app.crunch.io/api/datasets/ad5fa/filters/", "multitables": "https://app.crunch.io/api/datasets/ad5fa/multitables/", "comparisons": "https://app.crunch.io/api/datasets/ad5fa/comparisons/", "forks": "https://app.crunch.io/api/datasets/ad5fa/forks/", "permissions": "https://app.crunch.io/api/datasets/ad5fa/permissions/", "joins": "https://app.crunch.io/api/datasets/ad5fa/joins/", "decks": "https://app.crunch.io/api/datasets/ad5fa/decks/", "parent": "https://app.crunch.io/api/datasets/", "weight_variables": "https://app.crunch.io/api/datasets/ad5fa/weight_variables/"}, "fragments": {"state": "https://app.crunch.io/api/datasets/ad5fa/state/", "exclusion": "https://app.crunch.io/api/datasets/ad5fa/exclusion/", "stream": "https://app.crunch.io/api/datasets/ad5fa/stream/", "settings": "https://app.crunch.io/api/datasets/ad5fa/settings/", "pk": "https://app.crunch.io/api/datasets/ad5fa/pk/", "table": "https://app.crunch.io/api/datasets/ad5fa/table/", "preferences": "https://app.crunch.io/api/datasets/ad5fa/preferences/"}, "views": {"cube": "https://app.crunch.io/api/datasets/ad5fa/cube/", "export": "https://app.crunch.io/api/datasets/ad5fa/export/", "summary": "https://app.crunch.io/api/datasets/ad5fa/summary/", "applied_filters": "https://app.crunch.io/api/datasets/ad5fa/filters/applied/"}, "urls": {"owner_url": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "editor_url": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "weight_variables_url": "https://app.crunch.io/api/datasets/ad5fa/weight_variables/", "user_url": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/"}, "specification": "https://app.crunch.io/api/specifications/datasets/", "description": "Detail for a given dataset", "body": {"size": {"rows": 20, "unfiltered_rows": 20, "columns": 16}, "current_editor_name": "Persephone Tsebelis", "owner_name": "Persephone Tsebelis", "maintainer": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "name": "test ds", "end_date": null, "modification_time": "2017-12-04T09:54:28.355000", "access_time": "2017-12-04T09:53:47.168000", "notes": "", "current_editor": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "creation_time": "2017-12-04T09:53:47.354000", "archived": false, "start_date": null, "streaming": "no", "app_settings": {"crunch": {"deleted_rogue_vp": true}}, "owner": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "permissions": {"edit": true, "change_permissions": true, "view": true}, "is_published": true, "id": "ad5fa", "description": ""}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-01b9d5.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-01b9d5.json deleted file mode 100644 index 69397082..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-01b9d5.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2Fad5fa%2Fvariables%2F000011%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/"}], "weight": null}, "query_environment": {"filter": []}, "result": {"dimensions": [{"references": {"alias": "age5", "name": "Age 5", "view": {"show_counts": false, "column_width": null, "include_missing": false, "show_numeric_values": false}}, "derived": false, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "id": 1, "name": "16 to 24", "missing": false}, {"numeric_value": 2, "id": 2, "name": "25 to 34", "missing": false}, {"numeric_value": 3, "id": 3, "name": "35 to 44", "missing": false}, {"numeric_value": 4, "id": 4, "name": "45 to 54", "missing": false}, {"numeric_value": 5, "id": 5, "name": "55+", "missing": false}]}}], "missing": 0, "measures": {"count": {"data": [4, 9, 2, 3, 2], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": true, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [4, 9, 2, 3, 2], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-bda5d0.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-bda5d0.json deleted file mode 100644 index f4503a99..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/cube-bda5d0.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/cube/?query=%7B%22dimensions%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2Fad5fa%2Fvariables%2F000000%2F%22%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", "value": {"query": {"measures": {"count": {"function": "cube_count", "args": []}}, "dimensions": [{"variable": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/"}], "weight": null}, "query_environment": {"filter": []}, "result": {"dimensions": [{"references": {"alias": "gender", "name": "Gender", "view": {"show_counts": false, "column_width": null, "include_missing": false, "show_numeric_values": false}}, "derived": false, "type": {"ordinal": false, "class": "categorical", "categories": [{"numeric_value": 1, "id": 1, "name": "Male", "missing": false}, {"numeric_value": 2, "id": 2, "name": "Female", "missing": false}]}}], "missing": 0, "measures": {"count": {"data": [10, 10], "n_missing": 0, "metadata": {"references": {}, "derived": true, "type": {"integer": true, "missing_rules": {}, "missing_reasons": {"No Data": -1}, "class": "numeric"}}}}, "element": "crunch:cube", "counts": [10, 10], "n": 20}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables.json deleted file mode 100644 index cc544668..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/ad5fa/multitables/", "specification": "https://app.crunch.io/api/specifications/multitables/", "description": "List of multitable definitions for this dataset", "index": {"https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/": {"is_public": false, "team": null, "owner_id": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "name": "5d10d28d404d32f624dbb463cca5ebba", "id": "4996c"}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c.json deleted file mode 100644 index ae616ec6..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/", "views": {"tabbook": "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook/"}, "specification": "https://app.crunch.io/api/specifications/multitables/", "description": "Detail information for one multitable definition", "body": {"name": "5d10d28d404d32f624dbb463cca5ebba", "user": "https://app.crunch.io/api/users/c4a48fc28061446d9c0a93610f880a66/", "template": [{"query": [{"variable": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/"}]}, {"query": [{"variable": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/"}]}], "team": null, "is_public": false, "display_settings": {}, "id": "4996c"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-023abd.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-023abd.json deleted file mode 100644 index 8e7cd183..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-023abd.json +++ /dev/null @@ -1 +0,0 @@ -[[{"result":{"counts":[4,16,0,5,15,0,5,15,0],"measures":{"count":{"data":[2.4917,10.5083,0,3.7917,9.2083,0,3.7917,9.2083,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned","alias":"allpets"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000006","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000005","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":3,"value":{"derived":false,"references":{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000004","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false}],"class":"enum"}},{"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"allpets","description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned"},"derived":true,"type":{"ordinal":false,"subvariables":["000006","000005","000004"],"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,1,7,9,0,0,2,3,8,7,0,0,3,2,7,8,0,0],"measures":{"count":{"data":[2.4917,0,4.55,5.9583,0,0,0.65,3.1417,6.3917,2.8167,0,0,1.5167,2.275,5.525,3.6833,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned","alias":"allpets"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000006","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000005","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":3,"value":{"derived":false,"references":{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000004","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false}],"class":"enum"}},{"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"allpets","description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned"},"derived":true,"type":{"ordinal":false,"subvariables":["000006","000005","000004"],"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[1,1,2,0,0,3,8,0,3,2,0,0,0,0,0,1,4,0,0,0,3,5,2,3,2,0,0,0,0,0,2,2,1,0,0,2,7,1,3,2,0,0,0,0,0],"measures":{"count":{"data":[0,0,2.4917,0,0,2.925,2.8167,0,2.4917,2.275,0,0,0,0,0,1.625,2.1667,0,0,0,1.3,0.65,2.4917,2.4917,2.275,0,0,0,0,0,2.275,0.65,0.8667,0,0,0.65,2.1667,1.625,2.4917,2.275,0,0,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned","alias":"allpets"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000006","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000005","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false},{"id":3,"value":{"derived":false,"references":{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000004","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},"missing":false}],"class":"enum"}},{"references":{"subreferences":[{"alias":"allpets_1","name":"Cat","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"allpets_2","name":"Dog","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"allpets_3","name":"Bird","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"allpets","description":"Do you have any of these animals as pets? Please select all that apply.","name":"All pets owned"},"derived":true,"type":{"ordinal":false,"subvariables":["000006","000005","000004"],"class":"categorical","categories":[{"numeric_value":1,"selected":true,"id":1,"missing":false,"name":"Selected"},{"numeric_value":0,"missing":false,"id":0,"name":"Not Selected"},{"numeric_value":null,"missing":true,"id":-1,"name":"No Data"}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[3,6,4,4,3],"measures":{"count":{"data":[2.6,3.9,6.5,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"favpet","description":"What is your favorite pet?","name":"Favorite pet","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":2,"name":"Cat","missing":false},{"numeric_value":null,"id":4,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[1,2,2,4,3,1,2,2,2,1],"measures":{"count":{"data":[0.8667,1.7333,1.3,2.6,4.875,1.625,0,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"favpet","description":"What is your favorite pet?","name":"Favorite pet","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":2,"name":"Cat","missing":false},{"numeric_value":null,"id":4,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,1,1,1,0,2,3,0,0,1,1,0,1,1,1,0,4,0,0,0,1,1,0,1,0],"measures":{"count":{"data":[0,0.8667,0.8667,0.8667,0,1.3,1.95,0,0,0.65,1.625,0,1.625,1.625,1.625,0,0,0,0,0,0,0,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"favpet","description":"What is your favorite pet?","name":"Favorite pet","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":2,"name":"Cat","missing":false},{"numeric_value":null,"id":4,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1],"measures":{"count":{"data":[0,0,0.65,0.65,0.65,0.8667,0,0,0.8667,0,1.625,2.925,0.8667,0.65,1.625,0,1.625],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"petname","name":"Pet name","description":"What is your favorite pet's maiden name?"},"derived":true,"type":{"subtype":{"class":"text","missing_reasons":{"No Data":-1},"missing_rules":{}},"elements":[{"id":0,"value":"Ali","missing":false},{"id":1,"value":"Biscuit","missing":false},{"id":2,"value":"Clyde","missing":false},{"id":3,"value":"Daisy","missing":false},{"id":4,"value":"Doug","missing":false},{"id":5,"value":"Felix","missing":false},{"id":6,"value":"Fluffy","missing":false},{"id":7,"value":"Geoffrey","missing":false},{"id":8,"value":"Hugo","missing":false},{"id":9,"value":"Jasmine","missing":false},{"id":10,"value":"Lady","missing":false},{"id":11,"value":"Not asked","missing":false},{"id":12,"value":"Rocky","missing":false},{"id":13,"value":"Snoopy","missing":false},{"id":14,"value":"Spike","missing":false},{"id":15,"value":"Teddy","missing":false},{"id":16,"value":"Zeus","missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[1,0,0,1,0,1,1,0,0,1,1,0,1,0,0,1,0,1,1,0,1,0,1,3,0,1,0,1,1,0,1,0,1,0],"measures":{"count":{"data":[0,0,0,0,0,0.65,0.65,0,0,0.65,0.8667,0,0,0,0,0,0,0.8667,0,0,1.625,0,0.65,2.275,0,0.8667,0,0.65,1.625,0,0,0,1.625,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"petname","name":"Pet name","description":"What is your favorite pet's maiden name?"},"derived":true,"type":{"subtype":{"class":"text","missing_reasons":{"No Data":-1},"missing_rules":{}},"elements":[{"id":0,"value":"Ali","missing":false},{"id":1,"value":"Biscuit","missing":false},{"id":2,"value":"Clyde","missing":false},{"id":3,"value":"Daisy","missing":false},{"id":4,"value":"Doug","missing":false},{"id":5,"value":"Felix","missing":false},{"id":6,"value":"Fluffy","missing":false},{"id":7,"value":"Geoffrey","missing":false},{"id":8,"value":"Hugo","missing":false},{"id":9,"value":"Jasmine","missing":false},{"id":10,"value":"Lady","missing":false},{"id":11,"value":"Not asked","missing":false},{"id":12,"value":"Rocky","missing":false},{"id":13,"value":"Snoopy","missing":false},{"id":14,"value":"Spike","missing":false},{"id":15,"value":"Teddy","missing":false},{"id":16,"value":"Zeus","missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,1,1,2,0,0,1,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0],"measures":{"count":{"data":[0,0,0,0,0,0,0,0,0,0,0,0.65,0,0,0,0.65,0,0,0,0,0,0.65,0,0,0,0,0,0.8667,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.8667,0,0,0,0,0,0,0,0,0,0,1.625,1.625,0.65,0,0,0.65,0,0.8667,0,0,0,0.65,0,0,0,0,0,0,1.625,0,0,0,0,0,0,0,0,0,0,1.625,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"petname","name":"Pet name","description":"What is your favorite pet's maiden name?"},"derived":true,"type":{"subtype":{"class":"text","missing_reasons":{"No Data":-1},"missing_rules":{}},"elements":[{"id":0,"value":"Ali","missing":false},{"id":1,"value":"Biscuit","missing":false},{"id":2,"value":"Clyde","missing":false},{"id":3,"value":"Daisy","missing":false},{"id":4,"value":"Doug","missing":false},{"id":5,"value":"Felix","missing":false},{"id":6,"value":"Fluffy","missing":false},{"id":7,"value":"Geoffrey","missing":false},{"id":8,"value":"Hugo","missing":false},{"id":9,"value":"Jasmine","missing":false},{"id":10,"value":"Lady","missing":false},{"id":11,"value":"Not asked","missing":false},{"id":12,"value":"Rocky","missing":false},{"id":13,"value":"Snoopy","missing":false},{"id":14,"value":"Spike","missing":false},{"id":15,"value":"Teddy","missing":false},{"id":16,"value":"Zeus","missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[3,5,3,5,4,6,6,4,1,3],"measures":{"count":{"data":[0.65,3.575,3.1417,2.4917,3.1417,2.275,4.4417,3.9,0,2.3833],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"petloc","description":"Name the kinds of pets you have at these locations.","name":"Pets by location"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000007","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000009","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false}],"class":"enum"}},{"derived":false,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Name the kinds of pets you have at these locations.","name":"Pets by location","alias":"petloc"},"type":{"ordinal":false,"subvariables":["000007","000009"],"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[2,1,3,2,0,3,1,4,4,0,1,5,5,1,3,1,1,0,0,3],"measures":{"count":{"data":[0,0.65,2.275,1.3,0,3.1417,1.625,0.8667,3.1417,0,0,2.275,3.7917,0.65,3.25,0.65,0,0,0,2.3833],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"petloc","description":"Name the kinds of pets you have at these locations.","name":"Pets by location"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000007","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000009","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false}],"class":"enum"}},{"derived":false,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Name the kinds of pets you have at these locations.","name":"Pets by location","alias":"petloc"},"type":{"ordinal":false,"subvariables":["000007","000009"],"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,1,0,1,1,1,3,0,1,0,1,2,0,0,0,0,3,1,1,0,2,0,1,0,1,1,5,0,0,0,1,2,1,1,1,0,1,1,1,1,1,0,0,0,0,1,1,0,1,0],"measures":{"count":{"data":[0,0,0,0,0.65,0.65,1.3,0,1.625,0,1.625,1.5167,0,0,0,0,0,1.625,0.8667,0,0.65,0,0.8667,0,1.625,1.625,0.65,0,0,0,0.65,1.3,0.8667,0,1.625,0,0,1.625,1.625,0.65,0,0,0,0,0,0.65,0.8667,0,0.8667,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"derived":true,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}}],"alias":"petloc","description":"Name the kinds of pets you have at these locations.","name":"Pets by location"},"type":{"subtype":{"class":"variable"},"elements":[{"id":1,"value":{"derived":false,"references":{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}},"id":"000007","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false},{"id":2,"value":{"derived":false,"references":{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"id":"000009","type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},"missing":false}],"class":"enum"}},{"derived":false,"references":{"subreferences":[{"alias":"petloc_home","name":"Home","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},{"alias":"petloc_work","name":"Work","view":{"show_counts":false,"show_numeric_values":false,"include_missing":false,"column_width":null}}],"description":"Name the kinds of pets you have at these locations.","name":"Pets by location","alias":"petloc"},"type":{"ordinal":false,"subvariables":["000007","000009"],"class":"categorical","categories":[{"numeric_value":null,"id":5,"name":"Bird","missing":false},{"numeric_value":null,"id":4,"name":"Cat","missing":false},{"numeric_value":null,"id":2,"name":"Dog","missing":false},{"numeric_value":null,"id":3,"name":"Not Asked","missing":false},{"numeric_value":null,"id":1,"name":"Skipped","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[4,2,3,7,3,0,1],"measures":{"count":{"data":[2.8167,0.65,1.625,3.1417,3.1417,0,1.625],"n_missing":4,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs","name":"Number of dogs"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false},{"id":6,"value":[5,6],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[2,2,0,2,3,0,3,4,2,1,0,0,0,1],"measures":{"count":{"data":[1.5167,1.3,0,0.65,1.625,0,1.625,1.5167,2.275,0.8667,0,0,0,1.625],"n_missing":4,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs","name":"Number of dogs"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false},{"id":6,"value":[5,6],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,2,1,0,1,0,2,0,0,0,1,1,0,1,0,1,4,0,1,1,1,0,1,1,0,0,0,0,0,0,1,0,0,0,0],"measures":{"count":{"data":[0,1.3,0.8667,0,0.65,0,0.65,0,0,0,0,0,0,1.625,0,0.65,0.8667,0,0,1.625,0.65,0,1.625,0.8667,0,0,0,0,0,0,1.625,0,0,0,0],"n_missing":4,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs","name":"Number of dogs"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false},{"id":6,"value":[5,6],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[3,6,4,4,3],"measures":{"count":{"data":[1.625,1.95,2.1667,3.1417,4.1167],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_a","name":"Number of dogs -- With papers","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[2,1,2,4,2,2,1,3,3,0],"measures":{"count":{"data":[1.625,0,0.65,1.3,0.65,1.5167,0,3.1417,4.1167,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_a","name":"Number of dogs -- With papers","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,1,1,1,0,2,4,0,0,0,1,2,0,0,1,1,2,0,1,0,0,0,1,1,1],"measures":{"count":{"data":[0,0,1.625,0,0,0.65,1.3,0,0,0,0.65,0.8667,0,0,0.65,1.625,0.65,0,0.8667,0,0,0,0.8667,1.625,1.625],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_a","name":"Number of dogs -- With papers","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,1],"missing":false},{"id":2,"value":[1,2],"missing":false},{"id":3,"value":[2,3],"missing":false},{"id":4,"value":[3,4],"missing":false},{"id":5,"value":[4,5],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[8,2,0,3,0,5,2],"measures":{"count":{"data":[7.6917,0,0,0.65,0,4.0083,0.65],"n_missing":8,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_b","name":"Number of dogs -- Mutts","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,0.5],"missing":false},{"id":2,"value":[0.5,1],"missing":false},{"id":3,"value":[1,1.5],"missing":false},{"id":4,"value":[1.5,2],"missing":false},{"id":5,"value":[2,2.5],"missing":false},{"id":6,"value":[2.5,3],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[5,3,1,1,0,0,2,1,0,0,1,4,1,1],"measures":{"count":{"data":[6.175,1.5167,0,0,0,0,0,0.65,0,0,0.8667,3.1417,0,0.65],"n_missing":8,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_b","name":"Number of dogs -- Mutts","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,0.5],"missing":false},{"id":2,"value":[0.5,1],"missing":false},{"id":3,"value":[1,1.5],"missing":false},{"id":4,"value":[1.5,2],"missing":false},{"id":5,"value":[2,2.5],"missing":false},{"id":6,"value":[2.5,3],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[1,3,1,2,1,1,1,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,1,3,1,0,0,0,0,0,1,1],"measures":{"count":{"data":[0.65,1.3,1.625,2.4917,1.625,0,0,0,0,0,0,0,0,0,0,0.65,0,0,0,0,0,0,0,0,0,1.625,1.5167,0.8667,0,0,0,0,0,0,0.65],"n_missing":8,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"ndogs_b","name":"Number of dogs -- Mutts","description":"How many dogs do you have?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":-1,"value":{"?":-1},"missing":true},{"id":1,"value":[0,0.5],"missing":false},{"id":2,"value":[0.5,1],"missing":false},{"id":3,"value":[1,1.5],"missing":false},{"id":4,"value":[1.5,2],"missing":false},{"id":5,"value":[2,2.5],"missing":false},{"id":6,"value":[2.5,3],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[4,4,4,4,4],"measures":{"count":{"data":[0,1.95,1.5167,3.7917,5.7417],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"country","name":"Country","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"Argentina","missing":false},{"numeric_value":null,"id":2,"name":"Australia","missing":false},{"numeric_value":null,"id":3,"name":"Austria","missing":false},{"numeric_value":null,"id":4,"name":"Belgium","missing":false},{"numeric_value":null,"id":5,"name":"Brazil","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,1,2,2,1,3,2,2,2,2],"measures":{"count":{"data":[0,0,0.65,1.3,0.65,0.8667,2.4917,1.3,3.25,2.4917],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"country","name":"Country","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"Argentina","missing":false},{"numeric_value":null,"id":2,"name":"Australia","missing":false},{"numeric_value":null,"id":3,"name":"Austria","missing":false},{"numeric_value":null,"id":4,"name":"Belgium","missing":false},{"numeric_value":null,"id":5,"name":"Brazil","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[1,2,0,1,0,0,3,0,0,1,1,2,0,1,0,1,1,2,0,0,1,1,0,1,1],"measures":{"count":{"data":[0,0,0,0,0,0,1.3,0,0,0.65,0.65,0,0,0.8667,0,0.65,0.65,2.4917,0,0,1.625,0.8667,0,1.625,1.625],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"country","name":"Country","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"Argentina","missing":false},{"numeric_value":null,"id":2,"name":"Australia","missing":false},{"numeric_value":null,"id":3,"name":"Austria","missing":false},{"numeric_value":null,"id":4,"name":"Belgium","missing":false},{"numeric_value":null,"id":5,"name":"Brazil","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[5,3,1,2,3,5,1],"measures":{"count":{"data":[3.575,2.4917,1.625,2.4917,0.65,1.5167,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age","name":"Age"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[20,30],"missing":false},{"id":2,"value":[30,40],"missing":false},{"id":3,"value":[40,50],"missing":false},{"id":4,"value":[50,60],"missing":false},{"id":5,"value":[60,70],"missing":false},{"id":6,"value":[70,80],"missing":false},{"id":7,"value":[80,90],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,2,1,2,1,0,2,0,3,0,0,5,0,1],"measures":{"count":{"data":[2.275,1.3,0,2.4917,1.625,0,2.4917,0,0.65,0,0,1.5167,0,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age","name":"Age"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[20,30],"missing":false},{"id":2,"value":[30,40],"missing":false},{"id":3,"value":[40,50],"missing":false},{"id":4,"value":[50,60],"missing":false},{"id":5,"value":[60,70],"missing":false},{"id":6,"value":[70,80],"missing":false},{"id":7,"value":[80,90],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[3,0,0,0,2,1,0,0,2,0,0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,0,5,0,0,0,0,1,0,0,0],"measures":{"count":{"data":[1.3,0,0,0,2.275,1.625,0,0,0.8667,0,0,0,0,1.625,0,0,0,2.4917,0,0,0,0.65,0,0,0,0,1.5167,0,0,0,0,0.65,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age","name":"Age"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[20,30],"missing":false},{"id":2,"value":[30,40],"missing":false},{"id":3,"value":[40,50],"missing":false},{"id":4,"value":[50,60],"missing":false},{"id":5,"value":[60,70],"missing":false},{"id":6,"value":[70,80],"missing":false},{"id":7,"value":[80,90],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[6,14],"measures":{"count":{"data":[5.2,7.8],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age2","name":"Age 2","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":2,"name":"35+","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,3,7,7],"measures":{"count":{"data":[2.275,2.925,4.7667,3.0333],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age2","name":"Age 2","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":2,"name":"35+","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[4,0,0,0,2,0,9,2,3,0],"measures":{"count":{"data":[2.925,0,0,0,2.275,0,2.8167,2.4917,2.4917,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age2","name":"Age 2","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":2,"name":"35+","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[6,5,9],"measures":{"count":{"data":[5.2,4.9833,2.8167],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age3","name":"Age 3","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":3,"name":"35 to 54","missing":false},{"numeric_value":null,"id":2,"name":"55+","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,3,4,1,3,6],"measures":{"count":{"data":[2.275,2.925,4.1167,0.8667,0.65,2.1667],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age3","name":"Age 3","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":3,"name":"35 to 54","missing":false},{"numeric_value":null,"id":2,"name":"55+","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[4,0,0,0,2,0,0,2,3,0,0,9,0,0,0],"measures":{"count":{"data":[2.925,0,0,0,2.275,0,0,2.4917,2.4917,0,0,2.8167,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age3","name":"Age 3","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":null,"id":1,"name":"16 to 34","missing":false},{"numeric_value":null,"id":3,"name":"35 to 54","missing":false},{"numeric_value":null,"id":2,"name":"55+","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[4,9,2,3,2],"measures":{"count":{"data":[2.925,2.8167,2.4917,2.4917,2.275],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[2,2,3,6,2,0,2,1,1,1],"measures":{"count":{"data":[0.65,2.275,0.65,2.1667,2.4917,0,1.625,0.8667,1.625,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[4,0,0,0,0,0,9,0,0,0,0,0,2,0,0,0,0,0,3,0,0,0,0,0,2],"measures":{"count":{"data":[2.925,0,0,0,0,0,2.8167,0,0,0,0,0,2.4917,0,0,0,0,0,2.4917,0,0,0,0,0,2.275],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[10,10],"measures":{"count":{"data":[7.0417,5.9583],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[10,0,0,10],"measures":{"count":{"data":[7.0417,0,0,5.9583],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[2,3,2,2,1,2,6,0,1,1],"measures":{"count":{"data":[0.65,0.65,2.4917,1.625,1.625,2.275,2.1667,0,0.8667,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[7,0,0,6,3,0,0,0,4,0],"measures":{"count":{"data":[0,0,0,3.9,2.6,0,0,0,6.5,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"weight","name":"Weight","description":"What is your favorite pet?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,0.2],"missing":false},{"id":2,"value":[0.2,0.4],"missing":false},{"id":3,"value":[0.4,0.6],"missing":false},{"id":4,"value":[0.6,0.8],"missing":false},{"id":5,"value":[0.8,1],"missing":false},{"id":6,"value":[1,1.2],"missing":false},{"id":7,"value":[1.2,1.4],"missing":false},{"id":8,"value":[1.4,1.6],"missing":false},{"id":9,"value":[1.6,1.8],"missing":false},{"id":10,"value":[1.8,2],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[4,3,0,0,0,0,2,4,1,2,0,0,0,0,0,0,3,1,0,0],"measures":{"count":{"data":[0,0,0,0,0,0,1.3,2.6,0.8667,1.7333,0,0,0,0,0,0,4.875,1.625,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"weight","name":"Weight","description":"What is your favorite pet?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,0.2],"missing":false},{"id":2,"value":[0.2,0.4],"missing":false},{"id":3,"value":[0.4,0.6],"missing":false},{"id":4,"value":[0.6,0.8],"missing":false},{"id":5,"value":[0.8,1],"missing":false},{"id":6,"value":[1,1.2],"missing":false},{"id":7,"value":[1.2,1.4],"missing":false},{"id":8,"value":[1.4,1.6],"missing":false},{"id":9,"value":[1.6,1.8],"missing":false},{"id":10,"value":[1.8,2],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[1,5,0,1,0,0,0,0,0,0,0,0,0,0,0,2,3,0,0,1,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,0,0,0,0,0],"measures":{"count":{"data":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.3,1.95,0,0,0.65,0,0.8667,0.8667,0.8667,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1.625,0,1.625,1.625,1.625,0,0,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"weight","name":"Weight","description":"What is your favorite pet?"},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[0,0.2],"missing":false},{"id":2,"value":[0.2,0.4],"missing":false},{"id":3,"value":[0.4,0.6],"missing":false},{"id":4,"value":[0.6,0.8],"missing":false},{"id":5,"value":[0.8,1],"missing":false},{"id":6,"value":[1,1.2],"missing":false},{"id":7,"value":[1.2,1.4],"missing":false},{"id":8,"value":[1.4,1.6],"missing":false},{"id":9,"value":[1.6,1.8],"missing":false},{"id":10,"value":[1.8,2],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[10,10],"measures":{"count":{"data":[7.0417,5.9583],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"wave","name":"Wave"},"derived":true,"type":{"subtype":{"missing_rules":{},"resolution":"M","class":"datetime","missing_reasons":{"No Data":-1}},"elements":[{"id":0,"value":"2014-12","missing":false},{"id":1,"value":"2015-01","missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[6,4,4,6],"measures":{"count":{"data":[4.875,2.1667,2.1667,3.7917],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"wave","name":"Wave"},"derived":true,"type":{"subtype":{"missing_rules":{},"resolution":"M","class":"datetime","missing_reasons":{"No Data":-1}},"elements":[{"id":0,"value":"2014-12","missing":false},{"id":1,"value":"2015-01","missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[2,3,1,3,1,2,6,1,0,1],"measures":{"count":{"data":[0.65,0.65,1.625,2.4917,1.625,2.275,2.1667,0.8667,0,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"wave","name":"Wave"},"derived":true,"type":{"subtype":{"missing_rules":{},"resolution":"M","class":"datetime","missing_reasons":{"No Data":-1}},"elements":[{"id":0,"value":"2014-12","missing":false},{"id":1,"value":"2015-01","missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}],[{"result":{"counts":[4,0,3,0,6,0,3,4],"measures":{"count":{"data":[3.7917,0,2.4917,0,4.1167,0,1.3,1.3],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"noweight","name":"No Weight","description":"Numeric data with values less then 0."},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[-4,-3.5],"missing":false},{"id":2,"value":[-3.5,-3],"missing":false},{"id":3,"value":[-3,-2.5],"missing":false},{"id":4,"value":[-2.5,-2],"missing":false},{"id":5,"value":[-2,-1.5],"missing":false},{"id":6,"value":[-1.5,-1],"missing":false},{"id":7,"value":[-1,-0.5],"missing":false},{"id":8,"value":[-0.5,0],"missing":false}],"class":"enum"}},{"type":{"class":"enum","elements":[{"id":0,"value":"","missing":false}]},"references":{"alias":"total","name":"Total"}}],"n":20}},{"result":{"counts":[3,1,0,0,2,1,0,0,2,4,0,0,1,2,2,2],"measures":{"count":{"data":[3.1417,0.65,0,0,1.625,0.8667,0,0,1.625,2.4917,0,0,0,1.3,0.65,0.65],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"noweight","name":"No Weight","description":"Numeric data with values less then 0."},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[-4,-3.5],"missing":false},{"id":2,"value":[-3.5,-3],"missing":false},{"id":3,"value":[-3,-2.5],"missing":false},{"id":4,"value":[-2.5,-2],"missing":false},{"id":5,"value":[-2,-1.5],"missing":false},{"id":6,"value":[-1.5,-1],"missing":false},{"id":7,"value":[-1,-0.5],"missing":false},{"id":8,"value":[-0.5,0],"missing":false}],"class":"enum"}},{"references":{"alias":"gender","name":"Gender","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"Male","missing":false},{"numeric_value":2,"id":2,"name":"Female","missing":false}]}}],"n":20}},{"result":{"counts":[0,2,1,1,0,0,0,0,0,0,1,0,0,1,1,0,0,0,0,0,1,3,1,1,0,0,0,0,0,0,0,2,0,0,1,2,2,0,0,0],"measures":{"count":{"data":[0,1.3,0.8667,1.625,0,0,0,0,0,0,0,0,0,0.8667,1.625,0,0,0,0,0,1.625,0.8667,1.625,0,0,0,0,0,0,0,0,0.65,0,0,0.65,1.3,0,0,0,0],"n_missing":0,"metadata":{"references":{},"derived":true,"type":{"integer":false,"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"}}}},"dimensions":[{"references":{"alias":"noweight","name":"No Weight","description":"Numeric data with values less then 0."},"derived":true,"type":{"subtype":{"missing_rules":{},"missing_reasons":{"No Data":-1},"class":"numeric"},"elements":[{"id":1,"value":[-4,-3.5],"missing":false},{"id":2,"value":[-3.5,-3],"missing":false},{"id":3,"value":[-3,-2.5],"missing":false},{"id":4,"value":[-2.5,-2],"missing":false},{"id":5,"value":[-2,-1.5],"missing":false},{"id":6,"value":[-1.5,-1],"missing":false},{"id":7,"value":[-1,-0.5],"missing":false},{"id":8,"value":[-0.5,0],"missing":false}],"class":"enum"}},{"references":{"alias":"age5","name":"Age 5","view":{"show_counts":false,"column_width":null,"include_missing":false,"show_numeric_values":false}},"derived":false,"type":{"ordinal":false,"class":"categorical","categories":[{"numeric_value":1,"id":1,"name":"16 to 24","missing":false},{"numeric_value":2,"id":2,"name":"25 to 34","missing":false},{"numeric_value":3,"id":3,"name":"35 to 44","missing":false},{"numeric_value":4,"id":4,"name":"45 to 54","missing":false},{"numeric_value":5,"id":5,"name":"55+","missing":false}]}}],"n":20}}]] diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-0e38d7-POST.R b/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-0e38d7-POST.R deleted file mode 100644 index 627f35eb..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-0e38d7-POST.R +++ /dev/null @@ -1,73 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook/", - status_code = 202L, headers = structure(list(allow = "OPTIONS, POST", - `content-encoding` = "gzip", `content-type` = "application/json;charset=utf-8", - date = "Mon, 22 Jan 2018 15:49:04 GMT", location = "https://s3/export/tabbooks/ad5fa%249850af6497774a7597ec28d3efd21401/crunchtabs-fixture.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "169", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", "server", - "set-cookie", "vary", "x-timing", "content-length", "connection" - ), class = c("insensitive", "list")), all_headers = list( - structure(list(status = 202L, version = "HTTP/1.1", headers = structure(list( - allow = "OPTIONS, POST", `content-encoding` = "gzip", - `content-type` = "application/json;charset=utf-8", - date = "Mon, 22 Jan 2018 15:49:04 GMT", location = "https://s3/export/tabbooks/ad5fa%249850af6497774a7597ec28d3efd21401/crunchtabs-fixture.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "169", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", - "server", "set-cookie", "vary", "x-timing", "content-length", - "connection"), class = c("insensitive", "list"))), .Names = c("status", - "version", "headers"))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1548172144, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), .Names = c("domain", - "flag", "path", "secure", "expiration", "name", "value"), row.names = c(NA, - -1L), class = "data.frame"), content = as.raw(c(0x7b, 0x22, - 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x20, - 0x22, 0x73, 0x68, 0x6f, 0x6a, 0x69, 0x3a, 0x76, 0x69, 0x65, - 0x77, 0x22, 0x2c, 0x20, 0x22, 0x73, 0x65, 0x6c, 0x66, 0x22, - 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, - 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, - 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, - 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, - 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x2f, 0x34, 0x39, 0x39, 0x36, 0x63, 0x33, 0x32, - 0x31, 0x32, 0x65, 0x32, 0x35, 0x34, 0x34, 0x31, 0x62, 0x61, - 0x65, 0x35, 0x62, 0x64, 0x31, 0x36, 0x36, 0x30, 0x35, 0x62, - 0x62, 0x63, 0x36, 0x35, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x62, - 0x6f, 0x6f, 0x6b, 0x2f, 0x22, 0x2c, 0x20, 0x22, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, - 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x2f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, - 0x22, 0x7d)), date = structure(1516636144, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = structure(c(0, 0.000321, - 0.000323, 0.00037, 0.462402, 0.462492), .Names = c("redirect", - "namelookup", "connect", "pretransfer", "starttransfer", - "total")), request = structure(list(method = "POST", url = "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook/", - headers = structure(c("", "libcurl/7.54.0 curl/3.1 httr/1.3.1 rcrunch/1.19.1", - "application/json"), .Names = c("Content-Type", "user-agent", - "Accept")), fields = NULL, options = structure(list(useragent = "libcurl/7.54.0 r-curl/3.1 httr/1.3.1", - post = TRUE, postfieldsize = 125L, postfields = as.raw(c(0x7b, - 0x22, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x3a, - 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x77, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, - 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, - 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, - 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, - 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x32, - 0x2f, 0x22, 0x2c, 0x22, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0x3a, 0x5b, 0x5d, 0x7d)), postredir = 3), .Names = c("useragent", - "post", "postfieldsize", "postfields", "postredir")), - output = structure(list(), class = c("write_memory", - "write_function"))), .Names = c("method", "url", "headers", - "fields", "options", "output"), class = "request")), .Names = c("url", -"status_code", "headers", "all_headers", "cookies", "content", -"date", "times", "request"), class = "response") diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-1c223b-POST.R b/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-1c223b-POST.R deleted file mode 100644 index 388acf1f..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook-1c223b-POST.R +++ /dev/null @@ -1,252 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook/", - status_code = 202L, headers = structure(list(allow = "OPTIONS, POST", - `content-encoding` = "gzip", `content-type` = "application/json;charset=utf-8", - date = "Mon, 22 Jan 2018 15:46:03 GMT", location = "https://s3/export/tabbooks/ad5fa%2404626891f3f103e0ff7c5eb49c0ecc0d/crunchtabs-fixture.json", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "169", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", "server", - "set-cookie", "vary", "x-timing", "content-length", "connection" - ), class = c("insensitive", "list")), all_headers = list( - structure(list(status = 202L, version = "HTTP/1.1", headers = structure(list( - allow = "OPTIONS, POST", `content-encoding` = "gzip", - `content-type` = "application/json;charset=utf-8", - date = "Mon, 22 Jan 2018 15:46:03 GMT", location = "https://s3/export/tabbooks/ad5fa%2404626891f3f103e0ff7c5eb49c0ecc0d/crunchtabs-fixture.jsonA", - server = "nginx", `set-cookie` = "REDACTED", vary = "Cookie, Accept-Encoding", - `x-timing` = "", `content-length` = "169", connection = "keep-alive"), .Names = c("allow", - "content-encoding", "content-type", "date", "location", - "server", "set-cookie", "vary", "x-timing", "content-length", - "connection"), class = c("insensitive", "list"))), .Names = c("status", - "version", "headers"))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1548171963, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), .Names = c("domain", - "flag", "path", "secure", "expiration", "name", "value"), row.names = c(NA, - -1L), class = "data.frame"), content = as.raw(c(0x7b, 0x22, - 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x3a, 0x20, - 0x22, 0x73, 0x68, 0x6f, 0x6a, 0x69, 0x3a, 0x76, 0x69, 0x65, - 0x77, 0x22, 0x2c, 0x20, 0x22, 0x73, 0x65, 0x6c, 0x66, 0x22, - 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, - 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, - 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, - 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, - 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x74, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x2f, 0x34, 0x39, 0x39, 0x36, 0x63, 0x33, 0x32, - 0x31, 0x32, 0x65, 0x32, 0x35, 0x34, 0x34, 0x31, 0x62, 0x61, - 0x65, 0x35, 0x62, 0x64, 0x31, 0x36, 0x36, 0x30, 0x35, 0x62, - 0x62, 0x63, 0x36, 0x35, 0x39, 0x2f, 0x74, 0x61, 0x62, 0x62, - 0x6f, 0x6f, 0x6b, 0x2f, 0x22, 0x2c, 0x20, 0x22, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x3a, 0x20, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, - 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, - 0x73, 0x2f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, - 0x22, 0x7d)), date = structure(1516635963, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = structure(c(0, 2.7e-05, - 2.9e-05, 0.000101, 0.382294, 0.382339), .Names = c("redirect", - "namelookup", "connect", "pretransfer", "starttransfer", - "total")), request = structure(list(method = "POST", url = "https://app.crunch.io/api/datasets/ad5fa/multitables/4996c/tabbook/", - headers = structure(c("", "libcurl/7.54.0 curl/3.1 httr/1.3.1 rcrunch/1.19.1", - "application/json"), .Names = c("Content-Type", "user-agent", - "Accept")), fields = NULL, options = structure(list(useragent = "libcurl/7.54.0 r-curl/3.1 httr/1.3.1", - post = TRUE, postfieldsize = 1735L, postfields = as.raw(c(0x7b, - 0x22, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x3a, - 0x6e, 0x75, 0x6c, 0x6c, 0x2c, 0x22, 0x77, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x22, 0x3a, 0x6e, 0x75, 0x6c, 0x6c, - 0x2c, 0x22, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x22, 0x3a, 0x5b, 0x5d, 0x2c, 0x22, 0x77, 0x68, 0x65, - 0x72, 0x65, 0x22, 0x3a, 0x7b, 0x22, 0x66, 0x75, 0x6e, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x3a, 0x22, 0x73, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x22, 0x2c, 0x22, 0x61, - 0x72, 0x67, 0x73, 0x22, 0x3a, 0x5b, 0x7b, 0x22, 0x6d, - 0x61, 0x70, 0x22, 0x3a, 0x7b, 0x22, 0x66, 0x64, 0x63, - 0x34, 0x31, 0x36, 0x36, 0x66, 0x30, 0x61, 0x33, 0x35, - 0x34, 0x30, 0x35, 0x38, 0x61, 0x34, 0x30, 0x62, 0x61, - 0x39, 0x39, 0x30, 0x63, 0x33, 0x66, 0x65, 0x30, 0x33, - 0x66, 0x61, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, - 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, - 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, - 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, - 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, - 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, - 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, - 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x66, 0x64, 0x63, 0x34, - 0x31, 0x36, 0x36, 0x66, 0x30, 0x61, 0x33, 0x35, 0x34, - 0x30, 0x35, 0x38, 0x61, 0x34, 0x30, 0x62, 0x61, 0x39, - 0x39, 0x30, 0x63, 0x33, 0x66, 0x65, 0x30, 0x33, 0x66, - 0x61, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x31, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, - 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, - 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, - 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, - 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x31, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x63, - 0x33, 0x37, 0x62, 0x63, 0x32, 0x35, 0x39, 0x33, 0x63, - 0x37, 0x32, 0x34, 0x61, 0x38, 0x64, 0x61, 0x35, 0x30, - 0x65, 0x62, 0x37, 0x61, 0x30, 0x32, 0x35, 0x64, 0x35, - 0x33, 0x66, 0x62, 0x63, 0x22, 0x3a, 0x7b, 0x22, 0x76, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, - 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, - 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, - 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, - 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, - 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, - 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x63, 0x33, - 0x37, 0x62, 0x63, 0x32, 0x35, 0x39, 0x33, 0x63, 0x37, - 0x32, 0x34, 0x61, 0x38, 0x64, 0x61, 0x35, 0x30, 0x65, - 0x62, 0x37, 0x61, 0x30, 0x32, 0x35, 0x64, 0x35, 0x33, - 0x66, 0x62, 0x63, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, - 0x30, 0x30, 0x30, 0x31, 0x33, 0x22, 0x3a, 0x7b, 0x22, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, - 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, - 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, - 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, - 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, - 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, - 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, - 0x30, 0x30, 0x30, 0x31, 0x33, 0x2f, 0x22, 0x7d, 0x2c, - 0x22, 0x30, 0x30, 0x30, 0x30, 0x31, 0x36, 0x22, 0x3a, - 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, - 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, - 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, - 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, - 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, - 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x31, 0x36, 0x2f, 0x22, - 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x31, 0x38, - 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, - 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, - 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, - 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, - 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, - 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, - 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, - 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, - 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x31, 0x38, - 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, - 0x31, 0x34, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, - 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, - 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, - 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, - 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, - 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, - 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, - 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, - 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, - 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, - 0x31, 0x34, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, - 0x30, 0x30, 0x31, 0x37, 0x22, 0x3a, 0x7b, 0x22, 0x76, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, - 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, - 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, - 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, - 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, - 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, - 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, - 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, - 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, - 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, - 0x30, 0x30, 0x31, 0x37, 0x2f, 0x22, 0x7d, 0x2c, 0x22, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x38, 0x22, 0x3a, 0x7b, - 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, - 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, - 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, - 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, - 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, - 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, - 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, - 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, - 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, - 0x30, 0x30, 0x30, 0x30, 0x30, 0x38, 0x2f, 0x22, 0x7d, - 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x31, 0x32, 0x22, - 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, - 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, - 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, - 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, - 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, - 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, - 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, - 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, - 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, - 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x31, 0x32, 0x2f, - 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, 0x30, 0x31, - 0x31, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, - 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, - 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, - 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, - 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, - 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, - 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, - 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, - 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, - 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, 0x30, 0x31, - 0x31, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x22, 0x3a, 0x7b, 0x22, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x3a, 0x22, - 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x61, - 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, 0x63, 0x68, - 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, - 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x61, - 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, 0x62, 0x62, - 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, 0x31, 0x33, - 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, 0x62, 0x66, - 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, 0x72, 0x69, - 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x2f, 0x22, 0x7d, 0x2c, 0x22, 0x30, - 0x30, 0x30, 0x30, 0x30, 0x32, 0x22, 0x3a, 0x7b, 0x22, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x22, - 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, - 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, 0x75, 0x6e, - 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, - 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, - 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, 0x36, 0x61, - 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, 0x31, 0x39, - 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, 0x32, 0x31, - 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, 0x76, 0x61, - 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2f, 0x30, - 0x30, 0x30, 0x30, 0x30, 0x32, 0x2f, 0x22, 0x7d, 0x2c, - 0x22, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x22, 0x3a, - 0x7b, 0x22, 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, - 0x65, 0x22, 0x3a, 0x22, 0x68, 0x74, 0x74, 0x70, 0x73, - 0x3a, 0x2f, 0x2f, 0x61, 0x70, 0x70, 0x2e, 0x63, 0x72, - 0x75, 0x6e, 0x63, 0x68, 0x2e, 0x69, 0x6f, 0x2f, 0x61, - 0x70, 0x69, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, - 0x74, 0x73, 0x2f, 0x61, 0x64, 0x35, 0x66, 0x61, 0x31, - 0x36, 0x61, 0x62, 0x62, 0x35, 0x61, 0x34, 0x36, 0x38, - 0x31, 0x39, 0x31, 0x33, 0x39, 0x66, 0x37, 0x61, 0x34, - 0x32, 0x31, 0x62, 0x66, 0x36, 0x64, 0x39, 0x33, 0x2f, - 0x76, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, - 0x2f, 0x30, 0x30, 0x30, 0x30, 0x30, 0x33, 0x2f, 0x22, - 0x7d, 0x7d, 0x7d, 0x5d, 0x7d, 0x7d)), postredir = 3), .Names = c("useragent", - "post", "postfieldsize", "postfields", "postredir")), - output = structure(list(), class = c("write_memory", - "write_function"))), .Names = c("method", "url", "headers", - "fields", "options", "output"), class = "request")), .Names = c("url", -"status_code", "headers", "all_headers", "cookies", "content", -"date", "times", "request"), class = "response") diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/summary-73a614.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/summary-73a614.json deleted file mode 100644 index 7efe6052..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/summary-73a614.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/summary/?filter=%7B%7D", "value": {"unweighted": {"filtered": 20, "total": 20}, "variables": 16, "weighted": {"filtered": 13.000000000000002, "total": 13.000000000000002}, "columns": 16}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables-d118fa.json deleted file mode 100644 index dd01153f..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables-d118fa.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/?relative=on", "catalogs": {"private": "https://app.crunch.io/api/datasets/ad5fa/variables/private/"}, "orders": {"personal": "https://app.crunch.io/api/datasets/ad5fa/variables/personal/", "weights": "https://app.crunch.io/api/datasets/ad5fa/variables/weights/", "hier": "https://app.crunch.io/api/datasets/ad5fa/variables/hier/"}, "specification": "https://app.crunch.io/api/specifications/variables/", "description": "List of Variables of this dataset", "index": {"000003/": {"discarded": false, "alias": "noweight", "name": "No Weight", "type": "numeric", "notes": "", "derived": false, "id": "000003", "description": "Numeric data with values less then 0."}, "000012/": {"discarded": false, "alias": "age3", "name": "Age 3", "type": "categorical", "notes": "", "derived": false, "id": "000012", "description": ""}, "000017/": {"discarded": false, "alias": "age", "name": "Age", "type": "numeric", "notes": "", "derived": false, "id": "000017", "description": ""}, "000016/": {"discarded": false, "alias": "ndogs_a", "name": "Number of dogs -- With papers", "type": "numeric", "notes": "", "derived": false, "id": "000016", "description": "How many dogs do you have?"}, "000000/": {"discarded": false, "alias": "gender", "scale": "interval", "name": "Gender", "type": "categorical", "notes": "", "derived": false, "id": "000000", "description": ""}, "000018/": {"discarded": false, "alias": "ndogs_b", "name": "Number of dogs -- Mutts", "type": "numeric", "notes": "", "derived": false, "id": "000018", "description": "How many dogs do you have?"}, "000001/": {"discarded": false, "alias": "favpet", "name": "Favorite pet", "type": "categorical", "notes": "", "derived": false, "id": "000001", "description": "What is your favorite pet?"}, "000010/": {"discarded": false, "alias": "wave", "rollup_resolution": null, "resolution": "D", "name": "Wave", "type": "datetime", "notes": "", "derived": false, "id": "000010", "description": ""}, "c37bc/": {"discarded": false, "alias": "petloc", "subvariables_catalog": "c37bc/subvariables/", "name": "Pets by location", "subvariables": ["c37bc/subvariables/000007/", "c37bc/subvariables/000009/"], "type": "categorical_array", "notes": "", "derived": false, "id": "c37bc", "description": "Name the kinds of pets you have at these locations."}, "000002/": {"discarded": false, "alias": "weight", "name": "Weight", "type": "numeric", "notes": "", "derived": false, "id": "000002", "description": "What is your favorite pet?"}, "000008/": {"discarded": false, "alias": "age2", "name": "Age 2", "type": "categorical", "notes": "", "derived": false, "id": "000008", "description": ""}, "000013/": {"discarded": false, "alias": "ndogs", "name": "Number of dogs", "type": "numeric", "notes": "", "derived": false, "id": "000013", "description": ""}, "000011/": {"discarded": false, "alias": "age5", "scale": "interval", "name": "Age 5", "type": "categorical", "notes": "", "derived": false, "id": "000011", "description": ""}, "000015/": {"discarded": false, "alias": "petname", "name": "Pet name", "type": "text", "notes": "", "derived": false, "id": "000015", "description": "What is your favorite pet's maiden name?"}, "000014/": {"discarded": false, "alias": "country", "name": "Country", "type": "categorical", "notes": "", "derived": false, "id": "000014", "description": ""}, "fdc41/": {"description": "Do you have any of these animals as pets? Please select all that apply.", "derived": false, "subvariables": ["fdc41/subvariables/000006/", "fdc41/subvariables/000005/", "fdc41/subvariables/000004/"], "id": "fdc41", "subvariables_catalog": "fdc41/subvariables/", "uniform_basis": true, "name": "All pets owned", "notes": "", "discarded": false, "alias": "allpets", "type": "multiple_response"}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000.json deleted file mode 100644 index c50ccd86..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/cast/"}, "body": {"name": "Gender", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "gender", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000000", "categories": [{"numeric_value": 1, "id": 1, "name": "Male", "missing": false}, {"numeric_value": 2, "id": 2, "name": "Female", "missing": false}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000/values-51980f.json deleted file mode 100644 index 12ba5fff..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000000/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000000/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 2, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001.json deleted file mode 100644 index 5fa8b518..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/cast/"}, "body": {"name": "Favorite pet", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "favpet", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000001", "categories": [{"numeric_value": null, "id": 5, "name": "Bird", "missing": false}, {"numeric_value": null, "id": 2, "name": "Cat", "missing": false}, {"numeric_value": null, "id": 4, "name": "Dog", "missing": false}, {"numeric_value": null, "id": 3, "name": "Not Asked", "missing": false}, {"numeric_value": null, "id": 1, "name": "Skipped", "missing": false}], "description": "What is your favorite pet?"}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001/values-51980f.json deleted file mode 100644 index 39593dee..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000001/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000001/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 3, 4, 4, 1, 3, 5, 2, 4, 1, 2, 2, 2, 4, 3, 2, 3, 5, 5]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002.json deleted file mode 100644 index 5973285e..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/cast/"}, "body": {"name": "Weight", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1, "skipped": 1, "not asked": 2}, "private": false, "discarded": false, "alias": "weight", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000002", "categories": [], "description": "What is your favorite pet?"}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002/values-3d4982.json deleted file mode 100644 index 740a2e1c..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000002/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000002/values/?filter=%7B%7D&offset=0&limit=100000", "value": [0.0, 0.65, 0.0, 1.625, 1.625, 0.0, 0.0, 0.866666666666667, 0.65, 1.625, 0.0, 0.65, 0.65, 0.65, 1.625, 0.0, 0.65, 0.0, 0.866666666666667, 0.866666666666667]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003.json deleted file mode 100644 index 59c267ce..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/cast/"}, "body": {"name": "No Weight", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "noweight", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000003", "categories": [], "description": "Numeric data with values less then 0."}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003/values-3d4982.json deleted file mode 100644 index a4ad37a6..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000003/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000003/values/?filter=%7B%7D&offset=0&limit=100000", "value": [-3.0, -1.0, -2.0, -2.0, -4.0, -2.0, -1.0, -3.0, 0.0, -3.0, -2.0, -4.0, 0.0, -4.0, -2.0, 0.0, -1.0, 0.0, -4.0, -2.0]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008.json deleted file mode 100644 index e40328b1..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/cast/"}, "body": {"name": "Age 2", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "age2", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000008", "categories": [{"numeric_value": null, "id": 1, "name": "16 to 34", "missing": false}, {"numeric_value": null, "id": 2, "name": "35+", "missing": false}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008/values-51980f.json deleted file mode 100644 index b556f455..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000008/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000008/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 2, 2, 2, 2, 2, 2, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 2, 2]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010.json deleted file mode 100644 index 3f9b047e..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/cast/"}, "body": {"name": "Wave", "format": {"data": "%Y-%m-%d", "summary": "%Y-%m-%d"}, "resolution": "D", "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "wave", "rollup_resolution": null, "owner": null, "dataset_id": "ad5fa", "view": {"rollup_resolution": null, "column_width": null}, "type": "datetime", "id": "000010", "categories": [], "description": ""}, "specification": "https://app.crunch.io/api/specifications/datetime_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010/values-3d4982.json deleted file mode 100644 index bb4b02e8..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000010/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000010/values/?filter=%7B%7D&offset=0&limit=100000", "value": ["2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2014-12-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01", "2015-01-01"]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011.json deleted file mode 100644 index 3da8eeba..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/cast/"}, "body": {"name": "Age 5", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "age5", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000011", "categories": [{"numeric_value": 1, "id": 1, "name": "16 to 24", "missing": false}, {"numeric_value": 2, "id": 2, "name": "25 to 34", "missing": false}, {"numeric_value": 3, "id": 3, "name": "35 to 44", "missing": false}, {"numeric_value": 4, "id": 4, "name": "45 to 54", "missing": false}, {"numeric_value": 5, "id": 5, "name": "55+", "missing": false}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011/values-51980f.json deleted file mode 100644 index 52d19498..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000011/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000011/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 2, 3, 4, 4, 2, 4, 1, 5, 2, 2, 1, 2, 1, 2, 5, 2, 3, 2]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012.json deleted file mode 100644 index 1cae2298..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/cast/"}, "body": {"name": "Age 3", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "age3", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000012", "categories": [{"numeric_value": null, "id": 1, "name": "16 to 34", "missing": false}, {"numeric_value": null, "id": 3, "name": "35 to 54", "missing": false}, {"numeric_value": null, "id": 2, "name": "55+", "missing": false}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012/values-51980f.json deleted file mode 100644 index 7479f79b..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000012/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000012/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 2, 3, 3, 3, 2, 3, 1, 1, 2, 2, 1, 2, 1, 2, 1, 2, 3, 2]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013.json deleted file mode 100644 index 8829ef7f..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/cast/"}, "body": {"name": "Number of dogs", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1, "skipped": 1, "not asked": 2}, "private": false, "discarded": false, "alias": "ndogs", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000013", "categories": [], "description": ""}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013/values-3d4982.json deleted file mode 100644 index 0c9ea2c5..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000013/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000013/values/?filter=%7B%7D&offset=0&limit=100000", "value": [1.0, {"?": 1}, 2.0, 3.0, 1.0, 2.0, 2.0, 3.0, 2.0, 2.0, 2.0, {"?": -1}, 3.0, 0.0, 6.0, 1.0, {"?": 1}, 0.0, {"?": 2}, 2.0]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014.json deleted file mode 100644 index ed262e43..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/cast/"}, "body": {"name": "Country", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "country", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000014", "categories": [{"numeric_value": null, "id": 1, "name": "Argentina", "missing": false}, {"numeric_value": null, "id": 2, "name": "Australia", "missing": false}, {"numeric_value": null, "id": 3, "name": "Austria", "missing": false}, {"numeric_value": null, "id": 4, "name": "Belgium", "missing": false}, {"numeric_value": null, "id": 5, "name": "Brazil", "missing": false}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014/values-51980f.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014/values-51980f.json deleted file mode 100644 index acf55b29..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000014/values-51980f.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000014/values/?filter=%7B%7D&offset=0&limit=200000", "value": [1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015.json deleted file mode 100644 index 9200c9de..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/cast/"}, "body": {"name": "Pet name", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1}, "private": false, "discarded": false, "alias": "petname", "owner": null, "dataset_id": "ad5fa", "view": {"show_counts": true, "column_width": null}, "type": "text", "id": "000015", "categories": [], "description": "What is your favorite pet's maiden name?"}, "specification": "https://app.crunch.io/api/specifications/text_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015/values-641ef3.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015/values-641ef3.json deleted file mode 100644 index 54e34049..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000015/values-641ef3.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000015/values/?filter=%7B%7D&offset=0&limit=5000", "value": ["Jasmine", "Clyde", "Geoffrey", "Spike", "Zeus", "Teddy", "Ali", "Hugo", "Snoopy", "Lady", "Biscuit", "Not asked", "Daisy", "Doug", "Not asked", "Fluffy", "Not asked", "Not asked", "Felix", "Rocky"]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016.json deleted file mode 100644 index e9a42d30..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/cast/"}, "body": {"name": "Number of dogs -- With papers", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1, "skipped": 1, "not asked": 2}, "private": false, "discarded": false, "alias": "ndogs_a", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000016", "categories": [], "description": "How many dogs do you have?"}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016/values-3d4982.json deleted file mode 100644 index e9dcdec7..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000016/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000016/values/?filter=%7B%7D&offset=0&limit=100000", "value": [1.0, 1.0, 1.0, 0.0, 4.0, 0.0, 3.0, 3.0, 1.0, 5.0, 0.0, 1.0, 2.0, 3.0, 3.0, 2.0, 2.0, 1.0, 4.0, 2.0]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017.json deleted file mode 100644 index 73f3d667..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/cast/"}, "body": {"name": "Age", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1, "skipped": 1, "not asked": 2}, "private": false, "discarded": false, "alias": "age", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000017", "categories": [], "description": ""}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017/values-3d4982.json deleted file mode 100644 index 364a3b0c..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000017/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000017/values/?filter=%7B%7D&offset=0&limit=100000", "value": [26.0, 76.0, 71.0, 52.0, 44.0, 39.0, 62.0, 36.0, 27.0, 22.0, 71.0, 65.0, 28.0, 81.0, 32.0, 61.0, 22.0, 72.0, 50.0, 78.0]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018.json deleted file mode 100644 index e80a0837..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/", "catalogs": {"folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/cast/"}, "body": {"name": "Number of dogs -- Mutts", "format": {"data": {"digits": 2}, "summary": {"digits": 2}}, "notes": "", "derived": false, "missing_reasons": {"No Data": -1, "skipped": 1, "not asked": 2}, "private": false, "discarded": false, "alias": "ndogs_b", "owner": null, "dataset_id": "ad5fa", "view": {"column_width": null}, "type": "numeric", "id": "000018", "categories": [], "description": "How many dogs do you have?"}, "specification": "https://app.crunch.io/api/specifications/numeric_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018/values-3d4982.json deleted file mode 100644 index ecc5caf0..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/000018/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/000018/values/?filter=%7B%7D&offset=0&limit=100000", "value": [0.0, 2.0, 2.0, {"?": -1}, {"?": -1}, 3.0, 1.0, {"?": -1}, 1.0, {"?": -1}, 0.0, {"?": -1}, {"?": -1}, {"?": -1}, 2.0, 1.0, 3.0, {"?": -1}, 2.0, 2.0]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc.json deleted file mode 100644 index d6ae0132..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/", "catalogs": {"subvariables": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/", "folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/cast/"}, "body": {"name": "Pets by location", "format": {"summary": {"digits": 0}}, "subreferences": {"https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/": {"alias": "petloc_home", "name": "Home", "view": {"show_counts": false, "column_width": null, "include_missing": false, "show_numeric_values": false}}, "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/": {"alias": "petloc_work", "name": "Work", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "petloc", "owner": null, "subvariables": ["https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/", "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/"], "dataset_id": "ad5fa", "view": {"show_counts": false, "include_missing": false, "column_width": null}, "type": "categorical_array", "id": "c37bc", "categories": [{"numeric_value": null, "id": 5, "name": "Bird", "missing": false}, {"numeric_value": null, "id": 4, "name": "Cat", "missing": false}, {"numeric_value": null, "id": 2, "name": "Dog", "missing": false}, {"numeric_value": null, "id": 3, "name": "Not Asked", "missing": false}, {"numeric_value": null, "id": 1, "name": "Skipped", "missing": false}], "description": "Name the kinds of pets you have at these locations."}, "specification": "https://app.crunch.io/api/specifications/categorical_array_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables.json deleted file mode 100644 index c6760b91..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/", "description": "Contains the subvariables for this array variable.", "index": {"https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/": {"discarded": false, "alias": "petloc_home", "name": "Home", "type": "categorical", "notes": "", "derived": false, "id": "000007", "description": ""}, "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/": {"discarded": false, "alias": "petloc_work", "name": "Work", "type": "categorical", "notes": "", "derived": false, "id": "000009", "description": ""}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007.json deleted file mode 100644 index 1ec95db3..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/", "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/frequencies/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/values/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000007/summary/"}, "body": {"name": "Home", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "petloc_home", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000007", "categories": [{"numeric_value": null, "missing": false, "id": 5, "name": "Bird"}, {"numeric_value": null, "missing": false, "id": 4, "name": "Cat"}, {"numeric_value": null, "missing": false, "id": 2, "name": "Dog"}, {"numeric_value": null, "missing": false, "id": 3, "name": "Not Asked"}, {"numeric_value": null, "missing": false, "id": 1, "name": "Skipped"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009.json deleted file mode 100644 index 960c36cd..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/", "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/frequencies/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/values/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/subvariables/000009/summary/"}, "body": {"name": "Work", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "petloc_work", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000009", "categories": [{"numeric_value": null, "missing": false, "id": 5, "name": "Bird"}, {"numeric_value": null, "missing": false, "id": 4, "name": "Cat"}, {"numeric_value": null, "missing": false, "id": 2, "name": "Dog"}, {"numeric_value": null, "missing": false, "id": 3, "name": "Not Asked"}, {"numeric_value": null, "missing": false, "id": 1, "name": "Skipped"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/values-3d4982.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/values-3d4982.json deleted file mode 100644 index 3dae1f45..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/c37bc/values-3d4982.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/c37bc/values/?filter=%7B%7D&offset=0&limit=100000", "value": [[1, 3], [2, 5], [3, 5], [3, 2], [4, 2], [5, 4], [4, 5], [3, 1], [4, 1], [1, 4], [3, 5], [4, 4], [1, 4], [4, 4], [2, 5], [5, 2], [5, 2], [3, 5], [1, 4], [2, 1]]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41.json deleted file mode 100644 index 2864dbcb..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/", "catalogs": {"subvariables": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/", "folder": null, "parent": "https://app.crunch.io/api/datasets/ad5fa/variables/"}, "fragments": {"missing_rules": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/missing_rules/", "user_settings": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/user_settings/"}, "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/frequencies/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/summary/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/values/", "cast": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/cast/"}, "body": {"uniform_basis": true, "name": "All pets owned", "format": {"summary": {"digits": 0}}, "subreferences": {"https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/": {"alias": "allpets_3", "name": "Bird", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}}, "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/": {"alias": "allpets_1", "name": "Cat", "view": {"show_counts": false, "column_width": null, "include_missing": false, "show_numeric_values": false}}, "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/": {"alias": "allpets_2", "name": "Dog", "view": {"show_counts": false, "show_numeric_values": false, "include_missing": false, "column_width": null}}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "allpets", "owner": null, "subvariables": ["https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/", "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/", "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/"], "dataset_id": "ad5fa", "view": {"show_counts": false, "include_noneoftheabove": false, "include_missing": false, "column_width": null}, "type": "multiple_response", "id": "fdc41", "categories": [{"numeric_value": null, "selected": false, "id": 2, "name": "not asked", "missing": false}, {"numeric_value": null, "selected": false, "id": 3, "name": "not selected", "missing": false}, {"numeric_value": null, "selected": true, "id": 1, "name": "selected", "missing": false}, {"numeric_value": null, "selected": false, "id": 4, "name": "skipped", "missing": false}], "description": "Do you have any of these animals as pets? Please select all that apply."}, "specification": "https://app.crunch.io/api/specifications/multiple_response_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables.json deleted file mode 100644 index 056ac632..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:catalog", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/", "description": "Contains the subvariables for this array variable.", "index": {"https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/": {"discarded": false, "alias": "allpets_3", "name": "Bird", "type": "categorical", "notes": "", "derived": false, "id": "000004", "description": ""}, "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/": {"discarded": false, "alias": "allpets_1", "name": "Cat", "type": "categorical", "notes": "", "derived": false, "id": "000006", "description": ""}, "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/": {"discarded": false, "alias": "allpets_2", "name": "Dog", "type": "categorical", "notes": "", "derived": false, "id": "000005", "description": ""}}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004.json deleted file mode 100644 index 14cf95a1..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/", "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/frequencies/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/values/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000004/summary/"}, "body": {"name": "Bird", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "allpets_3", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000004", "categories": [{"numeric_value": null, "selected": false, "id": 2, "missing": false, "name": "not asked"}, {"numeric_value": null, "selected": false, "id": 3, "missing": false, "name": "not selected"}, {"numeric_value": null, "selected": true, "id": 1, "missing": false, "name": "selected"}, {"numeric_value": null, "selected": false, "id": 4, "missing": false, "name": "skipped"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005.json deleted file mode 100644 index 19218c1f..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/", "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/frequencies/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/values/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000005/summary/"}, "body": {"name": "Dog", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "allpets_2", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000005", "categories": [{"numeric_value": null, "selected": false, "id": 2, "missing": false, "name": "not asked"}, {"numeric_value": null, "selected": false, "id": 3, "missing": false, "name": "not selected"}, {"numeric_value": null, "selected": true, "id": 1, "missing": false, "name": "selected"}, {"numeric_value": null, "selected": false, "id": 4, "missing": false, "name": "skipped"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006.json deleted file mode 100644 index bdefec0d..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:entity", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/", "views": {"frequencies": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/frequencies/", "values": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/values/", "summary": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/subvariables/000006/summary/"}, "body": {"name": "Cat", "format": {"summary": {"digits": 0}}, "notes": "", "derived": false, "missing_reasons": {}, "private": false, "discarded": false, "alias": "allpets_1", "owner": null, "dataset_id": "ad5fa", "view": {"show_numeric_values": false, "include_missing": false, "show_counts": false, "column_width": null}, "type": "categorical", "id": "000006", "categories": [{"numeric_value": null, "selected": false, "id": 2, "missing": false, "name": "not asked"}, {"numeric_value": null, "selected": false, "id": 3, "missing": false, "name": "not selected"}, {"numeric_value": null, "selected": true, "id": 1, "missing": false, "name": "selected"}, {"numeric_value": null, "selected": false, "id": 4, "missing": false, "name": "skipped"}], "description": ""}, "specification": "https://app.crunch.io/api/specifications/categorical_variables/", "description": "Details for a given Variable", "urls": {"dataset_url": "https://app.crunch.io/api/datasets/ad5fa/"}} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/values-22eae5.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/values-22eae5.json deleted file mode 100644 index 74354ee5..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/fdc41/values-22eae5.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/fdc41/values/?filter=%7B%7D&offset=0&limit=66666", "value": [[1, 4, 4], [2, 1, 3], [1, 2, 4], [1, 2, 4], [2, 2, 4], [2, 2, 3], [3, 3, 2], [4, 2, 4], [2, 3, 1], [3, 2, 2], [3, 2, 3], [2, 1, 1], [4, 4, 3], [2, 2, 4], [4, 1, 1], [3, 1, 1], [4, 3, 3], [2, 4, 3], [1, 4, 1], [2, 1, 2]]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/hier-d118fa.json b/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/hier-d118fa.json deleted file mode 100644 index 1aa47be3..00000000 --- a/tests/testthat/app.crunch.io/api/datasets/ad5fa/variables/hier-d118fa.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:order", "self": "https://app.crunch.io/api/datasets/ad5fa/variables/hier/?relative=on", "description": "Hierarchical order of dataset variables", "graph": ["../fdc41/", "../000001/", "../000015/", "../c37bc/", "../000013/", "../000016/", "../000018/", "../000014/", "../000017/", "../000008/", "../000012/", "../000011/", "../000000/", "../000002/", "../000010/", "../000003/"]} \ No newline at end of file diff --git a/tests/testthat/app.crunch.io/api/progress.json b/tests/testthat/app.crunch.io/api/progress.json deleted file mode 100644 index 3ed39b84..00000000 --- a/tests/testthat/app.crunch.io/api/progress.json +++ /dev/null @@ -1 +0,0 @@ -{"element": "shoji:view", "self": "https://app.crunch.io/api/progress/", "views": {"result": "https://app.crunch.io/api/progress/result/"}, "value": {"progress": 100, "message": "complete"}} \ No newline at end of file diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api.R b/tests/testthat/fixtures-1-2-5/app.crunch.io/api.R deleted file mode 100644 index 8591f8ed..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api.R +++ /dev/null @@ -1,19 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/", status_code = 401L, - headers = structure(list(date = "Fri, 22 May 2020 22:57:41 GMT", - `content-type` = "application/json", `content-length` = "168", - server = "nginx", `content-encoding` = "gzip", vary = "Accept-Encoding", - allow = "GET, HEAD, OPTIONS, POST"), class = c("insensitive", - "list")), all_headers = list(list(status = 401L, version = "HTTP/2", - headers = structure(list(date = "Fri, 22 May 2020 22:57:41 GMT", - `content-type` = "application/json", `content-length` = "168", - server = "nginx", `content-encoding` = "gzip", vary = "Accept-Encoding", - allow = "GET, HEAD, OPTIONS, POST"), class = c("insensitive", - "list")))), cookies = structure(list(domain = logical(0), - flag = logical(0), path = logical(0), secure = logical(0), - expiration = structure(numeric(0), class = c("POSIXct", - "POSIXt")), name = logical(0), value = logical(0)), row.names = integer(0), class = "data.frame"), - content = charToRaw("{\"status\": \"401 Unauthorized\", \"urls\": {\"login_url\": \"https://app.crunch.io/api/public/login/\", \"password_reset_url\": \"https://app.crunch.io/api/public/password_reset/\", \"public_url\": \"https://app.crunch.io/api/public/\", \"email_change_url\": \"https://app.crunch.io/api/public/change_email/\", \"password_change_url\": \"https://app.crunch.io/api/public/password_change/\", \"collect_inquires\": \"https://app.crunch.io/api/public/inquire/\"}}"), - date = structure(1590188261, class = c("POSIXct", "POSIXt" - ), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.6e-05, - connect = 2.7e-05, pretransfer = 7.4e-05, starttransfer = 0.312317, - total = 0.312469)), class = "response") diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api.json deleted file mode 100644 index 9b889c93..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/", - "catalogs": { - "datasets": "https://app.crunch.io/api/datasets/", - "users": "https://app.crunch.io/api/users/", - "roles": "https://app.crunch.io/api/roles/", - "integrations": "https://app.crunch.io/api/integrations/", - "dashboards": "https://app.crunch.io/api/dashboards/", - "sources": "https://app.crunch.io/api/sources/", - "projects": "https://app.crunch.io/api/projects/", - "geodata": "https://app.crunch.io/api/geodata/", - "teams": "https://app.crunch.io/api/teams/", - "public": "https://app.crunch.io/api/public/", - "lobs": "https://app.crunch.io/api/lobs/", - "datasets_by_name": "https://app.crunch.io/api/datasets/by_name/{name}/" - }, - "views": { - "progress": "https://app.crunch.io/api/progress//app.crunch.io/api/search/", - "feature_flag": "https://app.crunch.io/api/feature_flag/", - "migration": "https://app.crunch.io/api/migration/", - "account": "https://app.crunch.io/api/account/", - "user": "https://app.crunch.io/api/users/0740cc/" - }, - "urls": { - "user_url": "https://app.crunch.io/api/users/0740cc/", - "account_roles_url": "https://app.crunch.io/api/roles/accounts/", - "notebook_url": "https://jupyter.crunch.io/", - "logout_url": "https://app.crunch.io/api/logout/", - "account_url": "https://app.crunch.io/api/account/" - }, - "description": "The API root. GET user_url to access your Crunch resources. GET logout_url to sign out." -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5.json deleted file mode 100644 index 2df80c07..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/", - "catalogs": { - "folders": "https://app.crunch.io/api/datasets/6b2eb5/folders/", - "users": "https://app.crunch.io/api/datasets/6b2eb5/users/", - "views": "https://app.crunch.io/api/datasets/6b2eb5/views/", - "variables": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "actions": "https://app.crunch.io/api/datasets/6b2eb5/actions/", - "boxdata": "https://app.crunch.io/api/datasets/6b2eb5/boxdata/", - "filters": "https://app.crunch.io/api/datasets/6b2eb5/filters/", - "scripts": "https://app.crunch.io/api/datasets/6b2eb5/scripts/", - "permissions": "https://app.crunch.io/api/datasets/6b2eb5/permissions/", - "batches": "https://app.crunch.io/api/datasets/6b2eb5/batches/", - "tags": "https://app.crunch.io/api/datasets/6b2eb5/tags/", - "teams": "https://app.crunch.io/api/datasets/6b2eb5/teams/", - "savepoints": "https://app.crunch.io/api/datasets/6b2eb5/savepoints/", - "multitables": "https://app.crunch.io/api/datasets/6b2eb5/multitables/", - "forks": "https://app.crunch.io/api/datasets/6b2eb5/forks/", - "decks": "https://app.crunch.io/api/datasets/6b2eb5/decks/", - "parent": "https://app.crunch.io/api/datasets/", - "project": "https://app.crunch.io/api/projects/personal/", - "variables_private": "https://app.crunch.io/api/datasets/6b2eb5/variables/private/" - }, - "fragments": { - "preferences": "https://app.crunch.io/api/datasets/6b2eb5/preferences/", - "stream": "https://app.crunch.io/api/datasets/6b2eb5/stream/", - "settings": "https://app.crunch.io/api/datasets/6b2eb5/settings/", - "exclusion": "https://app.crunch.io/api/datasets/6b2eb5/exclusion/", - "publish": "https://app.crunch.io/api/datasets/6b2eb5/publish/", - "state": "https://app.crunch.io/api/datasets/6b2eb5/state/", - "table": "https://app.crunch.io/api/datasets/6b2eb5/table/", - "pk": "https://app.crunch.io/api/datasets/6b2eb5/pk/", - "schema": "https://app.crunch.io/api/datasets/6b2eb5/schema/" - }, - "views": { - "second_order_analysis": "https://app.crunch.io/api/datasets/6b2eb5/second_order_analysis/", - "cube": "https://app.crunch.io/api/datasets/6b2eb5/cube/", - "export": "https://app.crunch.io/api/datasets/6b2eb5/export/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/summary/", - "applied_filters": "https://app.crunch.io/api/datasets/6b2eb5/filters/applied/" - }, - "description": "Detail for a given dataset", - "body": { - "maintainer": "https://app.crunch.io/api/users/0740cc/", - "current_editor": "https://app.crunch.io/api/users/0740cc/", - "creation_time": "2020-05-22T22:45:34.665000", - "streaming": "no", - "owner": "https://app.crunch.io/api/users/0740cc/", - "logo": { - "large": "https://s.crunch.io/act_app_icons/account-yougov-lrhfua-large.png", - "small": "https://s.crunch.io/act_app_icons/account-yougov-wmgadi-small.png", - "favicon": "https://s.crunch.io/act_app_icons/account-yougov-slyzix-favicon.ico" - }, - "id": "6b2eb5", - "size": { - "rows": 20, - "unfiltered_rows": 20, - "columns": 10 - }, - "palette": { - "brand": { - "message": "#722580", - "primary": "#0064a4", - "secondary": "#107f65" - } - }, - "app_settings": { - - }, - "start_date": null, - "owner_name": "Personal project for Brandon Bertelsen", - "description": "A dataset to illustrate the API", - "end_date": null, - "access_time": "2020-05-22T22:45:34.487000", - "current_editor_name": "Brandon Bertelsen", - "view_of": null, - "modification_time": "2020-05-22T22:45:37.521000", - "archived": false, - "permissions": { - "edit": true, - "view": true - }, - "account": "https://app.crunch.io/api/accounts/b7a990/", - "name": "Example dataset", - "notes": "", - "is_published": true - }, - "orders": { - "variables_weights": "https://app.crunch.io/api/datasets/6b2eb5/variables/weights/", - "variables_hier": "https://app.crunch.io/api/datasets/6b2eb5/variables/hier/", - "variables_personal": "https://app.crunch.io/api/datasets/6b2eb5/variables/personal/" - }, - "urls": { - "owner_url": "https://app.crunch.io/api/projects/bf9f4f/", - "editor_url": "https://app.crunch.io/api/users/0740cc/", - "user_url": "https://app.crunch.io/api/users/0740cc/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/cube-a5c3da.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/cube-a5c3da.json deleted file mode 100644 index 280567e2..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/cube-a5c3da.json +++ /dev/null @@ -1,317 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/cube/?query=%7B%22dimensions%22%3A%5B%7B%22each%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F6b2eb5%2Fvariables%2F22dOpNBlKMRBmwvFfv087O000000%2F%22%7D%2C%7B%22function%22%3A%22as_selected%22%2C%22args%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2F6b2eb5%2Fvariables%2F22dOpNBlKMRBmwvFfv087O000000%2F%22%7D%5D%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", - "value": { - "query": { - "measures": { - "count": { - "function": "cube_count", - "args": [ - - ] - } - }, - "dimensions": [ - { - "each": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/" - } - ] - } - ], - "weight": null - }, - "query_environment": { - "filter": [ - - ] - }, - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "missing": 3, - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "element": "crunch:cube" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables-a17e9c-POST.R b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables-a17e9c-POST.R deleted file mode 100644 index 07912ecc..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables-a17e9c-POST.R +++ /dev/null @@ -1,19 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/6b2eb5/multitables/", - status_code = 201L, headers = structure(list(date = "Fri, 22 May 2020 22:46:29 GMT", - `content-type` = "application/json;charset=utf-8", `content-length` = "0", - location = "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/", - server = "nginx", vary = "Cookie, Accept-Encoding", allow = "GET, HEAD, OPTIONS, POST", - `set-cookie` = "REDACTED"), class = c("insensitive", - "list")), all_headers = list(list(status = 201L, version = "HTTP/2", - headers = structure(list(date = "Fri, 22 May 2020 22:46:29 GMT", - `content-type` = "application/json;charset=utf-8", - `content-length` = "0", location = "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/", - server = "nginx", vary = "Cookie, Accept-Encoding", - allow = "GET, HEAD, OPTIONS, POST", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1621723589, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), row.names = c(NA, - -1L), class = "data.frame"), content = charToRaw(""), date = structure(1590187589, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.9e-05, - connect = 2.9e-05, pretransfer = 9.4e-05, starttransfer = 9.6e-05, - total = 0.237739)), class = "response") diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables.json deleted file mode 100644 index a1055e85..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/6b2eb5/multitables/", - "description": "List of multitable definitions for this dataset", - "index": { - "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/": { - "is_public": false, - "team": null, - "owner_id": "https://app.crunch.io/api/users/0740cc/", - "name": "c4cae4937918ee0", - "id": "7da879" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879.json deleted file mode 100644 index f51321ad..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/", - "views": { - "applied": "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/applied/", - "tabbook": "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/tabbook/", - "export": "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export/" - }, - "description": "Detail information for one multitable definition", - "body": { - "name": "c4cae4937918ee0", - "user": "https://app.crunch.io/api/users/0740cc/", - "template": [ - { - "query": [ - { - "each": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/" - } - ] - } - ] - } - ], - "team": null, - "is_public": false, - "display_settings": { - - }, - "id": "7da879" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export-384062-POST.R b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export-384062-POST.R deleted file mode 100644 index 1df1c1cc..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export-384062-POST.R +++ /dev/null @@ -1,20 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export/", - status_code = 202L, headers = structure(list(date = "Fri, 22 May 2020 22:46:46 GMT", - `content-type` = "application/json;charset=utf-8", `content-length` = "168", - location = "https://player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json?Signature=DyeqHU4hWaP%2B%2FFQtD%2FRCBec6gTs%3D&Expires=1590191206&AWSAccessKeyId=AKIA5IDTGVXE37N3XFXG", - server = "nginx", `content-encoding` = "gzip", vary = "Cookie, Accept-Encoding", - allow = "OPTIONS, POST", `x-timing` = "", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")), all_headers = list(list(status = 202L, version = "HTTP/2", - headers = structure(list(date = "Fri, 22 May 2020 22:46:46 GMT", - `content-type` = "application/json;charset=utf-8", - `content-length` = "168", location = "https://player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json?Signature=DyeqHU4hWaP%2B%2FFQtD%2FRCBec6gTs%3D&Expires=1590191206&AWSAccessKeyId=AKIA5IDTGVXE37N3XFXG", - server = "nginx", `content-encoding` = "gzip", vary = "Cookie, Accept-Encoding", - allow = "OPTIONS, POST", `x-timing` = "", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1621723606, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), row.names = c(NA, - -1L), class = "data.frame"), content = charToRaw("{\"element\": \"shoji:view\", \"self\": \"https://app.crunch.io/api/datasets/6b2eb5/multitables/7da879/export/\", \"value\": \"https://app.crunch.io/api/progress/\"}"), - date = structure(1590187606, class = c("POSIXct", "POSIXt" - ), tzone = "GMT"), times = c(redirect = 0, namelookup = 2e-05, - connect = 2.1e-05, pretransfer = 8.2e-05, starttransfer = 8.3e-05, - total = 0.669974)), class = "response") diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/preferences.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/preferences.json deleted file mode 100644 index ab65e575..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/preferences.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/preferences/", - "body": { - "weight": null - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/summary-73a614.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/summary-73a614.json deleted file mode 100644 index b3cfe6e2..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/summary-73a614.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/summary/?filter=%7B%7D", - "value": { - "unweighted": { - "filtered": 20, - "total": 20 - }, - "variables": 10, - "weighted": { - "filtered": 20, - "total": 20 - }, - "columns": 10 - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables-d118fa.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables-d118fa.json deleted file mode 100644 index 4cba734a..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables-d118fa.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/?relative=on", - "catalogs": { - "private": "https://app.crunch.io/api/datasets/6b2eb5/variables/private/" - }, - "orders": { - "personal": "https://app.crunch.io/api/datasets/6b2eb5/variables/personal/", - "weights": "https://app.crunch.io/api/datasets/6b2eb5/variables/weights/", - "hier": "https://app.crunch.io/api/datasets/6b2eb5/variables/hier/" - }, - "description": "List of Variables of this dataset", - "index": { - "22dOpNBlKMRBmwvFfv087O000007/": { - "secure": false, - "derived": false, - "id": "22dOpNBlKMRBmwvFfv087O000007", - "description": "What is your favorite pet?", - "scale": "interval", - "name": "Pet", - "notes": "", - "discarded": false, - "alias": "q1", - "hidden": false, - "type": "categorical" - }, - "22dOpNBlKMRBmwvFfv087O000006/": { - "secure": false, - "derived": false, - "subvariables": [ - "22dOpNBlKMRBmwvFfv087O000006/subvariables/0001/", - "22dOpNBlKMRBmwvFfv087O000006/subvariables/0002/" - ], - "id": "22dOpNBlKMRBmwvFfv087O000006", - "description": "Name the kinds of pets you have at these locations.", - "subvariables_catalog": "22dOpNBlKMRBmwvFfv087O000006/subvariables/", - "scale": "interval", - "name": "Pets by location", - "notes": "", - "discarded": false, - "alias": "petloc", - "hidden": false, - "type": "categorical_array" - }, - "22dOpNBlKMRBmwvFfv087O000008/": { - "discarded": false, - "alias": "q3", - "secure": false, - "name": "Pet name", - "id": "22dOpNBlKMRBmwvFfv087O000008", - "type": "text", - "notes": "", - "derived": false, - "hidden": false, - "description": "What is your favorite pet's maiden name?" - }, - "22dOpNBlKMRBmwvFfv087O000009/": { - "secure": false, - "derived": false, - "rollup_resolution": null, - "id": "22dOpNBlKMRBmwvFfv087O000009", - "description": "", - "name": "Wave", - "resolution": "D", - "notes": "", - "discarded": false, - "alias": "wave", - "hidden": false, - "type": "datetime" - }, - "22dOpNBlKMRBmwvFfv087O000000/": { - "secure": false, - "derived": false, - "subvariables": [ - "22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/", - "22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/", - "22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/" - ], - "id": "22dOpNBlKMRBmwvFfv087O000000", - "description": "Do you have any of these animals as pets? Please select all that apply.", - "subvariables_catalog": "22dOpNBlKMRBmwvFfv087O000000/subvariables/", - "uniform_basis": false, - "name": "All pets owned", - "notes": "", - "discarded": false, - "alias": "allpets", - "hidden": false, - "type": "multiple_response" - }, - "22dOpNBlKMRBmwvFfv087O000001/": { - "discarded": true, - "alias": "caseid", - "secure": false, - "name": "Case ID", - "id": "22dOpNBlKMRBmwvFfv087O000001", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": true, - "description": "" - }, - "22dOpNBlKMRBmwvFfv087O000003/": { - "discarded": false, - "alias": "ndogs", - "secure": false, - "name": "Number of dogs", - "id": "22dOpNBlKMRBmwvFfv087O000003", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "22dOpNBlKMRBmwvFfv087O000002/": { - "discarded": false, - "alias": "country", - "secure": false, - "name": "Country", - "id": "22dOpNBlKMRBmwvFfv087O000002", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "22dOpNBlKMRBmwvFfv087O000004/": { - "discarded": false, - "alias": "ndogs_a", - "secure": false, - "name": "Number of dogs -- With papers", - "id": "22dOpNBlKMRBmwvFfv087O000004", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "How many dogs do you have?" - }, - "22dOpNBlKMRBmwvFfv087O000005/": { - "discarded": false, - "alias": "ndogs_b", - "secure": false, - "name": "Number of dogs -- Mutts", - "id": "22dOpNBlKMRBmwvFfv087O000005", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "How many dogs do you have?" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables.json deleted file mode 100644 index 36c2501e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/", - "description": "Contains the subvariables for this array variable.", - "index": { - "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/": { - "discarded": false, - "alias": "allpets_2", - "secure": false, - "name": "Dog", - "id": "0002", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/": { - "discarded": false, - "alias": "allpets_3", - "secure": false, - "name": "Bird", - "id": "0003", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/": { - "discarded": false, - "alias": "allpets_1", - "secure": false, - "name": "Cat", - "id": "0001", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001.json deleted file mode 100644 index faa22507..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/", - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/frequencies/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/values/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0001/summary/" - }, - "body": { - "secure": false, - "name": "Cat", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "skipped": 8, - "not asked": 9 - }, - "private": false, - "discarded": false, - "alias": "allpets_1", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_numeric_values": false, - "include_missing": false, - "show_counts": false, - "column_width": null, - "include_noneoftheabove": false - }, - "type": "categorical", - "id": "0001", - "categories": [ - { - "numeric_value": null, - "selected": false, - "id": 2, - "missing": false, - "name": "not selected" - }, - { - "numeric_value": null, - "selected": true, - "id": 1, - "missing": false, - "name": "selected" - }, - { - "numeric_value": 9, - "id": 9, - "name": "not asked", - "missing": true - }, - { - "numeric_value": 8, - "id": 8, - "name": "skipped", - "missing": true - }, - { - "numeric_value": null, - "id": -1, - "name": "No Data", - "missing": true - } - ], - "description": "" - }, - "description": "Details for a given Variable", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/" - }, - "fragments": { - "variable": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002.json deleted file mode 100644 index af8577cc..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/", - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/frequencies/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/values/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0002/summary/" - }, - "body": { - "secure": false, - "name": "Dog", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "skipped": 8, - "not asked": 9 - }, - "private": false, - "discarded": false, - "alias": "allpets_2", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_numeric_values": false, - "include_missing": false, - "show_counts": false, - "column_width": null, - "include_noneoftheabove": false - }, - "type": "categorical", - "id": "0002", - "categories": [ - { - "numeric_value": null, - "selected": false, - "id": 2, - "missing": false, - "name": "not selected" - }, - { - "numeric_value": null, - "selected": true, - "id": 1, - "missing": false, - "name": "selected" - }, - { - "numeric_value": 9, - "id": 9, - "name": "not asked", - "missing": true - }, - { - "numeric_value": 8, - "id": 8, - "name": "skipped", - "missing": true - }, - { - "numeric_value": null, - "id": -1, - "name": "No Data", - "missing": true - } - ], - "description": "" - }, - "description": "Details for a given Variable", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/" - }, - "fragments": { - "variable": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003.json deleted file mode 100644 index 4ff0c604..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/", - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/frequencies/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/values/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/0003/summary/" - }, - "body": { - "secure": false, - "name": "Bird", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "skipped": 8, - "not asked": 9 - }, - "private": false, - "discarded": false, - "alias": "allpets_3", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_numeric_values": false, - "include_missing": false, - "show_counts": false, - "column_width": null, - "include_noneoftheabove": false - }, - "type": "categorical", - "id": "0003", - "categories": [ - { - "numeric_value": null, - "selected": false, - "id": 2, - "missing": false, - "name": "not selected" - }, - { - "numeric_value": null, - "selected": true, - "id": 1, - "missing": false, - "name": "selected" - }, - { - "numeric_value": 9, - "id": 9, - "name": "not asked", - "missing": true - }, - { - "numeric_value": 8, - "id": 8, - "name": "skipped", - "missing": true - }, - { - "numeric_value": null, - "id": -1, - "name": "No Data", - "missing": true - } - ], - "description": "" - }, - "description": "Details for a given Variable", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/subvariables/" - }, - "fragments": { - "variable": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000000/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002.json deleted file mode 100644 index 6af97bfa..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/8cef7d/" - }, - "fragments": { - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000002/cast/" - }, - "body": { - "secure": false, - "name": "Country", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "country", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_numeric_values": false, - "include_missing": false, - "show_counts": false, - "column_width": null - }, - "type": "categorical", - "id": "22dOpNBlKMRBmwvFfv087O000002", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ], - "description": "" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003.json deleted file mode 100644 index 1dcd35b0..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/2ff8b8/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "skipped": 1, - "not asked": 2 - }, - "private": false, - "discarded": false, - "alias": "ndogs", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "22dOpNBlKMRBmwvFfv087O000003", - "categories": [ - - ], - "description": "" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values-3d4982.json deleted file mode 100644 index 4b45b3a5..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values-3d4982.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000003/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 1.0, - { - "?": 2 - }, - 2.0, - 3.0, - 1.0, - 2.0, - 2.0, - 3.0, - 2.0, - 2.0, - 2.0, - { - "?": -1 - }, - 3.0, - 0.0, - 6.0, - 1.0, - { - "?": 2 - }, - 0.0, - { - "?": 1 - }, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004.json deleted file mode 100644 index 3e2997e4..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/6bab07/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs -- With papers", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "ndogs_a", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "22dOpNBlKMRBmwvFfv087O000004", - "categories": [ - - ], - "description": "How many dogs do you have?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values-3d4982.json deleted file mode 100644 index e4281838..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values-3d4982.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000004/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 1.0, - 1.0, - 1.0, - 0.0, - 4.0, - 0.0, - 3.0, - 3.0, - 1.0, - 5.0, - 0.0, - 1.0, - 2.0, - 3.0, - 3.0, - 2.0, - 2.0, - 1.0, - 4.0, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005.json deleted file mode 100644 index b1f407b0..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/6bab07/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs -- Mutts", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "ndogs_b", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "22dOpNBlKMRBmwvFfv087O000005", - "categories": [ - - ], - "description": "How many dogs do you have?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values-3d4982.json deleted file mode 100644 index d1e680c7..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values-3d4982.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000005/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 0.0, - 2.0, - 2.0, - { - "?": -1 - }, - { - "?": -1 - }, - 3.0, - 1.0, - { - "?": -1 - }, - 1.0, - { - "?": -1 - }, - 0.0, - { - "?": -1 - }, - { - "?": -1 - }, - { - "?": -1 - }, - 2.0, - 1.0, - 3.0, - { - "?": -1 - }, - 2.0, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007.json deleted file mode 100644 index 62b8496e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007.json +++ /dev/null @@ -1,91 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/f6f43b/" - }, - "fragments": { - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000007/cast/" - }, - "body": { - "secure": false, - "name": "Pet", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "Skipped": 8, - "Not Asked": 9 - }, - "private": false, - "discarded": false, - "alias": "q1", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_numeric_values": false, - "include_missing": false, - "show_counts": false, - "column_width": null - }, - "type": "categorical", - "id": "22dOpNBlKMRBmwvFfv087O000007", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ], - "description": "What is your favorite pet?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008.json deleted file mode 100644 index 5939110d..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/6db4c0/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/cast/" - }, - "body": { - "secure": false, - "name": "Pet name", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "Not asked": 1 - }, - "private": false, - "discarded": false, - "alias": "q3", - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "show_counts": true, - "column_width": null - }, - "type": "text", - "id": "22dOpNBlKMRBmwvFfv087O000008", - "categories": [ - - ], - "description": "What is your favorite pet's maiden name?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values-641ef3.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values-641ef3.json deleted file mode 100644 index 0dfede58..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values-641ef3.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000008/values/?filter=%7B%7D&offset=0&limit=5000", - "value": [ - "Jasmine", - "Clyde", - "Geoffrey", - "Spike", - "Zeus", - "Teddy", - "Ali", - "Hugo", - "Snoopy", - "Lady", - "Biscuit", - { - "?": 1 - }, - "Daisy", - "Doug", - { - "?": 1 - }, - "Fluffy", - { - "?": 1 - }, - { - "?": 1 - }, - "Felix", - "Rocky" - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009.json deleted file mode 100644 index cb1e9e55..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/6b2eb5/variables/", - "folder": "https://app.crunch.io/api/datasets/6b2eb5/folders/8cef7d/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/6b2eb5/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/frequencies/", - "summary": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/summary/", - "values": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values/", - "cast": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/cast/" - }, - "body": { - "secure": false, - "name": "Wave", - "format": { - "data": "%Y-%m-%d", - "summary": "%Y-%m-%d" - }, - "resolution": "D", - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "wave", - "rollup_resolution": null, - "dataset_id": "6b2eb5", - "owner": null, - "hidden": false, - "view": { - "rollup_resolution": null, - "column_width": null - }, - "type": "datetime", - "id": "22dOpNBlKMRBmwvFfv087O000009", - "categories": [ - - ], - "description": "" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/6b2eb5/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values-3d4982.json deleted file mode 100644 index 8789bdeb..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values-3d4982.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/22dOpNBlKMRBmwvFfv087O000009/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01" - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/hier-d118fa.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/hier-d118fa.json deleted file mode 100644 index 49d2186f..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/hier-d118fa.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "element": "shoji:order", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/hier/?relative=on", - "description": "Hierarchical order from folder structure of dataset variables", - "graph": [ - { - "Key Pet Indicators": [ - "../22dOpNBlKMRBmwvFfv087O000000/", - "../22dOpNBlKMRBmwvFfv087O000007/", - "../22dOpNBlKMRBmwvFfv087O000006/" - ] - }, - { - "Dog Metrics": [ - "../22dOpNBlKMRBmwvFfv087O000003/", - { - "Number of dogs by type": [ - "../22dOpNBlKMRBmwvFfv087O000004/", - "../22dOpNBlKMRBmwvFfv087O000005/" - ] - } - ] - }, - { - "Details": [ - "../22dOpNBlKMRBmwvFfv087O000008/" - ] - }, - { - "Dimensions": [ - "../22dOpNBlKMRBmwvFfv087O000002/", - "../22dOpNBlKMRBmwvFfv087O000009/" - ] - }, - { - "__hidden__": [ - "../22dOpNBlKMRBmwvFfv087O000001/" - ] - } - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/weights.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/weights.json deleted file mode 100644 index f06bb76b..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/6b2eb5/variables/weights.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "element": "shoji:order", - "self": "https://app.crunch.io/api/datasets/6b2eb5/variables/weights/", - "description": "Order of the weight variables for this dataset", - "graph": [ - - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/by_name/Example%20dataset.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/by_name/Example%20dataset.json deleted file mode 100644 index 06e6fdaf..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/by_name/Example%20dataset.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/by_name/Example%20dataset/", - "description": "Datasets with a given name ", - "index": { - "https://app.crunch.io/api/datasets/6b2eb5/": { - "size": { - "rows": 20, - "unfiltered_rows": 20, - "columns": 10 - }, - "current_editor_name": "Brandon Bertelsen", - "account": "https://app.crunch.io/api/accounts/b7a990/", - "owner_name": "Personal project for Brandon Bertelsen", - "name": "Example dataset", - "end_date": null, - "streaming": "no", - "owner_id": "https://app.crunch.io/api/users/0740cc/", - "current_editor": "https://app.crunch.io/api/users/0740cc/", - "creation_time": "2020-05-22T22:45:34.665000+00:00", - "archived": false, - "view_of": null, - "start_date": null, - "modification_time": "2020-05-22T22:45:37.521000+00:00", - "access_time": "2020-05-22T22:45:34.487000+00:00", - "permissions": { - "edit": true, - "view": true - }, - "is_published": true, - "id": "6b2eb5", - "description": "A dataset to illustrate the API" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7.json deleted file mode 100644 index 58ae980e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7.json +++ /dev/null @@ -1,99 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/", - "catalogs": { - "folders": "https://app.crunch.io/api/datasets/e6d1e7/folders/", - "users": "https://app.crunch.io/api/datasets/e6d1e7/users/", - "views": "https://app.crunch.io/api/datasets/e6d1e7/views/", - "variables": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "actions": "https://app.crunch.io/api/datasets/e6d1e7/actions/", - "boxdata": "https://app.crunch.io/api/datasets/e6d1e7/boxdata/", - "filters": "https://app.crunch.io/api/datasets/e6d1e7/filters/", - "scripts": "https://app.crunch.io/api/datasets/e6d1e7/scripts/", - "permissions": "https://app.crunch.io/api/datasets/e6d1e7/permissions/", - "batches": "https://app.crunch.io/api/datasets/e6d1e7/batches/", - "tags": "https://app.crunch.io/api/datasets/e6d1e7/tags/", - "teams": "https://app.crunch.io/api/datasets/e6d1e7/teams/", - "savepoints": "https://app.crunch.io/api/datasets/e6d1e7/savepoints/", - "multitables": "https://app.crunch.io/api/datasets/e6d1e7/multitables/", - "forks": "https://app.crunch.io/api/datasets/e6d1e7/forks/", - "decks": "https://app.crunch.io/api/datasets/e6d1e7/decks/", - "parent": "https://app.crunch.io/api/datasets/", - "project": "https://app.crunch.io/api/projects/personal/", - "variables_private": "https://app.crunch.io/api/datasets/e6d1e7/variables/private/" - }, - "fragments": { - "preferences": "https://app.crunch.io/api/datasets/e6d1e7/preferences/", - "stream": "https://app.crunch.io/api/datasets/e6d1e7/stream/", - "settings": "https://app.crunch.io/api/datasets/e6d1e7/settings/", - "exclusion": "https://app.crunch.io/api/datasets/e6d1e7/exclusion/", - "publish": "https://app.crunch.io/api/datasets/e6d1e7/publish/", - "state": "https://app.crunch.io/api/datasets/e6d1e7/state/", - "table": "https://app.crunch.io/api/datasets/e6d1e7/table/", - "pk": "https://app.crunch.io/api/datasets/e6d1e7/pk/", - "schema": "https://app.crunch.io/api/datasets/e6d1e7/schema/" - }, - "views": { - "second_order_analysis": "https://app.crunch.io/api/datasets/e6d1e7/second_order_analysis/", - "cube": "https://app.crunch.io/api/datasets/e6d1e7/cube/", - "export": "https://app.crunch.io/api/datasets/e6d1e7/export/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/summary/", - "applied_filters": "https://app.crunch.io/api/datasets/e6d1e7/filters/applied/" - }, - "description": "Detail for a given dataset", - "body": { - "maintainer": "https://app.crunch.io/api/users/0740cc/", - "current_editor": "https://app.crunch.io/api/users/0740cc/", - "creation_time": "2020-05-20T23:56:00.471000", - "streaming": "no", - "owner": "https://app.crunch.io/api/users/0740cc/", - "logo": { - "large": "https://s.crunch.io/act_app_icons/account-yougov-lrhfua-large.png", - "small": "https://s.crunch.io/act_app_icons/account-yougov-wmgadi-small.png", - "favicon": "https://s.crunch.io/act_app_icons/account-yougov-slyzix-favicon.ico" - }, - "id": "e6d1e7", - "size": { - "rows": 20, - "unfiltered_rows": 20, - "columns": 10 - }, - "palette": { - "brand": { - "message": "#722580", - "primary": "#0064a4", - "secondary": "#107f65" - } - }, - "app_settings": { - - }, - "start_date": null, - "owner_name": "Personal project for Brandon Bertelsen", - "description": "A dataset to illustrate the API", - "end_date": null, - "access_time": "2020-05-20T23:56:00.283000", - "current_editor_name": "Brandon Bertelsen", - "view_of": null, - "modification_time": "2020-05-20T23:56:02.824000", - "archived": false, - "permissions": { - "edit": true, - "view": true - }, - "account": "https://app.crunch.io/api/accounts/b7a990/", - "name": "Example dataset", - "notes": "", - "is_published": true - }, - "orders": { - "variables_weights": "https://app.crunch.io/api/datasets/e6d1e7/variables/weights/", - "variables_hier": "https://app.crunch.io/api/datasets/e6d1e7/variables/hier/", - "variables_personal": "https://app.crunch.io/api/datasets/e6d1e7/variables/personal/" - }, - "urls": { - "owner_url": "https://app.crunch.io/api/projects/bf9f4f/", - "editor_url": "https://app.crunch.io/api/users/0740cc/", - "user_url": "https://app.crunch.io/api/users/0740cc/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/cube-3a963d.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/cube-3a963d.json deleted file mode 100644 index 4ff17a1e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/cube-3a963d.json +++ /dev/null @@ -1,317 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/cube/?query=%7B%22dimensions%22%3A%5B%7B%22each%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2Fe6d1e7%2Fvariables%2F4D9ueMTv4l7Y73adCnN2Y0000000%2F%22%7D%2C%7B%22function%22%3A%22as_selected%22%2C%22args%22%3A%5B%7B%22variable%22%3A%22https%3A%2F%2Fapp.crunch.io%2Fapi%2Fdatasets%2Fe6d1e7%2Fvariables%2F4D9ueMTv4l7Y73adCnN2Y0000000%2F%22%7D%5D%7D%5D%2C%22measures%22%3A%7B%22count%22%3A%7B%22function%22%3A%22cube_count%22%2C%22args%22%3A%5B%5D%7D%7D%2C%22weight%22%3Anull%7D&filter=%7B%7D", - "value": { - "query": { - "measures": { - "count": { - "function": "cube_count", - "args": [ - - ] - } - }, - "dimensions": [ - { - "each": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/" - } - ] - } - ], - "weight": null - }, - "query_environment": { - "filter": [ - - ] - }, - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "missing": 3, - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "element": "crunch:cube" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables-66f87c-POST.R b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables-66f87c-POST.R deleted file mode 100644 index dfa506cc..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables-66f87c-POST.R +++ /dev/null @@ -1,19 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/e6d1e7/multitables/", - status_code = 201L, headers = structure(list(date = "Wed, 20 May 2020 23:56:07 GMT", - `content-type` = "application/json;charset=utf-8", `content-length` = "0", - location = "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/", - server = "nginx", vary = "Cookie, Accept-Encoding", allow = "GET, HEAD, OPTIONS, POST", - `set-cookie` = "REDACTED"), class = c("insensitive", - "list")), all_headers = list(list(status = 201L, version = "HTTP/2", - headers = structure(list(date = "Wed, 20 May 2020 23:56:07 GMT", - `content-type` = "application/json;charset=utf-8", - `content-length` = "0", location = "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/", - server = "nginx", vary = "Cookie, Accept-Encoding", - allow = "GET, HEAD, OPTIONS, POST", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1621554967, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), row.names = c(NA, - -1L), class = "data.frame"), content = charToRaw(""), date = structure(1590018967, class = c("POSIXct", - "POSIXt"), tzone = "GMT"), times = c(redirect = 0, namelookup = 2.2e-05, - connect = 2.3e-05, pretransfer = 8.7e-05, starttransfer = 8.8e-05, - total = 0.234403)), class = "response") diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables.json deleted file mode 100644 index 6852fa12..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/e6d1e7/multitables/", - "description": "List of multitable definitions for this dataset", - "index": { - "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/": { - "is_public": false, - "team": null, - "owner_id": "https://app.crunch.io/api/users/0740cc/", - "name": "c4cae4937918ee0", - "id": "74b368" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368.json deleted file mode 100644 index cec2343a..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/", - "views": { - "applied": "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/applied/", - "tabbook": "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/tabbook/", - "export": "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export/" - }, - "description": "Detail information for one multitable definition", - "body": { - "name": "c4cae4937918ee0", - "user": "https://app.crunch.io/api/users/0740cc/", - "template": [ - { - "query": [ - { - "each": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/" - } - ] - } - ] - } - ], - "team": null, - "is_public": false, - "display_settings": { - - }, - "id": "74b368" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export-3502a0-POST.R b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export-3502a0-POST.R deleted file mode 100644 index c8fe4c26..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export-3502a0-POST.R +++ /dev/null @@ -1,20 +0,0 @@ -structure(list(url = "https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export/", - status_code = 202L, headers = structure(list(date = "Wed, 20 May 2020 23:56:18 GMT", - `content-type` = "application/json;charset=utf-8", `content-length` = "168", - location = "https://player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json?Signature=JKiRtmK3qdFQ5ugLZF1KoQEUu0k%3D&Expires=1590022577&AWSAccessKeyId=AKIA5IDTGVXEZC2N4Y26", - server = "nginx", `content-encoding` = "gzip", vary = "Cookie, Accept-Encoding", - allow = "OPTIONS, POST", `x-timing` = "", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")), all_headers = list(list(status = 202L, version = "HTTP/2", - headers = structure(list(date = "Wed, 20 May 2020 23:56:18 GMT", - `content-type` = "application/json;charset=utf-8", - `content-length` = "168", location = "https://player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json?Signature=JKiRtmK3qdFQ5ugLZF1KoQEUu0k%3D&Expires=1590022577&AWSAccessKeyId=AKIA5IDTGVXEZC2N4Y26", - server = "nginx", `content-encoding` = "gzip", vary = "Cookie, Accept-Encoding", - allow = "OPTIONS, POST", `x-timing` = "", `set-cookie` = "REDACTED"), class = c("insensitive", - "list")))), cookies = structure(list(domain = ".crunch.io", - flag = TRUE, path = "/", secure = FALSE, expiration = structure(1621554978, class = c("POSIXct", - "POSIXt")), name = "token", value = "REDACTED"), row.names = c(NA, - -1L), class = "data.frame"), content = charToRaw("{\"element\": \"shoji:view\", \"self\": \"https://app.crunch.io/api/datasets/e6d1e7/multitables/74b368/export/\", \"value\": \"https://app.crunch.io/api/progress/\"}"), - date = structure(1590018978, class = c("POSIXct", "POSIXt" - ), tzone = "GMT"), times = c(redirect = 0, namelookup = 1.7e-05, - connect = 1.8e-05, pretransfer = 7.3e-05, starttransfer = 7.5e-05, - total = 0.53847)), class = "response") diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/preferences.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/preferences.json deleted file mode 100644 index 470c36d2..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/preferences.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/preferences/", - "body": { - "weight": null - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/summary-73a614.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/summary-73a614.json deleted file mode 100644 index ca1bc51a..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/summary-73a614.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/summary/?filter=%7B%7D", - "value": { - "unweighted": { - "filtered": 20, - "total": 20 - }, - "variables": 10, - "weighted": { - "filtered": 20, - "total": 20 - }, - "columns": 10 - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables-d118fa.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables-d118fa.json deleted file mode 100644 index e12c2db7..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables-d118fa.json +++ /dev/null @@ -1,151 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/?relative=on", - "catalogs": { - "private": "https://app.crunch.io/api/datasets/e6d1e7/variables/private/" - }, - "orders": { - "personal": "https://app.crunch.io/api/datasets/e6d1e7/variables/personal/", - "weights": "https://app.crunch.io/api/datasets/e6d1e7/variables/weights/", - "hier": "https://app.crunch.io/api/datasets/e6d1e7/variables/hier/" - }, - "description": "List of Variables of this dataset", - "index": { - "4D9ueMTv4l7Y73adCnN2Y0000009/": { - "secure": false, - "derived": false, - "rollup_resolution": null, - "id": "4D9ueMTv4l7Y73adCnN2Y0000009", - "description": "", - "name": "Wave", - "resolution": "D", - "notes": "", - "discarded": false, - "alias": "wave", - "hidden": false, - "type": "datetime" - }, - "4D9ueMTv4l7Y73adCnN2Y0000008/": { - "discarded": false, - "alias": "q3", - "secure": false, - "name": "Pet name", - "id": "4D9ueMTv4l7Y73adCnN2Y0000008", - "type": "text", - "notes": "", - "derived": false, - "hidden": false, - "description": "What is your favorite pet's maiden name?" - }, - "4D9ueMTv4l7Y73adCnN2Y0000006/": { - "secure": false, - "derived": false, - "subvariables": [ - "4D9ueMTv4l7Y73adCnN2Y0000006/subvariables/0001/", - "4D9ueMTv4l7Y73adCnN2Y0000006/subvariables/0002/" - ], - "id": "4D9ueMTv4l7Y73adCnN2Y0000006", - "description": "Name the kinds of pets you have at these locations.", - "subvariables_catalog": "4D9ueMTv4l7Y73adCnN2Y0000006/subvariables/", - "scale": "interval", - "name": "Pets by location", - "notes": "", - "discarded": false, - "alias": "petloc", - "hidden": false, - "type": "categorical_array" - }, - "4D9ueMTv4l7Y73adCnN2Y0000007/": { - "secure": false, - "derived": false, - "id": "4D9ueMTv4l7Y73adCnN2Y0000007", - "description": "What is your favorite pet?", - "scale": "interval", - "name": "Pet", - "notes": "", - "discarded": false, - "alias": "q1", - "hidden": false, - "type": "categorical" - }, - "4D9ueMTv4l7Y73adCnN2Y0000005/": { - "discarded": false, - "alias": "ndogs_b", - "secure": false, - "name": "Number of dogs -- Mutts", - "id": "4D9ueMTv4l7Y73adCnN2Y0000005", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "How many dogs do you have?" - }, - "4D9ueMTv4l7Y73adCnN2Y0000004/": { - "discarded": false, - "alias": "ndogs_a", - "secure": false, - "name": "Number of dogs -- With papers", - "id": "4D9ueMTv4l7Y73adCnN2Y0000004", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "How many dogs do you have?" - }, - "4D9ueMTv4l7Y73adCnN2Y0000002/": { - "discarded": false, - "alias": "country", - "secure": false, - "name": "Country", - "id": "4D9ueMTv4l7Y73adCnN2Y0000002", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "4D9ueMTv4l7Y73adCnN2Y0000003/": { - "discarded": false, - "alias": "ndogs", - "secure": false, - "name": "Number of dogs", - "id": "4D9ueMTv4l7Y73adCnN2Y0000003", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "4D9ueMTv4l7Y73adCnN2Y0000001/": { - "discarded": true, - "alias": "caseid", - "secure": false, - "name": "Case ID", - "id": "4D9ueMTv4l7Y73adCnN2Y0000001", - "type": "numeric", - "notes": "", - "derived": false, - "hidden": true, - "description": "" - }, - "4D9ueMTv4l7Y73adCnN2Y0000000/": { - "secure": false, - "derived": false, - "subvariables": [ - "4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0001/", - "4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0002/", - "4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0003/" - ], - "id": "4D9ueMTv4l7Y73adCnN2Y0000000", - "description": "Do you have any of these animals as pets? Please select all that apply.", - "subvariables_catalog": "4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/", - "uniform_basis": false, - "name": "All pets owned", - "notes": "", - "discarded": false, - "alias": "allpets", - "hidden": false, - "type": "multiple_response" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables.json deleted file mode 100644 index d553575e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "element": "shoji:catalog", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/", - "description": "Contains the subvariables for this array variable.", - "index": { - "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0002/": { - "discarded": false, - "alias": "allpets_2", - "secure": false, - "name": "Dog", - "id": "0002", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0003/": { - "discarded": false, - "alias": "allpets_3", - "secure": false, - "name": "Bird", - "id": "0003", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - }, - "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000000/subvariables/0001/": { - "discarded": false, - "alias": "allpets_1", - "secure": false, - "name": "Cat", - "id": "0001", - "type": "categorical", - "notes": "", - "derived": false, - "hidden": false, - "description": "" - } - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003.json deleted file mode 100644 index 502b6515..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "folder": "https://app.crunch.io/api/datasets/e6d1e7/folders/3faea9/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/e6d1e7/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/frequencies/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/summary/", - "values": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values/", - "cast": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "skipped": 1, - "not asked": 2 - }, - "private": false, - "discarded": false, - "alias": "ndogs", - "dataset_id": "e6d1e7", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "4D9ueMTv4l7Y73adCnN2Y0000003", - "categories": [ - - ], - "description": "" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/e6d1e7/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values-3d4982.json deleted file mode 100644 index c4f08e01..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values-3d4982.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000003/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 1.0, - { - "?": 2 - }, - 2.0, - 3.0, - 1.0, - 2.0, - 2.0, - 3.0, - 2.0, - 2.0, - 2.0, - { - "?": -1 - }, - 3.0, - 0.0, - 6.0, - 1.0, - { - "?": 2 - }, - 0.0, - { - "?": 1 - }, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004.json deleted file mode 100644 index 9067eebf..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "folder": "https://app.crunch.io/api/datasets/e6d1e7/folders/aa4f27/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/e6d1e7/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/frequencies/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/summary/", - "values": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values/", - "cast": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs -- With papers", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "ndogs_a", - "dataset_id": "e6d1e7", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "4D9ueMTv4l7Y73adCnN2Y0000004", - "categories": [ - - ], - "description": "How many dogs do you have?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/e6d1e7/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values-3d4982.json deleted file mode 100644 index 29bef82a..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values-3d4982.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000004/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 1.0, - 1.0, - 1.0, - 0.0, - 4.0, - 0.0, - 3.0, - 3.0, - 1.0, - 5.0, - 0.0, - 1.0, - 2.0, - 3.0, - 3.0, - 2.0, - 2.0, - 1.0, - 4.0, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005.json deleted file mode 100644 index 306bbcc3..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "folder": "https://app.crunch.io/api/datasets/e6d1e7/folders/aa4f27/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/e6d1e7/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/frequencies/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/summary/", - "values": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values/", - "cast": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/cast/" - }, - "body": { - "secure": false, - "name": "Number of dogs -- Mutts", - "format": { - "data": { - "digits": 2 - }, - "summary": { - "digits": 2 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "ndogs_b", - "dataset_id": "e6d1e7", - "owner": null, - "hidden": false, - "view": { - "column_width": null - }, - "type": "numeric", - "id": "4D9ueMTv4l7Y73adCnN2Y0000005", - "categories": [ - - ], - "description": "How many dogs do you have?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/e6d1e7/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values-3d4982.json deleted file mode 100644 index 866eece7..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values-3d4982.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000005/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - 0.0, - 2.0, - 2.0, - { - "?": -1 - }, - { - "?": -1 - }, - 3.0, - 1.0, - { - "?": -1 - }, - 1.0, - { - "?": -1 - }, - 0.0, - { - "?": -1 - }, - { - "?": -1 - }, - { - "?": -1 - }, - 2.0, - 1.0, - 3.0, - { - "?": -1 - }, - 2.0, - 2.0 - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008.json deleted file mode 100644 index 62495dea..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "folder": "https://app.crunch.io/api/datasets/e6d1e7/folders/490357/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/e6d1e7/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/frequencies/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/summary/", - "values": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values/", - "cast": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/cast/" - }, - "body": { - "secure": false, - "name": "Pet name", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1, - "Not asked": 1 - }, - "private": false, - "discarded": false, - "alias": "q3", - "dataset_id": "e6d1e7", - "owner": null, - "hidden": false, - "view": { - "show_counts": true, - "column_width": null - }, - "type": "text", - "id": "4D9ueMTv4l7Y73adCnN2Y0000008", - "categories": [ - - ], - "description": "What is your favorite pet's maiden name?" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/e6d1e7/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values-641ef3.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values-641ef3.json deleted file mode 100644 index e6dbd764..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values-641ef3.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000008/values/?filter=%7B%7D&offset=0&limit=5000", - "value": [ - "Jasmine", - "Clyde", - "Geoffrey", - "Spike", - "Zeus", - "Teddy", - "Ali", - "Hugo", - "Snoopy", - "Lady", - "Biscuit", - { - "?": 1 - }, - "Daisy", - "Doug", - { - "?": 1 - }, - "Fluffy", - { - "?": 1 - }, - { - "?": 1 - }, - "Felix", - "Rocky" - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009.json deleted file mode 100644 index 7a0c3077..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "element": "shoji:entity", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/", - "catalogs": { - "parent": "https://app.crunch.io/api/datasets/e6d1e7/variables/", - "folder": "https://app.crunch.io/api/datasets/e6d1e7/folders/e1748d/" - }, - "fragments": { - "missing_rules": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/missing_rules/", - "user_settings": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/user_settings/", - "dataset": "https://app.crunch.io/api/datasets/e6d1e7/" - }, - "views": { - "frequencies": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/frequencies/", - "summary": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/summary/", - "values": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values/", - "cast": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/cast/" - }, - "body": { - "secure": false, - "name": "Wave", - "format": { - "data": "%Y-%m-%d", - "summary": "%Y-%m-%d" - }, - "resolution": "D", - "notes": "", - "derived": false, - "missing_reasons": { - "No Data": -1 - }, - "private": false, - "discarded": false, - "alias": "wave", - "rollup_resolution": null, - "dataset_id": "e6d1e7", - "owner": null, - "hidden": false, - "view": { - "rollup_resolution": null, - "column_width": null - }, - "type": "datetime", - "id": "4D9ueMTv4l7Y73adCnN2Y0000009", - "categories": [ - - ], - "description": "" - }, - "description": "Details for a given Variable", - "urls": { - "dataset_url": "https://app.crunch.io/api/datasets/e6d1e7/" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values-3d4982.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values-3d4982.json deleted file mode 100644 index dfd8089e..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values-3d4982.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/4D9ueMTv4l7Y73adCnN2Y0000009/values/?filter=%7B%7D&offset=0&limit=100000", - "value": [ - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2014-12-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01", - "2015-01-01" - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/hier-d118fa.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/hier-d118fa.json deleted file mode 100644 index 8683b483..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/hier-d118fa.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "element": "shoji:order", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/hier/?relative=on", - "description": "Hierarchical order from folder structure of dataset variables", - "graph": [ - { - "Key Pet Indicators": [ - "../4D9ueMTv4l7Y73adCnN2Y0000000/", - "../4D9ueMTv4l7Y73adCnN2Y0000007/", - "../4D9ueMTv4l7Y73adCnN2Y0000006/" - ] - }, - { - "Dog Metrics": [ - "../4D9ueMTv4l7Y73adCnN2Y0000003/", - { - "Number of dogs by type": [ - "../4D9ueMTv4l7Y73adCnN2Y0000004/", - "../4D9ueMTv4l7Y73adCnN2Y0000005/" - ] - } - ] - }, - { - "Details": [ - "../4D9ueMTv4l7Y73adCnN2Y0000008/" - ] - }, - { - "Dimensions": [ - "../4D9ueMTv4l7Y73adCnN2Y0000002/", - "../4D9ueMTv4l7Y73adCnN2Y0000009/" - ] - }, - { - "__hidden__": [ - "../4D9ueMTv4l7Y73adCnN2Y0000001/" - ] - } - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/weights.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/weights.json deleted file mode 100644 index 008bebf1..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/datasets/e6d1e7/variables/weights.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "element": "shoji:order", - "self": "https://app.crunch.io/api/datasets/e6d1e7/variables/weights/", - "description": "Order of the weight variables for this dataset", - "graph": [ - - ] -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/progress.json b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/progress.json deleted file mode 100644 index 18392773..00000000 --- a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/progress.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "element": "shoji:view", - "self": "https://app.crunch.io/api/progress/", - "views": { - "result": "https://app.crunch.io/api/progress/result/" - }, - "value": { - "progress": 100, - "message": "complete" - } -} diff --git a/tests/testthat/fixtures-1-2-5/app.crunch.io/api/public/login-POST.204 b/tests/testthat/fixtures-1-2-5/app.crunch.io/api/public/login-POST.204 deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-5b3024.json b/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-5b3024.json deleted file mode 100644 index ecd6d079..00000000 --- a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-5b3024.json +++ /dev/null @@ -1,4259 +0,0 @@ -{ - "meta": { - "multitable_id": "7da879", - "user_id": "0740cc", - "doc_layout": { - "toc": false, - "variable_sheets": "many_sheets", - "measure_sheets": "wide" - }, - "dataset": { - "name": "Example dataset", - "notes": "", - "min_base_size": { - "suppress": true, - "size": 0 - }, - "population_size": null, - "dataset_id": "6b2eb5", - "description": "A dataset to illustrate the API" - }, - "template": [ - { - "query": [ - { - "each": "22dOpNBlKMRBmwvFfv087O000000" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "22dOpNBlKMRBmwvFfv087O000000" - } - ] - } - ] - } - ], - "analyses": [ - { - "name": "All pets owned", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pet", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pets by location", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Number of dogs", - "weight": null, - "title": "Number of dogs", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- With papers", - "weight": null, - "title": "Number of dogs -- With papers", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- Mutts", - "weight": null, - "title": "Number of dogs -- Mutts", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Country", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 6, - 4, - 3, - 3, - 4, - 0 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 6, - 4, - 3, - 3, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 10, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ], - "n_missing": 2, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 2.0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 2.0, - 1.75, - 2.1111111111, - 3.0, - 2.0, - 1.7272727273, - 3.0, - 1.75, - 1.7777777778 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.95 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.5, - 2.5, - 1.9166666667, - 1.8, - 2.0, - 2.0, - 2.2, - 1.0, - 2.4444444444 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.5833333333 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.3333333333, - 0.6666666667, - 2.1666666667, - 1.75, - 1.6666666667, - 1.4, - 1.5, - 2.0, - 1.25 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 4, - 4, - 4, - 0 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 4, - 4, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - } - ] -} diff --git a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-66ae09.json b/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-66ae09.json deleted file mode 100644 index ecd6d079..00000000 --- a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3A6b2eb5%249a4e74/Example_dataset.json-66ae09.json +++ /dev/null @@ -1,4259 +0,0 @@ -{ - "meta": { - "multitable_id": "7da879", - "user_id": "0740cc", - "doc_layout": { - "toc": false, - "variable_sheets": "many_sheets", - "measure_sheets": "wide" - }, - "dataset": { - "name": "Example dataset", - "notes": "", - "min_base_size": { - "suppress": true, - "size": 0 - }, - "population_size": null, - "dataset_id": "6b2eb5", - "description": "A dataset to illustrate the API" - }, - "template": [ - { - "query": [ - { - "each": "22dOpNBlKMRBmwvFfv087O000000" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "22dOpNBlKMRBmwvFfv087O000000" - } - ] - } - ] - } - ], - "analyses": [ - { - "name": "All pets owned", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pet", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pets by location", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Number of dogs", - "weight": null, - "title": "Number of dogs", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- With papers", - "weight": null, - "title": "Number of dogs -- With papers", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- Mutts", - "weight": null, - "title": "Number of dogs -- Mutts", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Country", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 6, - 4, - 3, - 3, - 4, - 0 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 6, - 4, - 3, - 3, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 10, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ], - "n_missing": 2, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 2.0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 2.0, - 1.75, - 2.1111111111, - 3.0, - 2.0, - 1.7272727273, - 3.0, - 1.75, - 1.7777777778 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.95 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.5, - 2.5, - 1.9166666667, - 1.8, - 2.0, - 2.0, - 2.2, - 1.0, - 2.4444444444 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.5833333333 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.3333333333, - 0.6666666667, - 2.1666666667, - 1.75, - 1.6666666667, - 1.4, - 1.5, - 2.0, - 1.25 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 4, - 4, - 4, - 0 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 4, - 4, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - } - ] -} diff --git a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-49403e.json b/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-49403e.json deleted file mode 100644 index b683b4b2..00000000 --- a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-49403e.json +++ /dev/null @@ -1,4259 +0,0 @@ -{ - "meta": { - "multitable_id": "74b368", - "user_id": "0740cc", - "doc_layout": { - "toc": false, - "variable_sheets": "many_sheets", - "measure_sheets": "wide" - }, - "dataset": { - "name": "Example dataset", - "notes": "", - "min_base_size": { - "suppress": true, - "size": 0 - }, - "population_size": null, - "dataset_id": "e6d1e7", - "description": "A dataset to illustrate the API" - }, - "template": [ - { - "query": [ - { - "each": "4D9ueMTv4l7Y73adCnN2Y0000000" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "4D9ueMTv4l7Y73adCnN2Y0000000" - } - ] - } - ] - } - ], - "analyses": [ - { - "name": "All pets owned", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pet", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pets by location", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Number of dogs", - "weight": null, - "title": "Number of dogs", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- With papers", - "weight": null, - "title": "Number of dogs -- With papers", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- Mutts", - "weight": null, - "title": "Number of dogs -- Mutts", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Country", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 6, - 4, - 3, - 3, - 4, - 0 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 6, - 4, - 3, - 3, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 10, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ], - "n_missing": 2, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 2.0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 2.0, - 1.75, - 2.1111111111, - 3.0, - 2.0, - 1.7272727273, - 3.0, - 1.75, - 1.7777777778 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.95 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.5, - 2.5, - 1.9166666667, - 1.8, - 2.0, - 2.0, - 2.2, - 1.0, - 2.4444444444 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.5833333333 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.3333333333, - 0.6666666667, - 2.1666666667, - 1.75, - 1.6666666667, - 1.4, - 1.5, - 2.0, - 1.25 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 4, - 4, - 4, - 0 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 4, - 4, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - } - ] -} diff --git a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-780fb0.json b/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-780fb0.json deleted file mode 100644 index b683b4b2..00000000 --- a/tests/testthat/fixtures-1-2-5/player-crunch-io.s3.amazonaws.com/export/tabbooks/export_tabbook%3Ae6d1e7%2464b67a/Example_dataset.json-780fb0.json +++ /dev/null @@ -1,4259 +0,0 @@ -{ - "meta": { - "multitable_id": "74b368", - "user_id": "0740cc", - "doc_layout": { - "toc": false, - "variable_sheets": "many_sheets", - "measure_sheets": "wide" - }, - "dataset": { - "name": "Example dataset", - "notes": "", - "min_base_size": { - "suppress": true, - "size": 0 - }, - "population_size": null, - "dataset_id": "e6d1e7", - "description": "A dataset to illustrate the API" - }, - "template": [ - { - "query": [ - { - "each": "4D9ueMTv4l7Y73adCnN2Y0000000" - }, - { - "function": "as_selected", - "args": [ - { - "variable": "4D9ueMTv4l7Y73adCnN2Y0000000" - } - ] - } - ] - } - ], - "analyses": [ - { - "name": "All pets owned", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pet", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Pets by location", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - }, - { - "name": "Number of dogs", - "weight": null, - "title": "Number of dogs", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- With papers", - "weight": null, - "title": "Number of dogs -- With papers", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Number of dogs -- Mutts", - "weight": null, - "title": "Number of dogs -- Mutts", - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null - }, - { - "name": "Country", - "weight": null, - "title": null, - "format": { - "show_empty": false, - "decimal_places": 0, - "pval_colors": false - }, - "measures": [ - "col_percent" - ], - "page_layout": { - "rows": { - "alias": false, - "notes": false, - "description": true, - "bottom": [ - - ] - }, - "columns": { - "alias": false, - "notes": false, - "right": [ - - ], - "description": false, - "merge_ranges": true - } - }, - "filters": null, - "notes": "" - } - ] - }, - "sheets": [ - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 0, - 0, - 0, - 0, - 4, - 1, - 0, - 3, - 0, - 4, - 0, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 12, - 4, - 2, - 6, - 3, - 5, - 4, - 0, - 1, - 4, - 5, - 0, - 0, - 3, - 1, - 1, - 0, - 1, - 2, - 0, - 3, - 0, - 1, - 1, - 1, - 4, - 2, - 6, - 0, - 0, - 12, - 1, - 4, - 7, - 1, - 1, - 3, - 3, - 1, - 1, - 5, - 0, - 0, - 0, - 1, - 5, - 1, - 1, - 4, - 0, - 6, - 0, - 3, - 2, - 4, - 1, - 1, - 7, - 0, - 0, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 6, - 4, - 3, - 3, - 4, - 0 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 6, - 4, - 3, - 3, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "What is your favorite pet?", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Pet", - "alias": "q1", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 10, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 0, - 6, - 2, - 2, - 2, - 2, - 3, - 1, - 1, - 1, - 2, - 1, - 0, - 3, - 1, - 0, - 3, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 0, - 2, - 1, - 1, - 1, - 0, - 0, - 3, - 0, - 2, - 1, - 1, - 2, - 1, - 1, - 1, - 2, - 1, - 1, - 2, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ], - "n_missing": 2, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 5, - 3, - 3, - 4, - 5, - 0, - 6, - 4, - 6, - 3, - 1, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - }, - "name": "Pets by location" - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "petloc_home", - "name": "Home" - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "petloc_work", - "name": "Work" - }, - "id": "0002" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "references": { - "uniform_basis": false, - "description": "Name the kinds of pets you have at these locations.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "petloc_home", - "name": "Home" - }, - { - "alias": "petloc_work", - "name": "Work" - } - ], - "notes": "", - "name": "Pets by location", - "alias": "petloc", - "view": { - "show_counts": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "missing": false, - "id": 1, - "name": "Cat" - }, - { - "numeric_value": 2, - "missing": false, - "id": 2, - "name": "Dog" - }, - { - "numeric_value": 3, - "missing": false, - "id": 3, - "name": "Bird" - }, - { - "numeric_value": 8, - "missing": true, - "id": 8, - "name": "Skipped" - }, - { - "numeric_value": 9, - "missing": true, - "id": 9, - "name": "Not Asked" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 0, - 1, - 4, - 1, - 2, - 2, - 2, - 0, - 3, - 0, - 0, - 3, - 3, - 0, - 0, - 1, - 1, - 1, - 0, - 1, - 2, - 1, - 1, - 1, - 1, - 2, - 0, - 2, - 1, - 1, - 0, - 0, - 4, - 1, - 1, - 2, - 2, - 1, - 2, - 0, - 0, - 5, - 0, - 2, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 1, - 1, - 4, - 1, - 0, - 5, - 2, - 2, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 1, - 2, - 1, - 2, - 3, - 2, - 1, - 3, - 1, - 3, - 2, - 0, - 0, - 3, - 1, - 1, - 1, - 1, - 0, - 2, - 1, - 0, - 0, - 0, - 0, - 1, - 0, - 0, - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 2.0 - ], - "n_missing": 4, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 2.0, - 1.75, - 2.1111111111, - 3.0, - 2.0, - 1.7272727273, - 3.0, - 1.75, - 1.7777777778 - ], - "n_missing": 7, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.95 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.5, - 2.5, - 1.9166666667, - 1.8, - 2.0, - 2.0, - 2.2, - 1.0, - 2.4444444444 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - - ], - "measures": { - "mean": { - "data": [ - 1.5833333333 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 20 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "mean": { - "data": [ - 1.3333333333, - 0.6666666667, - 2.1666666667, - 1.75, - 1.6666666667, - 1.4, - 1.5, - 2.0, - 1.25 - ], - "n_missing": 8, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 12, - 5, - 3, - 12, - 5, - 6, - 9 - ] - } - } - ] - }, - { - "result": [ - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 4, - 4, - 4, - 4, - 4, - 0 - ], - "n_missing": 0, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 4, - 4, - 4, - 4, - 4, - 0 - ] - } - }, - { - "result": { - "dimensions": [ - { - "references": { - "description": "", - "format": { - "summary": { - "digits": 0 - } - }, - "notes": "", - "name": "Country", - "alias": "country", - "view": { - "show_counts": false, - "show_numeric_values": false, - "include_missing": false, - "column_width": null - } - }, - "derived": false, - "type": { - "ordinal": false, - "class": "categorical", - "categories": [ - { - "numeric_value": null, - "missing": false, - "id": 1, - "name": "Argentina" - }, - { - "numeric_value": null, - "missing": false, - "id": 2, - "name": "Australia" - }, - { - "numeric_value": null, - "missing": false, - "id": 3, - "name": "Austria" - }, - { - "numeric_value": null, - "missing": false, - "id": 4, - "name": "Belgium" - }, - { - "numeric_value": null, - "missing": false, - "id": 5, - "name": "Brazil" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - }, - { - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "name": "All pets owned", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "derived": true, - "type": { - "subtype": { - "class": "variable" - }, - "elements": [ - { - "id": 1, - "value": { - "derived": false, - "references": { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0001" - }, - "missing": false - }, - { - "id": 2, - "value": { - "derived": false, - "references": { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0002" - }, - "missing": false - }, - { - "id": 3, - "value": { - "derived": false, - "references": { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - "id": "0003" - }, - "missing": false - } - ], - "class": "enum" - } - }, - { - "derived": true, - "references": { - "uniform_basis": false, - "description": "Do you have any of these animals as pets? Please select all that apply.", - "format": { - "summary": { - "digits": 0 - } - }, - "subreferences": [ - { - "alias": "allpets_1", - "name": "Cat", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_2", - "name": "Dog", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - }, - { - "alias": "allpets_3", - "name": "Bird", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - } - } - ], - "notes": "", - "alias": "allpets", - "view": { - "show_counts": false, - "include_noneoftheabove": false, - "include_missing": false, - "column_width": null - }, - "name": "All pets owned" - }, - "type": { - "ordinal": false, - "subvariables": [ - "0001", - "0002", - "0003" - ], - "class": "categorical", - "categories": [ - { - "numeric_value": 1, - "selected": true, - "id": 1, - "missing": false, - "name": "Selected" - }, - { - "numeric_value": 0, - "missing": false, - "id": 0, - "name": "Other" - }, - { - "numeric_value": null, - "missing": true, - "id": -1, - "name": "No Data" - } - ] - } - } - ], - "measures": { - "count": { - "data": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "n_missing": 3, - "metadata": { - "references": { - - }, - "derived": true, - "type": { - "integer": true, - "missing_rules": { - - }, - "missing_reasons": { - "No Data": -1 - }, - "class": "numeric" - } - } - } - }, - "n": 20, - "filter_stats": { - "filtered_complete": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - }, - "filtered": { - "unweighted": { - "selected": 20, - "other": 0, - "missing": 0 - }, - "weighted": { - "selected": 20, - "other": 0, - "missing": 0 - } - } - }, - "unfiltered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "filtered": { - "unweighted_n": 20, - "weighted_n": 20 - }, - "counts": [ - 1, - 2, - 1, - 1, - 0, - 3, - 1, - 2, - 1, - 0, - 1, - 3, - 2, - 2, - 0, - 1, - 2, - 1, - 1, - 0, - 3, - 0, - 0, - 4, - 0, - 2, - 2, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 0, - 1, - 3, - 2, - 0, - 2, - 1, - 0, - 3, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] - } - } - ] - } - ] -} diff --git a/tests/testthat/fixtures/buildFixtures-1-2-5.R b/tests/testthat/fixtures/buildFixtures-1-2-5.R index 84ce442c..eb11e98d 100644 --- a/tests/testthat/fixtures/buildFixtures-1-2-5.R +++ b/tests/testthat/fixtures/buildFixtures-1-2-5.R @@ -3,15 +3,16 @@ library(httptest) # We build two sets of exmaples. Unweighted and weighted -login() + # Assumes your wd is project dir rm(list = ls()) -ds <- newExampleDataset() + +# ds <- newExampleDataset() httpcache::clearCache() start_capturing("tests/testthat/fixtures-1-2-5") - +login() ds <- loadDataset("Example dataset") # Unweighted ---- @@ -21,12 +22,19 @@ ct_banner <- banner( vars = list(`banner 1` = 'allpets') ) -# For codebookItemTxt -codebookItemTxt(ds$q1) -codebookItemTxt(ds$allpets) -codebookItemTxt(ds$ndogs) -codebookItemTxt(ds$wave) -codebookItemTxt(ds$q3) +# For codeBookItemTxt + +codeBookItemTxt(ds$q1) +codeBookItemTxt(ds$allpets) +codeBookItemTxt(ds$ndogs) +codeBookItemTxt(ds$wave) +codeBookItemTxt(ds$q3) + +codeBookSummary(ds$q1) +codeBookSummary(ds$allpets) +codeBookSummary(ds$ndogs) +codeBookSummary(ds$wave) +codeBookSummary(ds$q3) topline_unweighted <- crosstabs( ds, diff --git a/tests/testthat/test-codebookitem.R b/tests/testthat/test-codebookitem.R new file mode 100644 index 00000000..f4057d2d --- /dev/null +++ b/tests/testthat/test-codebookitem.R @@ -0,0 +1,18 @@ +# Expects wd to be tests/testthat + +context("codebookItemTxt") + +with_api_fixture("fixtures-1-2-5", { + ds = crunch::loadDataset("Example dataset") + + test_that("codebookItemTxT returns as expected", { + res = codebookItemTxt(ds$q1) + dput(res) + }) +}) + +with_api_fixture("fixtures-1-2-5", { + + ds <- crunch::loadDataset("Example dataset") + } +) diff --git a/tests/testthat/test-codebookitemtxt.R b/tests/testthat/test-codebookitemtxt.R new file mode 100644 index 00000000..4390a3e8 --- /dev/null +++ b/tests/testthat/test-codebookitemtxt.R @@ -0,0 +1,26 @@ +context("codebookItemTxt") + +crunchtabs:::with_api_fixture("fixtures-1-2-5", { + ds = loadDataset("Example dataset") + + test_that("categorical", { + r = codebookItem(ds$country) + expect_equal(r, "\\begin{tabularx}{\\textwidth}{lXXr} \n[q1] & & & Pet \\\\ \n\\end{tabularx}\n\n\\begin{tabularx}{\\textwidth}{lXXr} \n& What is your favorite pet? & & & \\\\ \n\\end{tabularx}) \n\n\\begin{tabularx}{\\textwidth}{llcXrr} \n& 1 & Cat & \\dotfill & 6 & \\ \n& 2 & Dog & \\dotfill & 4 & \\ \n& 3 & Bird & \\dotfill & 3 & \\ \n& 8 & Skipped & \\dotfill & 3 & \\ \n& 9 & Not Asked & \\dotfill & 4 & \\ \n\\end{tabularx}") + + }) + test_that("numeric", { + r = suppressWarnings(codebookItemTxt(ds$ndogs)) + expect_equal(r, "\\begin{tabularx}{\\textwidth}{lXXr} \n[ndogs] & & & Number of dogs \\\\ \n\\end{tabularx}\n\n\\begin{tabularx}{\\textwidth}{lXXr} \n& & & & \\\\ \n\\end{tabularx}) \n\n") + }) + + test_that("Missing description causes warning", { + expect_warning(codebookItemTxt(ds$ndogs), "ndogs is missing a description") + }) + + test_that("multiple_response", { + r = codebookItemTxt(ds$allpets) + expect_equal( + r, + "\\begin{tabularx}{\\textwidth}{lXXr} \n[allpets] & & & All pets owned \\\\ \n\\end{tabularx}\n\n\\begin{tabularx}{\\textwidth}{lXXr} \n& Do you have any of these animals as pets? Please select all that apply. & & & \\\\ \n\\end{tabularx}) \n\n") + }) +})