{
  "_id": "6a21b00acd65a98ecbd39208",
  "Package": "cat.pol",
  "Title": "Political Document Classification with LLMs",
  "Version": "0.1.2",
  "Authors@R": "person(\"Chris\", \"Soria\", role = c(\"aut\", \"cre\"),\nemail = \"chrissoria@berkeley.edu\")",
  "Description": "R interface to the Python catpol package. Classifies,\nextracts, explores, and summarizes political and policy\ndocuments using LLMs. A thin domain wrapper around cat.stack\nthat adds a registered-source fetcher (city ordinances, federal\nlaws, executive orders, presidential speeches, social media)\nand policy-document prompt framing.",
  "License": "GPL (>= 3)",
  "URL": "https://christophersoria.com/cat-llm/cat.pol/,\nhttps://github.com/chrissoria/cat-llm",
  "BugReports": "https://github.com/chrissoria/cat-llm/issues",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "SystemRequirements": "Python (>= 3.9), pip",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "libpng-dev python3",
  "Repository": "https://chrissoria.r-universe.dev",
  "Date/Publication": "2026-06-04 16:16:50 UTC",
  "RemoteUrl": "https://github.com/chrissoria/cat-llm",
  "RemoteRef": "main",
  "RemoteSha": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
  "RemoteSubdir": "r-package/cat.pol",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 16:59:26 UTC",
    "User": "root"
  },
  "Author": "Chris Soria [aut, cre]",
  "Maintainer": "Chris Soria <chrissoria@berkeley.edu>",
  "MD5sum": "680015761f5e8f54f5b5c93839aacb2b",
  "_user": "chrissoria",
  "_type": "src",
  "_file": "cat.pol_0.1.2.tar.gz",
  "_fileid": "6bc090ebe8a72fd52831450ab13623b49f522cf101d3db2384847359d78c07a9",
  "_filesize": 116426,
  "_sha256": "6bc090ebe8a72fd52831450ab13623b49f522cf101d3db2384847359d78c07a9",
  "_created": "2026-06-04T16:59:26.000Z",
  "_published": "2026-06-04T17:04:10.578Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79571349477,
      "time": 197,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7417874579"
    },
    {
      "job": 79571349525,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417846430"
    },
    {
      "job": 79571349564,
      "time": 99,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7417893413"
    },
    {
      "job": 79571349512,
      "time": 99,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417866760"
    },
    {
      "job": 79570826914,
      "time": 170,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417799780"
    },
    {
      "job": 79571349453,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417859055"
    },
    {
      "job": 79571349553,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7417826284"
    },
    {
      "job": 79571349475,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7417826690"
    },
    {
      "job": 79571349492,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7417841391"
    }
  ],
  "_buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/chrissoria/cat-llm",
  "_commit": {
    "id": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
    "author": "Christopher Soria <chrissoria@berkeley.edu>",
    "committer": "Christopher Soria <chrissoria@berkeley.edu>",
    "message": "docs: document cat-stack 1.6.5 Ollama timeout behavior\n\nAdds a 'HTTP timeouts on local Ollama runs' subsection under Testing,\nexplaining the new provider-conditional defaults (120s cloud / 600s\nOllama) and how to override per-client or process-wide. Docs-only;\nno code change in cat-llm.\n\nCo-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>\n",
    "time": 1780589810
  },
  "_maintainer": {
    "name": "Chris Soria",
    "email": "chrissoria@berkeley.edu",
    "login": "chrissoria",
    "linkedin": "in/christopher-soria-9340931a",
    "description": "UC Berkeley Demography",
    "uuid": 15951118
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "reticulate",
      "version": ">= 1.28",
      "role": "Imports"
    },
    {
      "package": "cat.stack",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "chrissoria",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-23",
      "n": 16
    },
    {
      "week": "2025-26",
      "n": 1
    },
    {
      "week": "2025-32",
      "n": 2
    },
    {
      "week": "2025-38",
      "n": 6
    },
    {
      "week": "2025-40",
      "n": 1
    },
    {
      "week": "2025-41",
      "n": 3
    },
    {
      "week": "2025-42",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 18
    },
    {
      "week": "2025-44",
      "n": 1
    },
    {
      "week": "2025-45",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-50",
      "n": 9
    },
    {
      "week": "2026-01",
      "n": 26
    },
    {
      "week": "2026-02",
      "n": 9
    },
    {
      "week": "2026-03",
      "n": 4
    },
    {
      "week": "2026-05",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 6
    },
    {
      "week": "2026-07",
      "n": 15
    },
    {
      "week": "2026-08",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 7
    },
    {
      "week": "2026-10",
      "n": 18
    },
    {
      "week": "2026-11",
      "n": 11
    },
    {
      "week": "2026-12",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 5
    },
    {
      "week": "2026-14",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 7
    },
    {
      "week": "2026-20",
      "n": 47
    },
    {
      "week": "2026-21",
      "n": 19
    },
    {
      "week": "2026-23",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v2.0.0",
      "date": "2026-01-17"
    },
    {
      "name": "v2.7.0",
      "date": "2026-03-07"
    },
    {
      "name": "v3.1.2",
      "date": "2026-06-03"
    }
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "chrissoria",
      "count": 261,
      "uuid": 15951118
    },
    {
      "user": "claude",
      "count": 9,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 15951118,
    "type": "user",
    "name": "Chris Soria ",
    "description": "UC Berkeley Demography"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cat.pol"
  },
  "_mentions": 6,
  "_devurl": "https://github.com/chrissoria/cat-llm",
  "_pkgdown": "https://christophersoria.com/cat-llm/cat.pol/",
  "_searchresults": 3,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cat.pol.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "classify",
    "explore",
    "extract",
    "list_sources",
    "summarize"
  ],
  "_help": [
    {
      "page": "classify",
      "title": "Classify political and policy documents using LLMs",
      "topics": [
        "classify"
      ]
    },
    {
      "page": "explore",
      "title": "Explore raw categories in political and policy documents",
      "topics": [
        "explore"
      ]
    },
    {
      "page": "extract",
      "title": "Discover categories from political and policy documents using LLMs",
      "topics": [
        "extract"
      ]
    },
    {
      "page": "list_sources",
      "title": "List registered political data sources",
      "topics": [
        "list_sources"
      ]
    },
    {
      "page": "summarize",
      "title": "Summarize political and policy documents using LLMs",
      "topics": [
        "summarize"
      ]
    }
  ],
  "_readme": "https://github.com/chrissoria/cat-llm/raw/main/r-package/cat.pol/README.md",
  "_rundeps": [
    "cat.stack",
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "policy-document-analysis.Rmd",
      "filename": "policy-document-analysis.html",
      "title": "Classifying Policy Documents and Political Text",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What cat.pol adds",
        "Install",
        "See available data sources",
        "Fetch and classify ordinances",
        "Filter by date range and document type",
        "Classify your own policy text",
        "Summarize before classifying",
        "Tips for political-text work",
        "Where to learn more"
      ],
      "created": "2026-05-17 04:03:24",
      "modified": "2026-05-17 04:03:24",
      "commits": 1
    }
  ],
  "_score": 6.334453751150931,
  "_indexed": true,
  "_nocasepkg": "cat.pol",
  "_universes": [
    "chrissoria"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-04T17:02:48.000Z",
      "distro": "noble",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "4c6aad8d03d653e3c69ed5e649902cb3e0bed8e277ab64cd73d3d00f7eec9328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-04T17:01:36.000Z",
      "distro": "noble",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "a345d4ed6be75e70fe5d95c1ba8f21fb06c66c12c793d8b5fda1b8354ddd01fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-04T17:03:40.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "4c1b82fb7e6ef80ca137f6400147ae9817bf79bae0e86af706053136e0725c80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-04T17:02:30.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "075a72d68edf5474ecc543718c4109b012ad6f0058f80e26e342c14535207665",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-04T17:02:20.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "2d6a57c8d993a6b86eaad85e3c851a1e682984b9fa5db341ed861f988047ba04",
      "status": "success",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-04T17:00:38.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "2cab5a2e74c03b52168ee6e2afa43111828102a509c250e9acfc1dca2e57d058",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-04T17:00:39.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "3cf8436826ef94582fc894a44db42ac28c0c3cc306840ac58e720ba3ae72634c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-04T17:01:16.000Z",
      "commit": "f2d83209be8d621fceb422d434fb5b3b98fe301b",
      "fileid": "ac4913823bea080832c3e89ee4527acb1fb3c7e11e2e1884aad485d0d00c0bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/chrissoria/actions/runs/26966606471"
    }
  ]
}