uci

Urban Centrality Index

https://github.com/ipeagit/uci

Science Score: 39.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.8%) to scientific vocabulary

Keywords

r urban-data-science urban-form urban-morphometrics
Last synced: 6 months ago · JSON representation

Repository

Urban Centrality Index

Basic Info
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 1
  • Open Issues: 1
  • Releases: 2
Topics
r urban-data-science urban-form urban-morphometrics
Created almost 3 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

ipea

uci: Urban Centrality Index

CRAN
   status CRAN/METACRAN Total downloads R-CMD-check Codecov test
coverage DOI Lifecycle:
     experimental

uci is an R package to calculate the Urban Centrality Index (UCI) originally proposed by Pereira et al., (2013). The UCI measures the extent to which the spatial organization of a city or region varies from extreme polycentric to extreme monocentric in a continuous scale from 0 to 1. Values close to 0 indicate more polycentric patterns and values close to 1 indicate a more monocentric urban form. More info on this vignette.

Installation

```R

from CRAN

install.packages('uci')

or use the development version with latest features

utils::remove.packages('uci') devtools::install_github("ipeaGIT/uci") ```

Basic Usage

```R library(uci)

load data

datadir <- system.file("extdata", package = "uci") grid <- readRDS(file.path(datadir, "grid_bho.rds"))

head(grid)

> Simple feature collection with 6 features and 4 fields

> Geometry type: POLYGON

> Dimension: XY

> Bounding box: xmin: -43.96438 ymin: -19.97414 xmax: -43.93284 ymax: -19.96717

> Geodetic CRS: WGS 84

> id population jobs schools geometry

> 1 89a881a5a2bffff 439 180 0 POLYGON ((-43.9431 -19.9741...

> 2 89a881a5a2fffff 266 134 0 POLYGON ((-43.94612 -19.972...

> 3 89a881a5a67ffff 1069 143 0 POLYGON ((-43.94001 -19.972...

> 4 89a881a5a6bffff 245 61 0 POLYGON ((-43.9339 -19.9728...

> 5 89a881a5a6fffff 298 11 0 POLYGON ((-43.93691 -19.971...

> 6 89a881a5b03ffff 555 1071 0 POLYGON ((-43.96136 -19.970...

calculate UCI

df <- uci( sfobject = grid, varname = 'jobs', bootstrap_border = FALSE, showProgress = TRUE )

head(df)

> UCI locationcoef spatialseparation spatialseparationmax

> 1 0.2538635 0.5278007 3880.114 7475.899

```

Citation ipea

The R package uci is developed by a team at the Institute for Applied Economic Research (Ipea), Brazil. If you use this package in research publications, please cite it as:

BibTeX: @article{pereira2013urbancentrality, title = {Urban {{Centrality}}: {{A Simple Index}}}, author = {Pereira, Rafael H. M. and Nadalin, Vanessa and Monasterio, Leonardo and Albuquerque, Pedro H. M.}, year = {2013}, journal = {Geographical Analysis}, volume = {45}, number = {1}, pages = {77--89}, issn = {1538-4632}, doi = {10.1111/gean.12002} }

Acknowledgement

The Hex image above illustrates Christaller’s Central Place Theory. It was adapted from an image originally created by Christaller and adapted by Becerra, 2015.

Owner

  • Name: IpeaDIRUR
  • Login: ipeaGIT
  • Kind: organization

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 16
  • Total pull requests: 0
  • Average time to close issues: about 1 month
  • Average time to close pull requests: N/A
  • Total issue authors: 4
  • Total pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 6 days
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • rafapereirabr (11)
  • rafabelokurows (1)
  • FlorianNachtigall (1)
  • retaoliveira (1)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 213 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 3
  • Total maintainers: 1
cran.r-project.org: uci

Urban Centrality Index

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 213 Last month
Rankings
Stargazers count: 23.9%
Forks count: 28.2%
Dependent packages count: 28.3%
Dependent repos count: 36.9%
Average: 39.7%
Downloads: 80.9%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rcmdcheck.yaml actions
  • actions/checkout v2 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R >= 4.2.0 depends
  • checkmate * imports
  • cppRouting * imports
  • data.table * imports
  • fields * imports
  • furrr * imports
  • future * imports
  • pbapply * imports
  • sf * imports
  • spdep * imports
  • utils * imports
  • covr * suggests
  • ggplot2 * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • stats * suggests
  • testthat * suggests