Skip to contents

This dataset, avocado_us_sale, is a data frame containing weekly Hass avocado sales data in the US. It includes information on week ending date, type, average selling price, total bulk and bags units, PLU 4046 units, PLU 4225 units, PLU 4770 units, total bagged units, small bagged units, large bagged units, and extra-large bagged units.

Usage

data(avocado_us_sale)

Format

A data frame with 810 observations and 11 variables:

week_ending

Date vector indicating the week ending date

type

Character vector indicating the type

avg_selling_price

Numeric vector indicating the average selling price

total_bulk_and_bags_units

Numeric vector indicating the total bulk and bags units

plu4046_units

Numeric vector indicating the PLU 4046 units

plu4225_units

Numeric vector indicating the PLU 4225 units

plu4770_units

Numeric vector indicating the PLU 4770 units

total_bagged_units

Numeric vector indicating the total bagged units

sml_bagged_units

Numeric vector indicating the small bagged units

lrg_bagged_units

Numeric vector indicating the large bagged units

xlrg_bagged_units

Numeric vector indicating the extra-large bagged units

Source

Data taken from the avocado package version 0.2.0

Details

The dataset name has been kept as 'avocado_us_sale' to avoid confusion with other datasets in the R ecosystem. This naming convention helps distinguish this dataset as part of the agridatasets package and assists users in identifying its specific characteristics.