Raport

2024-10-26

Zadania

Zadanie 1

Podsumuj najważniejsze statystyki dotyczące cen sprzedaży nieruchomości w mieście Sacramento według ich typu.

dane %>%
  filter(city =="SACRAMENTO") %>%
  group_by(type) %>%
  summarise(
    średnia = mean(price, na.rm=TRUE),
    mediana = median(price, na.rm=TRUE),
    minimun = min(price),
    maksimum = max(price),
    liczba = n()
  )
## # A tibble: 3 × 6
##   type         średnia mediana minimun maksimum liczba
##   <chr>          <dbl>   <dbl>   <int>    <int>  <int>
## 1 Condo        137691.  110700   40000   360000     27
## 2 Multi-Family 214190.  187290  100000   416767     10
## 3 Residential  201360.  180000   55422   699000    402