{
  "_id": "6a27c21524555f66ed53db0b",
  "Package": "tokenbrowser",
  "Type": "Package",
  "Title": "Create Full Text Browsers from Annotated Token Lists",
  "Version": "0.1.6",
  "Authors@R": "c(person(given = \"Kasper\",\nfamily = \"Welbers\",\nrole = c(\"aut\", \"cre\"),\nemail = \"kasperwelbers@gmail.com\"),\nperson(given = \"Wouter\",\nfamily = \"van Atteveldt\",\nrole = \"aut\",\nemail = \"wouter@vanatteveldt.com\"))",
  "License": "GPL-3",
  "LazyData": "true",
  "Description": "Create browsers for reading full texts from a token list\nformat. Information obtained from text analyses (e.g., topic\nmodeling, word scaling) can be used to annotate the texts.",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://kasperwelbers.r-universe.dev",
  "Date/Publication": "2025-12-11 15:16:09 UTC",
  "RemoteUrl": "https://github.com/kasperwelbers/tokenbrowser",
  "RemoteRef": "HEAD",
  "RemoteSha": "736fc160f5066d871bd4741b1d7a5aad620412c6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 07:14:00 UTC",
    "User": "root"
  },
  "Author": "Kasper Welbers [aut, cre],\nWouter van Atteveldt [aut]",
  "Maintainer": "Kasper Welbers <kasperwelbers@gmail.com>",
  "MD5sum": "8823233df65eaf0542e937a4248e1a3d",
  "_user": "kasperwelbers",
  "_type": "src",
  "_file": "tokenbrowser_0.1.6.tar.gz",
  "_fileid": "2b52a3965c9b4d5146dbfc094e8ea89b139740da75a057083dc688a3a22d8617",
  "_filesize": 508549,
  "_sha256": "2b52a3965c9b4d5146dbfc094e8ea89b139740da75a057083dc688a3a22d8617",
  "_created": "2026-06-09T07:14:00.000Z",
  "_published": "2026-06-09T07:34:45.166Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80268202006,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500914773"
    },
    {
      "job": 80268202018,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500915395"
    },
    {
      "job": 80268201963,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501229466"
    },
    {
      "job": 80268202030,
      "time": 118,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501282920"
    },
    {
      "job": 80267852617,
      "time": 136,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500876827"
    },
    {
      "job": 80268201989,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500911534"
    },
    {
      "job": 80268201996,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7500905214"
    },
    {
      "job": 80268201983,
      "time": 69,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": ""
    },
    {
      "job": 80268201995,
      "time": 77,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7500901533"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kasperwelbers/tokenbrowser",
  "_commit": {
    "id": "736fc160f5066d871bd4741b1d7a5aad620412c6",
    "author": "Kasper Welbers <kasperwelbers@gmail.com>",
    "committer": "Kasper Welbers <kasperwelbers@gmail.com>",
    "message": "updated author info\n",
    "time": 1765466169
  },
  "_maintainer": {
    "name": "Kasper Welbers",
    "email": "kasperwelbers@gmail.com",
    "login": "kasperwelbers",
    "twitter": "@KasperWelbers",
    "description": "Associate Professor at VU University Amsterdam, department of Communication Science. Mostly work on research related stuff in R, Typescript and Python.",
    "uuid": 6179240
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "kasperwelbers",
  "_selfowned": true,
  "_usedby": 4,
  "_updates": [
    {
      "week": "2025-50",
      "n": 3
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "kasperwelbers",
      "count": 38,
      "uuid": 6179240
    },
    {
      "user": "nruigrok",
      "count": 2,
      "uuid": 6438205
    },
    {
      "user": "vanatteveldt",
      "count": 2,
      "uuid": 1736240
    }
  ],
  "_userbio": {
    "uuid": 6179240,
    "type": "user",
    "name": "Kasper Welbers",
    "description": "Associate Professor at VU University Amsterdam, department of Communication Science. Mostly work on research related stuff in R, Typescript and Python."
  },
  "_downloads": {
    "count": 361,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tokenbrowser"
  },
  "_devurl": "https://github.com/kasperwelbers/tokenbrowser",
  "_searchresults": 15,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tokenbrowser.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kasperwelbers/tokenbrowser",
  "_realowner": "kasperwelbers",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2019-05-17"
    },
    {
      "version": "0.1.1",
      "date": "2019-10-24"
    },
    {
      "version": "0.1.2",
      "date": "2020-01-28"
    },
    {
      "version": "0.1.4",
      "date": "2020-03-19"
    },
    {
      "version": "0.1.5",
      "date": "2020-10-16"
    },
    {
      "version": "0.1.6",
      "date": "2025-12-12"
    }
  ],
  "_exports": [
    "add_tag",
    "attr_style",
    "categorical_browser",
    "category_highlight_tokens",
    "colorscale_tokens",
    "colorscaled_browser",
    "create_browser",
    "create_meta_tables",
    "highlight_col",
    "highlight_tokens",
    "highlighted_browser",
    "rescale_var",
    "scale_col",
    "set_col",
    "tag_attr",
    "tag_tokens",
    "view_browser",
    "wrap_documents"
  ],
  "_datasets": [
    {
      "name": "sotu_data",
      "title": "Tokens from Bush and Obamas State of the Union addresses",
      "object": "sotu_data",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sotu_lda",
      "title": "Word assignments, docXtopic matrix and topicXword matrix of an LDA model of the SOTU data",
      "object": "sotu_lda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "add_tag",
      "title": "Wrap values in an HTML tag",
      "topics": [
        "add_tag"
      ]
    },
    {
      "page": "attr_style",
      "title": "Create the content of the html style attribute",
      "topics": [
        "attr_style"
      ]
    },
    {
      "page": "categorical_browser",
      "title": "Convert tokens into full texts in an HTML file with category highlighting",
      "topics": [
        "categorical_browser"
      ]
    },
    {
      "page": "category_highlight_tokens",
      "title": "Highlight tokens per category",
      "topics": [
        "category_highlight_tokens"
      ]
    },
    {
      "page": "colorscale_tokens",
      "title": "Color tokens using colorRamp",
      "topics": [
        "colorscale_tokens"
      ]
    },
    {
      "page": "colorscaled_browser",
      "title": "Convert tokens into full texts in an HTML file with color ramp highlighting",
      "topics": [
        "colorscaled_browser"
      ]
    },
    {
      "page": "create_browser",
      "title": "Convert tokens into full texts in an HTML file",
      "topics": [
        "create_browser"
      ]
    },
    {
      "page": "create_meta_tables",
      "title": "HTML tables for meta data per document",
      "topics": [
        "create_meta_tables"
      ]
    },
    {
      "page": "highlight_col",
      "title": "Create a highlight color for a html style attribute",
      "topics": [
        "highlight_col"
      ]
    },
    {
      "page": "highlight_tokens",
      "title": "Highlight tokens",
      "topics": [
        "highlight_tokens"
      ]
    },
    {
      "page": "highlighted_browser",
      "title": "Convert tokens into full texts in an HTML file with highlighted tokens",
      "topics": [
        "highlighted_browser"
      ]
    },
    {
      "page": "html_template",
      "title": "create the html template",
      "topics": [
        "html_template"
      ]
    },
    {
      "page": "rescale_var",
      "title": "Rescale a numeric variable",
      "topics": [
        "rescale_var"
      ]
    },
    {
      "page": "save_html",
      "title": "Wrap html body in the template and save",
      "topics": [
        "save_html"
      ]
    },
    {
      "page": "scale_col",
      "title": "Create a scale color for a html style attribute",
      "topics": [
        "scale_col"
      ]
    },
    {
      "page": "set_col",
      "title": "Transpose a color into the string format used in html attributes",
      "topics": [
        "set_col"
      ]
    },
    {
      "page": "sotu_data",
      "title": "Tokens from Bush and Obamas State of the Union addresses",
      "topics": [
        "sotu_data"
      ]
    },
    {
      "page": "sotu_lda",
      "title": "Word assignments, docXtopic matrix and topicXword matrix of an LDA model of the SOTU data",
      "topics": [
        "sotu_lda"
      ]
    },
    {
      "page": "tag_attr",
      "title": "create attribute string for html tags",
      "topics": [
        "tag_attr"
      ]
    },
    {
      "page": "tag_tokens",
      "title": "add span tags to tokens",
      "topics": [
        "tag_tokens"
      ]
    },
    {
      "page": "view_browser",
      "title": "View a browser (HTML) in the R viewer",
      "topics": [
        "view_browser"
      ]
    },
    {
      "page": "wrap_documents",
      "title": "Wrap tokens into document html strings",
      "topics": [
        "wrap_documents"
      ]
    }
  ],
  "_readme": "https://github.com/kasperwelbers/tokenbrowser/raw/HEAD/README.md",
  "_rundeps": [
    "stringi"
  ],
  "_score": 5.100370545117563,
  "_indexed": true,
  "_nocasepkg": "tokenbrowser",
  "_universes": [
    "kasperwelbers"
  ],
  "_binaries": [
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-05-10T08:26:24.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "c927e7da410356a206ff8c073e96c3cb5032f864c9edd85d877223e949aa7764",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/25623931987"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-06-09T07:15:57.000Z",
      "distro": "noble",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "3aa8faa885ed30dbf3e799104aaa573b552536ceefefda53e633d1a4a9b2cf41",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.6",
      "date": "2026-06-09T07:15:59.000Z",
      "distro": "noble",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "9c968924249df4531b84bcb00afc99bb1637bdd223b57c7df04ab85518f5f4f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-06-09T07:31:39.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "301cc14008a75283df1978b5b9da337b3501dacd645e3aa7459812bc413eddba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.6",
      "date": "2026-06-09T07:34:07.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "d2c1006119ad2ade734c7f2928676af951abeef891cfbda237e8203baab4d5d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.6",
      "date": "2026-06-09T07:16:00.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "9e67a32dc1f62aa887f0fc1569a3da8f13a303205ddd63e667f632b686b07da9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-06-09T07:15:22.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "d9de20d9f5e8994e138a3372b3e07c8da0a91250ec7c6713f5f2a0dcbcb8217a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.6",
      "date": "2026-06-09T07:15:09.000Z",
      "commit": "736fc160f5066d871bd4741b1d7a5aad620412c6",
      "fileid": "01dc22892890fd731013be41b6efed1d2b7fef22560214fadfaf681c8dadcc60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kasperwelbers/actions/runs/27190039207"
    }
  ]
}