forgts {forgts}R Documentation

Creat gt from spreadsheet

Description

Wrapper. Reads a spreadsheet file including most formatting information and creates a formatted gt table with the same data and formatting.

Usage

forgts(file, sheet = NULL)

Arguments

file

Path to a spreadsheet.

sheet

A character string with the name of a sheet within a workbook, or an integer with the position of the sheet. Defaults to the first sheet if left unspecified.

Value

A great table!

Examples

example_spreadsheet <- system.file("extdata/rodentsheet.xlsx", package = "forgts")
forgts(example_spreadsheet)


[Package forgts version 0.0.1 Index]