{
  "_id": "6af42436535793c85332768c",
  "Package": "unpivotr",
  "Title": "Unpivot Complex and Irregular Data Layouts",
  "Version": "0.6.4",
  "Authors@R": "c(\nperson(\"Duncan\", \"Garmonsway\", email = \"nacnudus@gmail.com\", role = c(\"aut\", \"cre\"))\n)",
  "Description": "Tools for converting data from complex or irregular\nlayouts to a columnar structure.  For example, tables with\nmultilevel column or row headers, or spreadsheets.  Header and\ndata cells are selected by their contents and position, as well\nas formatting and comments where available, and are associated\nwith one other by their proximity in given directions.\nFunctions for data frames and HTML tables are provided.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "URL": "https://github.com/nacnudus/unpivotr,\nhttps://nacnudus.github.io/unpivotr/",
  "BugReports": "https://github.com/nacnudus/unpivotr/issues",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://nacnudus.r-universe.dev",
  "Date/Publication": "2026-10-11 21:52:44 UTC",
  "RemoteUrl": "https://github.com/nacnudus/unpivotr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-11 08:11:59 UTC",
    "User": "root"
  },
  "Author": "Duncan Garmonsway [aut, cre]",
  "Maintainer": "Duncan Garmonsway <nacnudus@gmail.com>",
  "_user": "nacnudus",
  "_type": "src",
  "_file": "unpivotr_0.6.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/c47689130b8febb25aafbe577719d6872eeaad702212b7d69be8a212f5cffa65",
  "_filesize": 4072377,
  "_sha256": "c47689130b8febb25aafbe577719d6872eeaad702212b7d69be8a212f5cffa65",
  "_expires": "2027-02-19T08:15:48.000Z",
  "_created": "2026-11-11T08:11:59.000Z",
  "_published": "2026-11-11T08:15:49.929Z",
  "_upstream": "https://github.com/nacnudus/unpivotr",
  "_status": "success",
  "_maintainer": {
    "name": "Duncan Garmonsway",
    "email": "nacnudus@gmail.com",
    "login": "nacnudus",
    "description": "",
    "uuid": 3522552
  },
  "_jobs": [
    {
      "job": 130404563231,
      "time": 125,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13838629546"
    },
    {
      "job": 130404563199,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839760828"
    },
    {
      "job": 130404563361,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13838324647"
    },
    {
      "job": 130404563384,
      "time": 185,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839916072"
    },
    {
      "job": 130403017157,
      "time": 216,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13838479651"
    },
    {
      "job": 130404563233,
      "time": 105,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13839013341"
    },
    {
      "job": 130404563373,
      "time": 109,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13838513822"
    },
    {
      "job": 130404563377,
      "time": 78,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13838239682"
    },
    {
      "job": 130404563428,
      "time": 95,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13839337268"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445",
  "_commit": {
    "id": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
    "author": "Duncan Garmonsway <nacnudus@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #63 from hadley/rvest-html-table-fill\n\nRemove deprecated `fill = TRUE` from `html_table()` calls",
    "time": 1791755564
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 2.1.1",
      "role": "Imports"
    },
    {
      "package": "cellranger",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "tidyxl",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "rvest",
      "version": ">= 1.0.0",
      "role": "Suggests"
    },
    {
      "package": "selectr",
      "role": "Suggests"
    },
    {
      "package": "DT",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "here",
      "role": "Suggests"
    }
  ],
  "_owner": "nacnudus",
  "_selfowned": true,
  "_usedby": 3,
  "_updates": [
    {
      "week": "2026-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "excel",
    "pivot-tables",
    "spreadsheet"
  ],
  "_stars": 190,
  "_contributors": [
    {
      "user": "nacnudus",
      "count": 636,
      "uuid": 3522552
    },
    {
      "user": "billdenney",
      "count": 4,
      "uuid": 10359931
    },
    {
      "user": "davisvaughan",
      "count": 2,
      "uuid": 19150088
    },
    {
      "user": "ianmoran11",
      "count": 2,
      "uuid": 11229116
    },
    {
      "user": "lionel-",
      "count": 2,
      "uuid": 4465050
    },
    {
      "user": "gregrs-uk",
      "count": 1,
      "uuid": 7353938
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    },
    {
      "user": "krlmlr",
      "count": 1,
      "uuid": 1741643
    },
    {
      "user": "mtkerber",
      "count": 1,
      "uuid": 45527952
    },
    {
      "user": "wdkrnls",
      "count": 1,
      "uuid": 598210
    }
  ],
  "_userbio": {
    "uuid": 3522552,
    "type": "user",
    "name": "Duncan Garmonsway",
    "followers": 121
  },
  "_downloads": {
    "count": 600,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/unpivotr"
  },
  "_devurl": "https://github.com/nacnudus/unpivotr",
  "_pkgdown": "https://nacnudus.github.io/unpivotr/",
  "_searchresults": 329,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/unpivotr.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/nacnudus/unpivotr",
  "_realowner": "nacnudus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-01-31"
    },
    {
      "version": "0.1.1",
      "date": "2017-04-23"
    },
    {
      "version": "0.2.1",
      "date": "2017-07-02"
    },
    {
      "version": "0.3.0",
      "date": "2017-12-03"
    },
    {
      "version": "0.3.1",
      "date": "2018-01-20"
    },
    {
      "version": "0.4.0",
      "date": "2018-06-26"
    },
    {
      "version": "0.5.0",
      "date": "2019-01-02"
    },
    {
      "version": "0.5.1",
      "date": "2019-04-08"
    },
    {
      "version": "0.6.0",
      "date": "2020-05-08"
    },
    {
      "version": "0.6.1",
      "date": "2020-08-04"
    },
    {
      "version": "0.6.2",
      "date": "2021-08-22"
    },
    {
      "version": "0.6.3",
      "date": "2023-01-22"
    },
    {
      "version": "0.6.4",
      "date": "2024-11-30"
    }
  ],
  "_exports": [
    "%>%",
    "as_cells",
    "behead",
    "behead_if",
    "enhead",
    "isolate_sentinels",
    "justify",
    "merge_cols",
    "merge_rows",
    "pack",
    "partition",
    "partition_dim",
    "rectify",
    "spatter",
    "tidy_table",
    "unpack"
  ],
  "_datasets": [
    {
      "name": "purpose",
      "title": "Sense-of-purpose in the 2014 New Zealand General Social Survey",
      "object": "purpose",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "unpivotr-package",
      "title": "Un-pivot complex and irregular data layouts.",
      "topics": [
        "unpivotr-package",
        "unpivotr"
      ]
    },
    {
      "page": "as_cells",
      "title": "Tokenize data frames into a tidy 'melted' structure",
      "topics": [
        "as_cells"
      ]
    },
    {
      "page": "behead",
      "title": "Strip a level of headers from a pivot table",
      "topics": [
        "behead",
        "behead_if"
      ]
    },
    {
      "page": "direction",
      "title": "Directions from data cells to headers",
      "topics": [
        "direction"
      ]
    },
    {
      "page": "enhead",
      "title": "Join data cells to headers",
      "topics": [
        "enhead"
      ]
    },
    {
      "page": "isolate_sentinels",
      "title": "Move sentinel values into a separate column leaving NA behind",
      "topics": [
        "isolate_sentinels"
      ]
    },
    {
      "page": "justify",
      "title": "Align one set of cells with another set",
      "topics": [
        "justify"
      ]
    },
    {
      "page": "merge_cells",
      "title": "Merge cell values into a single cell by rows or columns",
      "topics": [
        "merge_cells",
        "merge_cols",
        "merge_rows"
      ]
    },
    {
      "page": "pack",
      "title": "Pack cell values from separate columns per data type into one list-column",
      "topics": [
        "pack",
        "unpack"
      ]
    },
    {
      "page": "partition",
      "title": "Divide a grid of cells into partitions containing individual tables",
      "topics": [
        "partition",
        "partition_dim"
      ]
    },
    {
      "page": "purpose",
      "title": "Sense-of-purpose in the 2014 New Zealand General Social Survey",
      "topics": [
        "purpose"
      ]
    },
    {
      "page": "rectify",
      "title": "Display cells as though in a spreadsheet",
      "topics": [
        "print.cell_grid",
        "rectify"
      ]
    },
    {
      "page": "spatter",
      "title": "Spread key-value pairs of mixed types across multiple columns",
      "topics": [
        "spatter"
      ]
    },
    {
      "page": "tidy_table",
      "title": "Tokenize data frames into a tidy 'melted' structure",
      "topics": [
        "tidy_table"
      ]
    }
  ],
  "_readme": "https://github.com/nacnudus/unpivotr/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "dplyr",
    "forcats",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rematch",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "html.Rmd",
      "filename": "html.html",
      "title": "HTML Tables",
      "author": "Duncan Garmonsway",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Rowspan and colspan examples",
        "Rowspan",
        "Colspan",
        "Both rowspan and colspan: non-square",
        "Nested example",
        "URL example"
      ],
      "created": "2017-06-18 16:29:40",
      "modified": "2026-10-11 21:52:44",
      "commits": 6
    },
    {
      "source": "introduction.Rmd",
      "filename": "introduction.html",
      "title": "Introduction to unpivotr",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Preface",
        "1. Reading easy spreadsheets with",
        "2. Trying to read a hard spreadsheet with",
        "3. Demonstration of",
        "4. Explanation of tidyxl::xlsx_cells()",
        "5. Explanation of unpivotr::behead()",
        "6. Continuing unpivotr::behead()",
        "7. Handling meaningful formatting with unpivotr::behead_if()",
        "8. Finishing and cleaning up",
        "Review"
      ],
      "created": "2019-08-30 22:55:53",
      "modified": "2022-05-12 18:13:45",
      "commits": 4
    },
    {
      "source": "small-multiples.Rmd",
      "filename": "small-multiples.html",
      "title": "Small Multiples",
      "author": "Duncan Garmonsway",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Preparation",
        "Main",
        "Importing the data",
        "Importing one of the multiples",
        "34-line code listing"
      ],
      "created": "2016-10-14 19:52:55",
      "modified": "2021-07-18 21:49:19",
      "commits": 18
    }
  ],
  "_score": 9.880525776837134,
  "_indexed": true,
  "_nocasepkg": "unpivotr",
  "_universes": [
    "nacnudus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.4",
      "date": "2026-11-11T08:14:04.000Z",
      "distro": "resolute",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/03b6808398b2bb63dd6fc9c38885c9dd2472ce1c8566f4247ebe1a1e901f13c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.6.4",
      "date": "2026-11-11T08:14:28.000Z",
      "distro": "resolute",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/0fdc3d473f2507b8d69c74914684ba10f43ee94d8fb7a31c9a0d4ea12dcb3c83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.4",
      "date": "2026-11-11T08:14:36.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/2b784986fa6a1f8ef35cc588effc0510753bd1be31368be3c758239a0273bffa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.6.4",
      "date": "2026-11-11T08:14:20.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/989571ff45cac87475dbe4f5a3d425189c2110e86cc092de2a920af68ccde034",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.4",
      "date": "2026-11-11T08:14:02.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/24943aef8e1d4bbbd4d786aa2db28612441c8f073ef8ee90de208636cece330b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.4",
      "date": "2026-11-11T08:13:32.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/a8efa676bdbc399a5d6907b6e182bfdb6741c9372b426c9eb50b3404cd376c8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.4",
      "date": "2026-11-11T08:13:07.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/0320a8389a4d937cf2697cd79100197eb5d9532a113a98bb485ced14e11cc51e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.6.4",
      "date": "2026-11-11T08:13:24.000Z",
      "commit": "e53af1cc09ca03e8d9418508a0ae4fc11a5d329f",
      "fileid": "https://r2.ropensci.org/0351d75fc373f5dc65bc72c79f13097b0e78f7e60761dc87104558e1bcc09fae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nacnudus/actions/runs/42984661445"
    }
  ]
}