list_ods_sheets: Get information in an (F)ODS File

View source: R/list_ods_sheets.R

list_ods_sheetsR Documentation

Get information in an (F)ODS File

Description

⁠list_(f)ods_sheets⁠ lists all sheets in an (f)ods file.

Usage

list_ods_sheets(path, include_external_data = FALSE)

list_fods_sheets(path, include_external_data = FALSE)

ods_sheets(path)

Arguments

path

Path to the (f)ods file

include_external_data

A boolean value to show or hide sheets containing archived linked data (default false)

Details

The default "include_external_data" for ods_sheets is TRUE to maintain compatibility with version 1 of readODS. It will change to TRUE in version 3.

Value

A character vector of sheet names

Author(s)

Peter Brohan peter.brohan+cran@gmail.com, Chung-hong Chan chainsawtiney@gmail.com, Gerrit-Jan Schutten phonixor@gmail.com

See Also

use read_ods to read the data

Examples

## Not run: 
# Get the list of names of sheets
list_ods_sheets("starwars.ods")
list_fods_sheets("starwars.fods")

## End(Not run)

readODS documentation built on Sept. 11, 2023, 1:08 a.m.