xg_inspect: Unzip, linkify, and browse an xlsx file

Description Usage Arguments Value Examples

View source: R/xg_inspect.R

Description

Unzip, linkify, and browse an xlsx file

Usage

1
xg_inspect(path, exdir = NULL)

Arguments

path

Character, length one. Path to xlsx file.

exdir

Passed to utils::unzip(). Directory in which to unpack the xlsx. By default, if unpacking foo.xlxs, this will be foo/ in the same directory as foo.xlsx.

Value

Path to the directory being browsed, invisibly.

Examples

1
2
3
4
5
6
file.copy(xg_example("datasets"), "datasets.xlsx")
xg_inspect("datasets.xlsx")

## clean up
unlink("datasets", recursive = TRUE)
file.remove("datasets.xlsx")

Zombie-Technology/ER documentation built on Dec. 31, 2020, 6:36 p.m.