README.md 1.89 KB
Newer Older
Sven Lautenbach's avatar
Sven Lautenbach committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Analysis of the completeness of the road network and health sites in Jakarta  based on the ohsome API with R
================

# Introduction

The aim of the analysis was to decide if data quality of OpenStreetMap (OSM) was sufficient to perform an analysis of effects of the Jakarta 2013 flood on the road network and the accessibility of health sites. For this purpose it is important that the road network in Jakarta as well as the number of hospitals and clinics is highly complete. This is analyzed based on the development of contributions and the number of active users.

The analysis of effects of the Jakarta 2013 flood on the road network and the accessibility of health sites was done in Python. The code is located in https://github.com/GIScience/Jakarta_Thesis_Klipper.

# Requirements

The analysis is presented as RMarkdown files - which requieres the use of RStudio in addition to R.

For the compilation of the HTML files the *rmdformats* package is used which should be installed (`install.packages("rmdformats")`). Furthere information available at <https://github.com/cran/rmdformats>. The package is available on CRAN.

The analysis requires the following packes to be installed, which are all available on CRAN and can be installed by the ususal ways (RStudio GUI ori `install.packages(...)`):

  - sf - for spatial data handling
  - tmap - for thematic mapping (only for testing purposes)
  - RCurl - to query the ohsome api
  - geojsonio and RJSONIO to handle geoJSON rmdformats
  - tidyverse - for data preprocessing
  - units - for unit conversion
  - osmdata - to get the administartive boundaries of Jakarta
  - ggplot2 - for the plotting of results
  - ggpubr - to arrange multiple ggplot2 graphs

  # Analysis

  - `DQ_healthsite_access.Rmd` - derives OSM contributions and number of active users and serializes the results
  - `DQ_healthsite_access_plots.Rmd` - reads the results and creates the plots