transactions: Sample Transaction Data

transactionsR Documentation

Sample Transaction Data

Description

A sample dataset of transaction events, linking customers and products. This is a typical "fact" table in a relational schema.

Usage

transactions

Format

A data.table with 5 variables:

customer_id

Identifier for the customer making the transaction.

product_id

Identifier for the product being purchased.

time

The timestamp of the transaction (POSIXct format).

quantity

The number of units of the product purchased.

price

The price per unit at the time of transaction.

Source

Generated for package examples.


DBmaps documentation built on Sept. 9, 2025, 5:44 p.m.