Skip to main content

Section 8.3 Loading Our Data

We start by importing the necessary packages, reading in our data from the reproresearchR package ([D.1.24]), and quickly doing an overview of the data.
library(tidyverse)
library(reproresearchR)

pizza_sales<- pizza_prices

library(skimr)

skim(pizza_sales)
── Data Summary ────────────────────────
                           Values     
Name                       pizza_sales
Number of rows             156        
Number of columns          3          
_______________________               
Column type frequency:                
  numeric                  3          
________________________              
Group variables            None       

── Variable type: numeric ──────────────────────────────────────────────────────
  skim_variable n_missing complete_rate     mean        sd       p0      p25
1 Week                  0             1    78.5     45.2       1       39.8 
2 Total Volume          0             1 88024.   22864.    55031    74347   
3 Total Price           0             1     2.66     0.134     2.31     2.58
       p50      p75      p100 hist 
1    78.5    117.      156    β–‡β–‡β–‡β–‡β–‡
2 83889    95113    227177    ▇▃▁▁▁
3     2.67     2.75      2.96 ▁▃▇▆▂