Coder Social home page Coder Social logo

rtadb's Introduction

Road Traffic Accident Database

Road Traffic Accident Database (RTADB) is the database for analysis of road traffic accidents. The database is scalable using your data set related to traffic accidents. This repository contains scripts that build the database for analyzing traffic accident data.

🚀Usage

Starting Up the Database

Make sure you have docker installed.

In order to run the container capable of serving a PostGIS-enabled database, the following command at the root of your project:

docker-compose up -d --build

After executing the command, you can open RStudio as the analysis environment by accessing http://localhost:8787.

About postgis/postgis image used this container, see the page.

Sample Database

Once you have started a database container, you can build the sample database using the R script(depends R ≥ 4.1) contained in this repository.

The sample database contains followings:

  • Road traffic accidents data
  • Administrative area data
  • Land use data
  • Traffic volume data
  • Japanese regional grid squares data

To use these data, download each and place it in dir, data-raw/[data-name]/

Each data using the sample database be obtained from followings:

Directory Description Download
traffic-accidents Traffic accident data provided by Aichi prefectural police. -
administrative-areas Information on administrative areas such as cities and wards. Information on the names of the administrative districts of Aichi Prefecture is included in aichi.csv. Spatial information on administrative areas is provided by R Package 'jpndistrict'. -
population-census Population of each municipality in Aichi Prefecture. here
land-use Data classified by land in Aichi Prefecture. here
traffic-volumes-points Location data of the spot traffic volume measurement points. The detailed version A of location information of spot traffic volume is included. -
traffic-volumes Spot traffic volume mesurement data. here

📝License

This project is MIT licensed.

rtadb's People

Contributors

nononoexe avatar

Stargazers

Nobuhiro Ito avatar Shinya Uryu avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.