1
2
3
4
5
#

Name:

Description:

This tibble contains data of a few different classes, which makes it well-suited for quick experimentation with the functions in this package. It contains only eight rows with numeric, character, and factor columns. The last 4 rows contain NA values in the majority of this tibble's columns (1 missing value per column). The date, time, and datetime columns are character-based dates/times in the familiar ISO 8601 format. The row and group columns provide for unique rownames and two groups (grp_a and grp_b) for experimenting with the gt() function's rowname_col and groupname_col arguments.

Variables:

A tibble with 8 rows and 9 variables:

num

a numeric column ordered with increasingly larger values

char

a character column composed of names of fruits from a to h

fctr

a factor column with numbers from 1 to 8, written out

date, time, datetime

character columns with dates, times, and datetimes

currency

a numeric column that is useful for testing currency-based formatting

row

a character column in the format row_X which can be useful for testing with row captions in a table stub

group

a character column with four grp_a values and four grp_b values which can be useful for testing tables that contain row groups

Function ID

11-6

Link To Google Sheets:

Rows:

Columns:

License Type:

References/Notes/Attributions:

See Also

Other Datasets: countrypops, gtcars, pizzaplace, sp500, sza

R Dataset Upload:

Use the following R code to directly access this dataset in R.

d <- read.csv("https://www.key2stats.com/A_toy_example_tibble_for_testing_with_gt__exibble_870_10.csv")

R Coding Interface:


Datasets Tag Questions & Instructional Blocks

NumberContentType
No results found.