{
  "_id": "6a57393dff0138dec5d6f54d",
  "Package": "discursive",
  "Title": "Measuring Discursive Sophistication in Open-Ended Survey\nResponses",
  "Version": "0.1.1.9000",
  "Authors@R": "person(\"Patrick\", \"Kraft\", , \"kraft.pw@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-0123-221X\"))",
  "Description": "A simple approach to measure political sophistication\nbased on open-ended survey responses. Discursive sophistication\ncaptures the complexity of individual attitude expression by\nquantifying its relative size, range, and constraint. For more\ninformation on the measurement approach see: Kraft, Patrick W.\n2023. \"Women Also Know Stuff: Challenging the Gender Gap in\nPolitical Sophistication.\" American Political Science Review\n(forthcoming).",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://pwkraft.r-universe.dev",
  "Date/Publication": "2023-07-04 08:08:21 UTC",
  "RemoteUrl": "https://github.com/pwkraft/discursive",
  "RemoteRef": "HEAD",
  "RemoteSha": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-15 07:35:10 UTC",
    "User": "root"
  },
  "Author": "Patrick Kraft [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-0123-221X>)",
  "Maintainer": "Patrick Kraft <kraft.pw@gmail.com>",
  "_user": "pwkraft",
  "_type": "src",
  "_file": "discursive_0.1.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/fc649b03d3b2b11b6fd33732ebfb992c9d2e4185fe6f76adb4baff772d5bf8ec",
  "_filesize": 276704,
  "_sha256": "fc649b03d3b2b11b6fd33732ebfb992c9d2e4185fe6f76adb4baff772d5bf8ec",
  "_expires": "2026-10-23T07:39:40.000Z",
  "_created": "2026-07-15T07:35:10.000Z",
  "_published": "2026-07-15T07:39:41.673Z",
  "_jobs": [
    {
      "job": 87295338382,
      "time": 190,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8335900537"
    },
    {
      "job": 87295338333,
      "time": 189,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8335899587"
    },
    {
      "job": 87295338317,
      "time": 193,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8335889795"
    },
    {
      "job": 87295338307,
      "time": 229,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8335903188"
    },
    {
      "job": 87294692009,
      "time": 221,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8335829701"
    },
    {
      "job": 87295338313,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8335873667"
    },
    {
      "job": 87295338378,
      "time": 130,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8335878589"
    },
    {
      "job": 87295338392,
      "time": 139,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8335882258"
    },
    {
      "job": 87295338423,
      "time": 146,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8335884682"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430",
  "_status": "success",
  "_upstream": "https://github.com/pwkraft/discursive",
  "_commit": {
    "id": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
    "author": "Patrick Kraft <kraft.pw@gmail.com>",
    "committer": "Patrick Kraft <kraft.pw@gmail.com>",
    "message": "Increment version number to 0.1.1.9000\n",
    "time": 1688458101
  },
  "_maintainer": {
    "name": "Patrick Kraft",
    "email": "kraft.pw@gmail.com",
    "login": "pwkraft",
    "orcid": "0000-0003-0123-221X",
    "description": "Ramón y Cajal Research Fellow in political science at the Institute of Public Goods and Policies (IPP-CSIC) ",
    "uuid": 6454672
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "SnowballC",
      "role": "Imports"
    },
    {
      "package": "stm",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tm",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "pwkraft",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "pwkraft",
      "count": 36,
      "uuid": 6454672
    }
  ],
  "_userbio": {
    "uuid": 6454672,
    "type": "user",
    "name": "Patrick Kraft",
    "followers": 61,
    "description": "Ramón y Cajal Research Fellow in political science at the Institute of Public Goods and Policies (IPP-CSIC) "
  },
  "_downloads": {
    "count": 229,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/discursive"
  },
  "_devurl": "https://github.com/pwkraft/discursive",
  "_searchresults": 6,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/discursive.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/pwkraft/discursive",
  "_realowner": "pwkraft",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-06-11"
    }
  ],
  "_exports": [
    "discursive",
    "discursive_combine",
    "discursive_constraint",
    "discursive_range",
    "discursive_size",
    "ntopics"
  ],
  "_datasets": [
    {
      "name": "cces",
      "title": "Cooperative Congressional Election Study 2018",
      "object": "cces",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "age",
        "female",
        "educ_cont",
        "pid_cont",
        "educ_pid",
        "oe01",
        "oe02",
        "oe03",
        "oe04",
        "oe05",
        "oe06",
        "oe07",
        "oe08",
        "oe09",
        "oe10"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    },
    {
      "name": "dict_sample",
      "title": "Constraint Dictionary",
      "object": "dict_sample",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cces",
      "title": "Cooperative Congressional Election Study 2018",
      "topics": [
        "cces"
      ]
    },
    {
      "page": "dict_sample",
      "title": "Constraint Dictionary",
      "topics": [
        "dict_sample"
      ]
    },
    {
      "page": "discursive",
      "title": "Compute discursive sophistication for a set of open-ended responses",
      "topics": [
        "discursive"
      ]
    },
    {
      "page": "discursive_combine",
      "title": "Combine three components of discursive sophistication in a single scale",
      "topics": [
        "discursive_combine"
      ]
    },
    {
      "page": "discursive_constraint",
      "title": "Compute the constraint component of discursive sophistication",
      "topics": [
        "discursive_constraint"
      ]
    },
    {
      "page": "discursive_range",
      "title": "Compute the range component of discursive sophistication",
      "topics": [
        "discursive_range"
      ]
    },
    {
      "page": "discursive_size",
      "title": "Compute the size component of discursive sophistication",
      "topics": [
        "discursive_size"
      ]
    },
    {
      "page": "ntopics",
      "title": "Compute number of topics based on stm results",
      "topics": [
        "ntopics"
      ]
    },
    {
      "page": "oe_shannon",
      "title": "Compute Shannon entropy",
      "topics": [
        "oe_shannon"
      ]
    }
  ],
  "_readme": "https://github.com/pwkraft/discursive/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "cli",
    "codetools",
    "data.table",
    "fastmatch",
    "foreach",
    "glmnet",
    "glue",
    "ISOcodes",
    "iterators",
    "jsonlite",
    "lattice",
    "lda",
    "lifecycle",
    "magrittr",
    "Matrix",
    "matrixStats",
    "NLP",
    "quadprog",
    "quanteda",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "shape",
    "slam",
    "SnowballC",
    "stm",
    "stopwords",
    "stringi",
    "stringr",
    "survival",
    "tm",
    "vctrs",
    "xml2",
    "yaml"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "discursive",
  "_universes": [
    "pwkraft"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:37:44.000Z",
      "distro": "resolute",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/c22336d62a9af976f6bc4e1e50d7cbfe1995532d0241caf9a2f7171c4eca614a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:37:43.000Z",
      "distro": "resolute",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/1ae71c1b0a6777a2a8997f0f41f42bd813de2af06569a4de2b0b411131eb7099",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:37:33.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/cbda10776089c514a07083af4b24eff3b82e651a2f107d967bafefbb7863cd26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:37:52.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/5279deb3095e2aee08c385306dcb57e01c795193c9918b10935cd6e1926310dc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:37:27.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/7b0a24ea42d7ccec53399f0362c0382d339bb0b199c4ad6364f0fbaa4c3213ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:36:33.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/f9d64a2ce49aa5af4fbecb16cabb05aed1023041491125e1cd844ce1dc92d8f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:36:39.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/3bd43edd9cb7537f0429f217e7a8728a1c0dc3917276dc1f563af3575dff6719",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-07-15T07:36:47.000Z",
      "commit": "d96eefbef9dfac78fe1b456a31ce00ebe6b9863b",
      "fileid": "https://r2.ropensci.org/06f4c6e0ddbc1c97d7674fc0d5e66021d5462be25cad61b4a9c1fc0062575802",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pwkraft/actions/runs/29397631430"
    }
  ]
}