sales | R Documentation |
This dataset contains sales transaction data, including order details, customer information, pricing, and revenue metrics.
sales
A data frame with multiple rows and 17 columns:
integer
. Unique identifier for each order.
integer
. Line number within an order, representing individual items.
Date
. Date when the order was placed.
Date
. Date when the order was delivered.
integer
. Unique identifier for the customer.
integer
. Unique identifier for the store where the transaction occurred.
integer
. Unique identifier for the product.
numeric
. Number of units sold in the transaction.
numeric
. Price per unit of the product in the original currency.
numeric
. Final price per unit after discounts.
numeric
. Cost per unit of the product.
character
. Currency code (e.g., "USD", "EUR").
numeric
. Exchange rate applied to the transaction currency.
numeric
. Total revenue before any deductions.
numeric
. Revenue after deductions such as discounts and taxes.
numeric
. Cost of goods sold (COGS).
numeric
. Profit margin calculated as net_revenue - cogs
.
Generated from fpaR::sales
data(sales)
head(sales)
summary(sales)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.