{
  "_id": "6a1eadcdb25058d4daada38c",
  "Package": "textshape",
  "Title": "Tools for Reshaping Text",
  "Version": "1.7.6",
  "Authors@R": "c(\nperson(\"Tyler\", \"Rinker\", email = \"tyler.rinker@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Joran\", \"Elias\", role = \"ctb\"),\nperson(\"Matthew\", \"Flickinger\", role = \"ctb\"),\nperson('Paul', 'Foster', role = \"ctb\")\n)",
  "Maintainer": "Tyler Rinker <tyler.rinker@gmail.com>",
  "Description": "Tools that can be used to reshape and restructure text\ndata.",
  "License": "GPL-2",
  "LazyData": "TRUE",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/trinker/textshape",
  "BugReports": "https://github.com/trinker/textshape/issues",
  "Collate": "'bind_list.R' 'bind_table.R' 'bind_vector.R' 'change_index.R'\n'cluster_matrix.R' 'column_to_rownames.R' 'combine.R'\n'duration.R' 'flatten.R' 'from_to.R' 'grab_index.R'\n'grab_match.R' 'mtabulate.R' 'split_index.R' 'split_match.R'\n'split_match_regex_to_transcript.R' 'split_portion.R'\n'split_run.R' 'split_sentence.R' 'split_sentence_token.R'\n'split_speaker.R' 'split_token.R' 'split_transcript.R'\n'split_word.R' 'textshape-package.R' 'tidy_colo_dtm.R'\n'utils.R' 'tidy_dtm.R' 'tidy_list.R' 'tidy_matrix.R'\n'tidy_table.R' 'tidy_vector.R' 'unique_pairs.R' 'unnest_text.R'",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://trinker.r-universe.dev",
  "Date/Publication": "2024-04-01 17:35:11 UTC",
  "RemoteUrl": "https://github.com/trinker/textshape",
  "RemoteRef": "HEAD",
  "RemoteSha": "61dc5f1e0ba817571d97d87751959f78613ad92c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:14:57 UTC",
    "User": "root"
  },
  "Author": "Tyler Rinker [aut, cre],\nJoran Elias [ctb],\nMatthew Flickinger [ctb],\nPaul Foster [ctb]",
  "MD5sum": "3ef3aab04b9618eb9b5ba5c55922333f",
  "_user": "trinker",
  "_type": "src",
  "_file": "textshape_1.7.6.tar.gz",
  "_fileid": "88f8f9028bc679622760f519ad605013b712e0e03ff05b9c4ebd8eb1f47dd941",
  "_filesize": 902999,
  "_sha256": "88f8f9028bc679622760f519ad605013b712e0e03ff05b9c4ebd8eb1f47dd941",
  "_created": "2026-06-02T10:14:57.000Z",
  "_published": "2026-06-02T10:17:49.967Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79048564232,
      "time": 118,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354994794"
    },
    {
      "job": 79048564168,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354994107"
    },
    {
      "job": 79048564231,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354983769"
    },
    {
      "job": 79048564241,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354998717"
    },
    {
      "job": 79048112066,
      "time": 164,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354954546"
    },
    {
      "job": 79048564239,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354987113"
    },
    {
      "job": 79048564306,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7354980578"
    },
    {
      "job": 79048564260,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7354980194"
    },
    {
      "job": 79048564412,
      "time": 71,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7354979124"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/trinker/textshape",
  "_commit": {
    "id": "61dc5f1e0ba817571d97d87751959f78613ad92c",
    "author": "Tyler Rinker <tyler.rinker@kangarootime.com>",
    "committer": "Tyler Rinker <tyler.rinker@kangarootime.com>",
    "message": "Merge branch 'master' of https://github.com/trinker/textshape\n",
    "time": 1711992911
  },
  "_maintainer": {
    "name": "Tyler Rinker",
    "email": "tyler.rinker@gmail.com",
    "login": "trinker",
    "description": "Director, Data Scientist, open-source developer , #python/#rstats enthusiast, #dataviz geek, and #nlp buff",
    "uuid": 1763278
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "slam",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "trinker",
  "_selfowned": true,
  "_usedby": 42,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "data-reshaping",
    "manipulation",
    "sentence-boundary-detection",
    "text-data",
    "text-formating",
    "tidy"
  ],
  "_stars": 53,
  "_contributors": [
    {
      "user": "trinker",
      "count": 126,
      "uuid": 1763278
    },
    {
      "user": "tylerrinker-dev",
      "count": 3,
      "uuid": 237491193
    }
  ],
  "_userbio": {
    "uuid": 1763278,
    "type": "user",
    "name": "Tyler Rinker",
    "description": "Director, Data Scientist, open-source developer , #python/#rstats enthusiast, #dataviz geek, and #nlp buff"
  },
  "_downloads": {
    "count": 8865,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/textshape"
  },
  "_devurl": "https://github.com/trinker/textshape",
  "_searchresults": 400,
  "_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/textshape.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/trinker/textshape",
  "_realowner": "trinker",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2016-12-31"
    },
    {
      "version": "1.0.0",
      "date": "2017-01-10"
    },
    {
      "version": "1.0.1",
      "date": "2017-01-20"
    },
    {
      "version": "1.0.2",
      "date": "2017-02-22"
    },
    {
      "version": "1.3.0",
      "date": "2017-07-27"
    },
    {
      "version": "1.5.0",
      "date": "2017-09-08"
    },
    {
      "version": "1.6.0",
      "date": "2018-06-07"
    },
    {
      "version": "1.7.1",
      "date": "2020-04-17"
    },
    {
      "version": "1.7.3",
      "date": "2021-05-28"
    },
    {
      "version": "1.7.5",
      "date": "2024-04-02"
    }
  ],
  "_exports": [
    "as_list",
    "bind_list",
    "bind_table",
    "bind_vector",
    "change_index",
    "cluster_matrix",
    "column_to_rownames",
    "combine",
    "duration",
    "ends",
    "flatten",
    "from_to",
    "from_to_summarize",
    "grab_index",
    "grab_match",
    "mtabulate",
    "split_index",
    "split_match",
    "split_match_regex",
    "split_portion",
    "split_run",
    "split_sentence",
    "split_sentence_token",
    "split_speaker",
    "split_token",
    "split_transcript",
    "split_word",
    "starts",
    "tidy_adjacency_matrix",
    "tidy_colo_dtm",
    "tidy_colo_tdm",
    "tidy_dtm",
    "tidy_list",
    "tidy_matrix",
    "tidy_table",
    "tidy_tdm",
    "tidy_vector",
    "unique_pairs",
    "unnest_text"
  ],
  "_datasets": [
    {
      "name": "DATA",
      "title": "Fictitious Classroom Dialogue",
      "object": "DATA",
      "class": [
        "data.frame"
      ],
      "fields": [
        "person",
        "sex",
        "adult",
        "state",
        "code"
      ],
      "rows": 11,
      "table": true,
      "tojson": true
    },
    {
      "name": "golden_rules",
      "title": "Sentence Boundary Disambiguation Edge Cases",
      "object": "golden_rules",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "Rule",
        "Text",
        "Outcome"
      ],
      "rows": 45,
      "table": false,
      "tojson": true
    },
    {
      "name": "hamlet",
      "title": "Hamlet (Complete & Split by Sentence)",
      "object": "hamlet",
      "class": [
        "qdap_df",
        "sent_split",
        "sent_split_text_var:dialogue",
        "data.frame"
      ],
      "fields": [
        "act",
        "tot",
        "scene",
        "location",
        "person",
        "died",
        "dialogue"
      ],
      "rows": 2007,
      "table": true,
      "tojson": true
    },
    {
      "name": "simple_dtm",
      "title": "Simple 'DocumentTermMatrix'",
      "object": "simple_dtm",
      "class": [
        "DocumentTermMatrix",
        "simple_triplet_matrix"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "bind_list",
      "title": "Row Bind a List of Named Dataframes or Vectors",
      "topics": [
        "bind_list"
      ]
    },
    {
      "page": "bind_table",
      "title": "Column Bind a Table's Values with Its Names",
      "topics": [
        "bind_table"
      ]
    },
    {
      "page": "bind_vector",
      "title": "Column Bind an Atomic Vector's Values with Its Names",
      "topics": [
        "bind_vector"
      ]
    },
    {
      "page": "change_index",
      "title": "Indexing of Changes in Runs",
      "topics": [
        "change_index"
      ]
    },
    {
      "page": "cluster_matrix",
      "title": "Reorder a Matrix Based on Hierarchical Clustering",
      "topics": [
        "cluster_matrix"
      ]
    },
    {
      "page": "column_to_rownames",
      "title": "Add a Column as Rownames",
      "topics": [
        "column_to_rownames"
      ]
    },
    {
      "page": "combine",
      "title": "Combine Elements",
      "topics": [
        "combine",
        "combine.data.frame",
        "combine.default"
      ]
    },
    {
      "page": "DATA",
      "title": "Fictitious Classroom Dialogue",
      "topics": [
        "DATA"
      ]
    },
    {
      "page": "duration",
      "title": "Duration of Turns of Talk",
      "topics": [
        "duration",
        "duration.data.frame",
        "duration.default",
        "duration.numeric",
        "ends",
        "starts"
      ]
    },
    {
      "page": "flatten",
      "title": "Flatten a Nested List of Vectors Into a Single Tier List of Vectors",
      "topics": [
        "flatten"
      ]
    },
    {
      "page": "from_to",
      "title": "Prepare Discourse Data for Network Plotting",
      "topics": [
        "from_to",
        "from_to.character",
        "from_to.data.frame",
        "from_to.default",
        "from_to.factor",
        "from_to.numeric",
        "from_to_summarize"
      ]
    },
    {
      "page": "golden_rules",
      "title": "Sentence Boundary Disambiguation Edge Cases",
      "topics": [
        "golden_rules"
      ]
    },
    {
      "page": "grab_index",
      "title": "Get Elements Matching Between 2 Points",
      "topics": [
        "grab_index",
        "grab_index.character",
        "grab_index.data.frame",
        "grab_index.default",
        "grab_index.list",
        "grab_index.matrix"
      ]
    },
    {
      "page": "grab_match",
      "title": "Get Elements Matching Between 2 Points",
      "topics": [
        "grab_match",
        "grab_match.character",
        "grab_match.data.frame",
        "grab_match.list"
      ]
    },
    {
      "page": "hamlet",
      "title": "Hamlet (Complete & Split by Sentence)",
      "topics": [
        "hamlet"
      ]
    },
    {
      "page": "mtabulate",
      "title": "Tabulate Frequency Counts for Multiple Vectors",
      "topics": [
        "as_list",
        "mtabulate"
      ]
    },
    {
      "page": "simple_dtm",
      "title": "Simple 'DocumentTermMatrix'",
      "topics": [
        "simple_dtm"
      ]
    },
    {
      "page": "split_index",
      "title": "Split Data Forms at Specified Indices",
      "topics": [
        "split_index",
        "split_index.character",
        "split_index.data.frame",
        "split_index.default",
        "split_index.factor",
        "split_index.list",
        "split_index.matrix",
        "split_index.numeric"
      ]
    },
    {
      "page": "split_match",
      "title": "Split a Vector By Split Points",
      "topics": [
        "split_match",
        "split_match_regex"
      ]
    },
    {
      "page": "split_portion",
      "title": "Break Text Into Ordered Word Chunks",
      "topics": [
        "split_portion"
      ]
    },
    {
      "page": "split_run",
      "title": "Split Runs",
      "topics": [
        "split_run",
        "split_run.data.frame",
        "split_run.default"
      ]
    },
    {
      "page": "split_sentence",
      "title": "Split Sentences",
      "topics": [
        "split_sentence",
        "split_sentence.data.frame",
        "split_sentence.default"
      ]
    },
    {
      "page": "split_sentence_token",
      "title": "Split Sentences & Tokens",
      "topics": [
        "split_sentence_token",
        "split_sentence_token.data.frame",
        "split_sentence_token.default"
      ]
    },
    {
      "page": "split_speaker",
      "title": "Break and Stretch if Multiple Persons per Cell",
      "topics": [
        "split_speaker"
      ]
    },
    {
      "page": "split_token",
      "title": "Split Tokens",
      "topics": [
        "split_token",
        "split_token.data.frame",
        "split_token.default"
      ]
    },
    {
      "page": "split_transcript",
      "title": "Split a Transcript Style Vector on Delimiter & Coerce to Dataframe",
      "topics": [
        "split_transcript"
      ]
    },
    {
      "page": "split_word",
      "title": "Split Words",
      "topics": [
        "split_word",
        "split_word.data.frame",
        "split_word.default"
      ]
    },
    {
      "page": "textshape",
      "title": "Tools for Reshaping Text",
      "topics": [
        "package-textshape",
        "textshape"
      ]
    },
    {
      "page": "tidy_colo_dtm",
      "title": "Convert a 'DocumentTermMatrix'/'TermDocumentMatrix' into Collocating Words in Tidy Form",
      "topics": [
        "tidy_colo_dtm",
        "tidy_colo_tdm"
      ]
    },
    {
      "page": "tidy_dtm",
      "title": "Convert a 'DocumentTermMatrix'/'TermDocumentMatrix' into Tidy Form",
      "topics": [
        "tidy_dtm",
        "tidy_tdm"
      ]
    },
    {
      "page": "tidy_list",
      "title": "Tidy a List of Named Dataframes or Named Vectors or Vectors",
      "topics": [
        "tidy_list"
      ]
    },
    {
      "page": "tidy_matrix",
      "title": "Convert a Matrix into Tidy Form",
      "topics": [
        "tidy_adjacency_matrix",
        "tidy_matrix"
      ]
    },
    {
      "page": "tidy_table",
      "title": "Tidy a Table: Bind Its Values with Its Names",
      "topics": [
        "tidy_table"
      ]
    },
    {
      "page": "tidy_vector",
      "title": "Tidy a Named Atomic Vector: Bind Its Values with Its Names",
      "topics": [
        "tidy_vector"
      ]
    },
    {
      "page": "unique_pairs",
      "title": "Extract Only Unique Pairs of Collocating Words in 'tidy_colo_dtm'",
      "topics": [
        "unique_pairs",
        "unique_pairs.data.table",
        "unique_pairs.default"
      ]
    },
    {
      "page": "unnest_text",
      "title": "Un-nest Nested Text Columns",
      "topics": [
        "unnest_text"
      ]
    }
  ],
  "_readme": "https://github.com/trinker/textshape/raw/HEAD/README.md",
  "_rundeps": [
    "data.table",
    "slam",
    "stringi"
  ],
  "_score": 9.07335515031927,
  "_indexed": true,
  "_nocasepkg": "textshape",
  "_universes": [
    "trinker"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:59.000Z",
      "distro": "noble",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "f97cf207678c5427cca175ca091ce9eb9eb04be161daf82175b9ac2f5dc2b50d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:57.000Z",
      "distro": "noble",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "f706b51838fc4fbc66cfd839c0699413f3c66f69db7b0096e38a266fc9465e54",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:29.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "1cc6786befeba8b422d4c94941ac12f68894bf5d50f471dce2198d35503c7dbd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.7.6",
      "date": "2026-06-02T10:17:07.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "840aff2dfe640554a02d0561b033efca06656a173407069572fa429939940295",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:51.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "c666ad5106d7463b8f369f412f2ac344ca6ad6bdf0d18a94aa40d7e2cb7d8a47",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:11.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "b2fec45dc61ff9b0c0323731051536814858088379762589dfdf3848343ead80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:07.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "c0cdc8898c353b480902a4548f055cdaf75a13e03a2334a54bb8d1149fc1f0ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.7.6",
      "date": "2026-06-02T10:16:06.000Z",
      "commit": "61dc5f1e0ba817571d97d87751959f78613ad92c",
      "fileid": "1686aec92ace49d5301b24758c6e838e4d7aec22f0df2a33263eb584671409e8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trinker/actions/runs/26813138723"
    }
  ]
}