sample_data: Sample Orders Dataset for Examples and Tests

sample_dataR Documentation

Sample Orders Dataset for Examples and Tests

Description

A small, human-readable dataset with mixed column types, missing values, and one datetime column. It is designed for documentation examples and unit tests.

Usage

sample_data

Format

A data frame with 8 rows and 6 variables:

order_id

Integer order identifier.

customer_tier

Character tier ("bronze", "silver", "gold", etc), includes one NA.

amount

Numeric order amount, includes one negative value and one NA.

paid

Logical payment flag, includes one NA.

payment_method

Character payment method, includes one NA.

order_time

POSIXct order timestamp in UTC, includes one NA.

Examples

sample_data

dataverifyr documentation built on April 11, 2026, 1:06 a.m.