R packages for importing spreadsheets and complex tables: tidyxl and unpivotr. Presented to Edinbr, the Edinburgh R User Group on 19 October 2016. By Duncan Garmonsway. https://github.com/nacnudus/tidyxl, https://github.com/nacnudus/unpivotr.
36. Cell selection
header_area <-
x %>% # x is a single cell from anchorDec
offset(cells, rows = 2, cols = -1) %>%
extend_S(cells,
boundary = ~ is.na(lead(content))) %>%
select(row, col, area = character)
49. Similar work
• https://github.com/ONS-OpenData/ONSdatabaker inspiration for tidyxl and unpivotr
• https://github.com/rsheets Jenny Bryan and Rich Fitzjohn (jailbreakr: AI)
• https://github.com/jennybc/2016-06_spreadsheets Jenny Bryan’s talk
• https://www.stat.auckland.ac.nz/~joh024/Research/TableToLongForm/ Jimmy Oh (match pattern)