{"id":22980523,"url":"https://github.com/lbuk/spaceratio","last_synced_at":"2025-06-10T19:35:35.148Z","repository":{"id":190056083,"uuid":"681851434","full_name":"lbuk/spaceratio","owner":"lbuk","description":"An R package for charting density potentials in the built environment using Space Ratio and the Space Ratio Chart.","archived":false,"fork":false,"pushed_at":"2024-11-23T13:58:48.000Z","size":58,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T00:41:30.776Z","etag":null,"topics":["built-environment","dataviz","density","r"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lbuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-22T22:43:06.000Z","updated_at":"2024-11-23T13:58:51.000Z","dependencies_parsed_at":"2023-08-23T03:31:39.448Z","dependency_job_id":"26386a6a-f681-422e-bdd0-a00fd5daa0c0","html_url":"https://github.com/lbuk/spaceratio","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"9af0ddbb119ae65fc16ed175142da11b14ef8c1a"},"previous_names":["lbuk/spaceratio"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbuk%2Fspaceratio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbuk%2Fspaceratio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbuk%2Fspaceratio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbuk%2Fspaceratio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lbuk","download_url":"https://codeload.github.com/lbuk/spaceratio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246792450,"owners_count":20834920,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["built-environment","dataviz","density","r"],"created_at":"2024-12-15T01:43:48.917Z","updated_at":"2025-04-02T09:40:39.528Z","avatar_url":"https://github.com/lbuk.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spaceratio\n\n### Overview\nspaceratio is an R package for charting density potentials in the built environment using \u003ca href=\"https://www.liamthomasbolton.com/portfolio/SpaceRatio/\"\u003eSpace Ratio\u003c/a\u003e, or the ratio of the existing density to the permissible density, and the Space Ratio Chart (Bolton, 2021). \n\nFor more information about Space Ratio, you can read this \u003ca href=\"https://discovery.ucl.ac.uk/id/eprint/10156128/\"\u003ejournal article\u003c/a\u003e published in \u003ca href=\"https://www.sciencedirect.com/journal/sustainable-cities-and-society\"\u003eSustainable Cities and Society\u003c/a\u003e.\n\n### Installation\nspaceratio can be installed from Github.\n```\nlibrary(devtools)\ninstall_github(\"lbuk/spaceratio\")\n```\n\n### Use\n```\nlibrary(spaceratio)\n\n# Density variables\nd_var \u003c- c(\"FAR\", \"H\", \"DPH\", \"GSI\")\n\n# Space Ratios\ns_val \u003c- c(0.75, 0.8, 0.95, 0.91)\n\n# Visualise the Space Ratio Chart\nspaceratio(density_var = d_var, space_ratio = s_val, output = 'plot')\n```\n![](https://github.com/lbuk/spaceratio/blob/master/img/example_chart.png)\n\n### References\nBolton, 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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbuk%2Fspaceratio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbuk%2Fspaceratio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbuk%2Fspaceratio/lists"}