Skip to content

Optionally import empty cells #4

@nacnudus

Description

@nacnudus

## cells can be present, just because they bear a format (much like Excel)
## as in readxl, we only load cells with content
cell_is_empty <- map_lgl(out$cell, ~ is.null(pluck(.x, "effectiveValue")))
out[!cell_is_empty, ]

It's exciting to see this take shape!

Empty, formatted cells have a lot of utility when unpivoting pivot tables or decoding formatting-as-data. For example, legends often have the formatting and the code in separate cells, so the formatted cell is empty.

Are there good reasons not to import them at all? (I accept that importing them by default could be confusing)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions