The Google Sheet is downloaded and read as a temporary Excel file. Arguments other than `drive_path` are passed to read_full_excel.
read_gsheet( drive_path, col_names = TRUE, col_types = "text", na = "", trim_ws = TRUE, skip = 0, n_max = Inf, guess_max = min(1000, n_max), progress = readxl::readxl_progress(), .name_repair = "unique" )
| drive_path | Dribble, url, or id passed as `path` to the `googledrive package` functions` |
|---|---|
| col_names |
|
| col_types | Either |
| na | Character vector of strings to interpret as missing values. By default, readxl treats blank cells as missing data. |
| trim_ws | Should leading and trailing whitespace be trimmed? |
| skip | Minimum number of rows to skip before reading anything, be it
column names or data. Leading empty rows are automatically skipped, so this
is a lower bound. Ignored if |
| n_max | Maximum number of data rows to read. Trailing empty rows are
automatically skipped, so this is an upper bound on the number of rows in
the returned tibble. Ignored if |
| guess_max | Maximum number of data rows to use for guessing column types. |
| progress | Display a progress spinner? By default, the spinner appears
only in an interactive session, outside the context of knitting a document,
and when the call is likely to run for several seconds or more. See
|
| .name_repair | Handling of column names. By default, readxl ensures
column names are not empty and are unique. If the tibble package version is
recent enough, there is full support for |