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

https://github.com/lbuk/spaceratio

An R package for charting density potentials in the built environment using Space Ratio and the Space Ratio Chart.
https://github.com/lbuk/spaceratio

built-environment dataviz density r

Last synced: about 1 year ago
JSON representation

An R package for charting density potentials in the built environment using Space Ratio and the Space Ratio Chart.

Awesome Lists containing this project

README

          

# spaceratio

### Overview
spaceratio is an R package for charting density potentials in the built environment using Space Ratio, or the ratio of the existing density to the permissible density, and the Space Ratio Chart (Bolton, 2021).

For more information about Space Ratio, you can read this journal article published in Sustainable Cities and Society.

### Installation
spaceratio can be installed from Github.
```
library(devtools)
install_github("lbuk/spaceratio")
```

### Use
```
library(spaceratio)

# Density variables
d_var <- c("FAR", "H", "DPH", "GSI")

# Space Ratios
s_val <- c(0.75, 0.8, 0.95, 0.91)

# Visualise the Space Ratio Chart
spaceratio(density_var = d_var, space_ratio = s_val, output = 'plot')
```
![](https://github.com/lbuk/spaceratio/blob/master/img/example_chart.png)

### References
Bolton, L.T. (2021). 'Space ratio: a measure of density potentials in the built environment', _Sustainable Cities and Society_, 75, p.103356. doi: 10.1016/j.scs.2021.103356.