{
  "_id": "6a1ed77ab401979e7340eda2",
  "Package": "dhmeasures",
  "Title": "Digital History Measures",
  "Version": "1.0",
  "Authors@R": "c(\nperson(\"Ryan\", \"Schaefer\", email = \"rschaefer1@me.com\", role = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-7694-3994\")),\nperson(\"Steph\", \"Buongiorno\", email = \"steph.buon@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-6965-0787\")))",
  "Maintainer": "Steph Buongiorno <steph.buon@gmail.com>",
  "Description": "Provides statistical functions to aid in the analysis of\ncontemporary and historical corpora. These transparent\nfunctions may be useful to anyone, and were designed with the\nsocial sciences and humanities in mind. JSD (Jensen-Shannon\nDivergence) is a measure of the distance between two\nprobability distributions. The JSD and Original JSD functions\nexpand on existing functions, by calculating the JSD for\ndistributions of words in text groups for all pairwise groups\nprovided (Drost (2018) <doi:10.21105/joss.00765>). The Log\nLikelihood function is inspired by the work of digital\nhistorian Jo Guldi (Guldi (2022)\n<https://github.com/joguldi/digital-history>). Also includes\nhelper functions that can count word frequency in each text\ngrouping, and remove stop words.",
  "URL": "https://github.com/stephbuon/dhmeasures",
  "BugReports": "https://github.com/stephbuon/dhmeasures/issues",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://stephbuon.r-universe.dev",
  "Date/Publication": "2026-04-20 14:25:57 UTC",
  "RemoteUrl": "https://github.com/stephbuon/dhmeasures",
  "RemoteRef": "HEAD",
  "RemoteSha": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-20 09:54:54 UTC",
    "User": "root"
  },
  "Author": "Ryan Schaefer [aut] (ORCID: <https://orcid.org/0000-0001-7694-3994>),\nSteph Buongiorno [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-6965-0787>)",
  "MD5sum": "71471dace34016ecfd881da72d1622ed",
  "_user": "stephbuon",
  "_type": "src",
  "_file": "dhmeasures_1.0.tar.gz",
  "_fileid": "1474089f0f4aa1b272e8d4c44f231eb4dafeecc916d3ac0abc366771731a3175",
  "_filesize": 1192313,
  "_sha256": "1474089f0f4aa1b272e8d4c44f231eb4dafeecc916d3ac0abc366771731a3175",
  "_created": "2026-05-20T09:54:54.000Z",
  "_published": "2026-06-02T13:15:38.818Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79079143570,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106889316"
    },
    {
      "job": 79079142412,
      "time": 136,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106885130"
    },
    {
      "job": 79079143471,
      "time": 132,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106883488"
    },
    {
      "job": 79079143363,
      "time": 144,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106887991"
    },
    {
      "job": 79079143543,
      "time": 155,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106932703"
    },
    {
      "job": 79079143443,
      "time": 332,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106969144"
    },
    {
      "job": 79079142617,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106927827"
    },
    {
      "job": 79079143254,
      "time": 350,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106993724"
    },
    {
      "job": 79079141538,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106836629"
    },
    {
      "job": 79079141832,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358702603"
    },
    {
      "job": 79079142649,
      "time": 127,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7106881665"
    },
    {
      "job": 79079143422,
      "time": 134,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7106884193"
    },
    {
      "job": 79079143461,
      "time": 147,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7106888307"
    }
  ],
  "_buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/stephbuon/dhmeasures",
  "_commit": {
    "id": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
    "author": "Steph Buongiorno <steph.buon@gmail.com>",
    "committer": "Steph Buongiorno <steph.buon@gmail.com>",
    "message": "updated dhmeasures\n",
    "time": 1776695157
  },
  "_maintainer": {
    "name": "Steph Buongiorno",
    "email": "steph.buon@gmail.com",
    "login": "stephbuon",
    "description": "",
    "uuid": 52008049,
    "orcid": "0000-0002-6965-0787"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.9",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidytext",
      "role": "Imports"
    }
  ],
  "_owner": "stephbuon",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-17",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "ryandschaefer",
      "count": 37,
      "uuid": 77999587
    },
    {
      "user": "stephbuon",
      "count": 20,
      "uuid": 52008049
    }
  ],
  "_userbio": {
    "uuid": 52008049,
    "type": "user",
    "name": "Steph Buongiorno"
  },
  "_downloads": {
    "count": 506,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dhmeasures"
  },
  "_devurl": "https://github.com/stephbuon/dhmeasures",
  "_searchresults": 6,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dhmeasures.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/stephbuon/dhmeasures",
  "_realowner": "stephbuon",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2026-03-23"
    }
  ],
  "_exports": [
    "count_tokens",
    "jsd",
    "log_likelihood",
    "original_jsd",
    "remove_stop_words"
  ],
  "_datasets": [
    {
      "name": "hansard_1870_example",
      "title": "The 19th-century British Parliamentary debates for the decade 1820",
      "object": "hansard_1870_example",
      "class": [
        "data.frame"
      ],
      "fields": [
        "speaker",
        "word",
        "n"
      ],
      "rows": 482923,
      "table": true,
      "tojson": true
    },
    {
      "name": "stop_word",
      "title": "Stop Words List",
      "object": "stop_word",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "count_tokens",
      "title": "Count Tokens",
      "topics": [
        "count_tokens"
      ]
    },
    {
      "page": "dhmeasures",
      "title": "Digital History Measures",
      "topics": [
        "dhmeasures"
      ]
    },
    {
      "page": "hansard_1870_example",
      "title": "The 19th-century British Parliamentary debates for the decade 1820",
      "topics": [
        "hansard_1870_example"
      ]
    },
    {
      "page": "jsd",
      "title": "JSD",
      "topics": [
        "jsd"
      ]
    },
    {
      "page": "log_likelihood",
      "title": "Log Likelihood",
      "topics": [
        "log_likelihood"
      ]
    },
    {
      "page": "original_jsd",
      "title": "Original JSD",
      "topics": [
        "original_jsd"
      ]
    },
    {
      "page": "remove_stop_words",
      "title": "Remove Stop Words",
      "topics": [
        "remove_stop_words"
      ]
    },
    {
      "page": "stop_word",
      "title": "Stop Words List",
      "topics": [
        "stop_word"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "dplyr",
    "generics",
    "glue",
    "janeaustenr",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "SnowballC",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tidytext",
    "tokenizers",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "dhmeasures",
  "_universes": [
    "stephbuon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-20T09:57:18.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "e88cd5e458716a9bd9a41c7b4f03ce10075454926c1af0e489198c136f73a0b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-20T09:57:03.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "08515f678110b38bbd29df535c38b55f27dafcfdb295c8e85e2d603e423a6548",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-20T09:57:03.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "eb07d554eff62bc496ff128d35ba2ba14f9f7a0ee7515fdd26fd699509997473",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-05-20T09:57:09.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "89774e6737622dc081778b3c0c645ca24abaf712ab542bcecc1ff288068d436f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-20T09:59:37.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "eb829047d7d83cb3bd0d34b5623863488aaf1ce6eb6447de6bc6aaf31998c35d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-20T10:00:46.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "82fe7c4b16e0f84e2fc80c48155c598329817c2ebf3f1982b2bdbd26f1085092",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-20T09:59:18.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "1c48587040d11c82d27e350ff091305939284115cefcdae00e54f39fb848bf62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0",
      "date": "2026-05-20T10:01:24.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "ddd34dd33b494dc063d9cdf3e6466079d20da4bd2763a9f879e4cd7fa9f8df8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-20T09:56:30.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "d424b5e94a59ad51e7887b54a8cb7bfc946a299b189b087959f50bb9333eb843",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-20T09:56:19.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "239a455d8598db25c5a13123154fb46b3d483b554051c9b8a7899f93d7f0e9eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-05-20T09:56:28.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "eb1b5e65e4b2493c10f50e9081903f7468e3ff5e2f8205441651159581522cc2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-06-02T13:15:01.000Z",
      "arch": "emscripten",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "8a53df8ac3d7eb75afc465e5334a27fa8b405872061386da176e4847080501dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/26154969610"
    }
  ]
}