Skip to content

range_write: Allow modifying a single cell by providing an atomic value or a row/column with a vector instead of only accepting dataframes? #162

@daattali

Description

@daattali

When I want to modify a single cell in a google sheet to the digit 5, I have to use range_write(data = data.frame(meaninglessname = 5), col_names = FALSE) and provide a data.frame with one value in it.

It would be useful if I could provide data = 5 to modify a single cell, or data = 1:5 to modify 5 cells in a row/column.

I generally understand the beauty of keeping arguments consistent in type and not trying to be clever, but since the ss and range arguments already allow variation and are trying to be as useful as possible to the user, this seems like another useful feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions