##
## The downloaded binary packages are in
## /var/folders/nw/7l08mg653w34vzd4vnnvy8xc0000gn/T//RtmpdtQeTE/downloaded_packages
We are looking into data that shows us the trends in traffic accidents in Estonia.
The comparison takes into account accidents happened in 2014 and accidents happened in 2021.
The general information is shown in the below table by month.
## ! Using an auto-discovered, cached token.
## To suppress this message, modify your code or options to clearly consent to
## the use of a cached token.
## See gargle's "Non-interactive auth" vignette for more details:
## <]8;;https://gargle.r-lib.org/articles/non-interactive-auth.htmlhttps://gargle.r-lib.org/articles/non-interactive-auth.html]8;;>
## ℹ The googlesheets4 package is using a cached token for
## ']8;;mailto:relikareinmann@gmail.comrelikareinmann@gmail.com]8;;'.
## ✔ Reading from "stats".
## ✔ Range 'Leht1'.
## # A tibble: 12 × 4
## Indicator Month `2014` `2021`
## <chr> <chr> <dbl> <dbl>
## 1 Traffic accidents January 92 77
## 2 Traffic accidents February 72 65
## 3 Traffic accidents March 83 65
## 4 Traffic accidents April 108 83
## 5 Traffic accidents May 126 170
## 6 Traffic accidents June 138 221
## 7 Traffic accidents July 170 218
## 8 Traffic accidents August 157 173
## 9 Traffic accidents September 143 139
## 10 Traffic accidents October 105 135
## 11 Traffic accidents November 101 113
## 12 Traffic accidents December 118 109
By looking into data, we can see that the average traffic accidents in one month for the year 2014 is 117.75. For 2021 the number is 130.66.
There has been an increase in the average numbers year to year.
## [1] 117.75
## [1] 130.6667
The below graph shows the trend
Year 2021
Year 2014
Traffic accidents have been increasing in 2021 compared to 2014.