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.
- Host: GitHub
- URL: https://github.com/lbuk/spaceratio
- Owner: lbuk
- License: gpl-3.0
- Created: 2023-08-22T22:43:06.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-11-23T13:58:48.000Z (over 1 year ago)
- Last Synced: 2025-02-08T00:41:30.776Z (over 1 year ago)
- Topics: built-environment, dataviz, density, r
- Language: R
- Homepage:
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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')
```

### 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.