powered by
Imports a region from an xlsb workbook
read_xlsb(path, sheet = NULL, range = NULL, col_names = TRUE, col_types = NULL, na = "", trim_ws = TRUE, skip = 0, ...)
Path to the xlsb workbook
Name or index of the sheet to read. If the sheet name is specified as part of the range, this parameter is ignored
A named range or a string representing an excel range (of the form Sheet!A1:D10) or a cellranger object
TRUE uses the first row as the column name, FALSE sets names to column.#, or a character vector
NULL to imply type from spreadsheet or one of ignore/logical/numeric/date/string per column
Single string or array of strings to interpret as missing
Trim whitespace from strings
Number of rows to skip before reading data
Additional options. Pass debug = TRUE to return xlsb environment
read_xlsb(path = system.file("extdata", "TestBook.xlsb", package = "readxlsb"), range = "PORTFOLIO")
Run the code above in your browser using DataLab