{
  "_id": "6ad317c162c1581dfb2fa577",
  "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-10-17 06:30:57 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>)",
  "_user": "stephbuon",
  "_type": "src",
  "_file": "dhmeasures_1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/984a84f083dc32d21ea7a9c147eeab6a9f9c52ec2e0600935743c49f2a75afe5",
  "_filesize": 1191879,
  "_sha256": "984a84f083dc32d21ea7a9c147eeab6a9f9c52ec2e0600935743c49f2a75afe5",
  "_expires": "2027-01-25T06:37:52.000Z",
  "_created": "2026-10-17T06:30:57.000Z",
  "_published": "2026-10-17T06:37:53.628Z",
  "_buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117331015234,
      "time": 104,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12092746915"
    },
    {
      "job": 117331015276,
      "time": 184,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12092521872"
    },
    {
      "job": 117331015237,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092656399"
    },
    {
      "job": 117331015228,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092527741"
    },
    {
      "job": 117331015360,
      "time": 171,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12092846554"
    },
    {
      "job": 117331015248,
      "time": 295,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12092617789"
    },
    {
      "job": 117331015283,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092646441"
    },
    {
      "job": 117331015429,
      "time": 333,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092418804"
    },
    {
      "job": 117330350857,
      "time": 208,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12092089916"
    },
    {
      "job": 117331015200,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12092249723"
    },
    {
      "job": 117331015293,
      "time": 363,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12092348820"
    },
    {
      "job": 117331015254,
      "time": 152,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12092508000"
    },
    {
      "job": 117331015314,
      "time": 116,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12091798954"
    },
    {
      "job": 117331015247,
      "time": 370,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12091859067"
    },
    {
      "job": 117331015251,
      "time": 132,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12093160069"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 18
  },
  "_downloads": {
    "count": 306,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/dhmeasures"
  },
  "_devurl": "https://github.com/stephbuon/dhmeasures",
  "_searchresults": 11,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/dhmeasures.html",
    "extra/manual.pdf",
    "LICENSE"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.3424226808222066,
  "_indexed": true,
  "_nocasepkg": "dhmeasures",
  "_universes": [
    "stephbuon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T06:32:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/ecd74eccf7972a537a40c232e73e469fbf12c9aa66e3f117fc9a2fee623255a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T06:33:43.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/3f31cad0f19453e8be9d3c20c70a94bc8b55e88894e46ec02c965314801982b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T06:33:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/221e6ed77a741d38cb92863586a4122d40cfb2f1b2490760b5f088eb201574b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0",
      "date": "2026-10-17T06:32:52.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/37bdff0d324b89af6c2f8a88458b914b415ff6fdbb6473288a17d0b124d85b2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T06:33:34.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/9097bfcfe34678ffe8b53307e8413a38e4c0c2b8effe33a3df2d9bf4885c7822",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T06:34:45.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/44efad1933c8c085199456b36b94b1f59c80b506f1cf75009a0ac1defc4278ba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T06:33:26.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/04c2adedef3da42bc9c88ecea56a725720d5dad76af7a8cceb0f400d3521ef64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0",
      "date": "2026-10-17T06:35:06.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/b4a6ba15f9523bcbd0a0b2a2d63de180559a91441d425cb6ed8c2639205bee3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0",
      "date": "2026-10-17T06:32:53.000Z",
      "arch": "emscripten",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/582f5135602f0fee618a4ff87521b1029b1e33d2fdf96de28343ec0894e00a6a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T06:36:11.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/a40737fbca355d137864af58e187d0c30b0420eeec02f221e60999efb52b2584",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T06:32:14.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/ea1b07fcd3f8ebbfe01b7b5a236d8539ee6b51c51e7d2b1efabd27d597230ea2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T06:32:19.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/83a8e2c0adc9e92a8b726a2c671c9ff665c2fae8054938a9e1d35b996f1f055e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T06:36:10.000Z",
      "arch": "aarch64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/355d26151726d54ac8f39f97d19b9fbc40ccaa914c8215e7818ead682f600f00",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0",
      "date": "2026-10-17T06:32:27.000Z",
      "arch": "x86_64",
      "commit": "c47c570f260ab79d7f7d333b0aa905992bf21a9f",
      "fileid": "https://r2.ropensci.org/0a5cbcd1b3b1054fb1cfd98389ff446deb80a02b7a9a08243492d572fc2060ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/stephbuon/actions/runs/39009984338"
    }
  ]
}