forgts: Creat gt from spreadsheet

View source: R/forgts_main.R

forgtsR 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)


forgts documentation built on April 12, 2025, 1:46 a.m.