Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bergant/trafficaccidents

Traffic Accidents Data
https://github.com/bergant/trafficaccidents

data r traffic

Last synced: 2 months ago
JSON representation

Traffic Accidents Data

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, fig.path = "img/")

library(dplyr)
library(datamodelr) # bergant/datamodelr
library(trafficaccidents) # bergant/trafficaccidents
```

# trafficaccidents

An R data package containing traffic accidents in Slovenia from 2005 to 2016

## Data Source

Source:
[http://www.policija.si/index.php/statistika/prometna-varnost](http://www.policija.si/index.php/statistika/prometna-varnost).

## Installation

Install from GitHub:

```{r eval=FALSE, echo=TRUE}
#install.packages("devtools")
devtools::install_github("bergant/trafficaccidents")
```

## Usage

```{r}
library(trafficaccidents)
```

See data structure description and some visualization examples in the
[usage tutorial](http://bergant.github.io/trafficaccidents).

[![](docs/animation/accidents_animation.gif)](http://bergant.github.io/trafficaccidents)