All Projects → luukvdmeer → Sfnetworks

luukvdmeer / Sfnetworks

Licence: other
Tidy Geospatial Networks in R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Sfnetworks

Tidygraph
A tidy API for graph manipulation
Stars: ✭ 398 (+156.77%)
Mutual labels:  tidyverse, network-analysis
Depthmapx
depthmapX is a multi-platform Spatial Network Analysis Software
Stars: ✭ 120 (-22.58%)
Mutual labels:  spatial-analysis, network-analysis
Spatstat
Development version of 'spatstat' package ..............................
Stars: ✭ 128 (-17.42%)
Mutual labels:  spatial-analysis, network-analysis
public-transit-tools
Tools for working with GTFS public transit data in ArcGIS
Stars: ✭ 126 (-18.71%)
Mutual labels:  spatial-analysis, network-analysis
Pgrouting
Repository contains pgRouting library. Development branch is "develop", stable branch is "master"
Stars: ✭ 804 (+418.71%)
Mutual labels:  spatial-analysis, network-analysis
Ppd599
USC urban data science course series with Python and Jupyter
Stars: ✭ 1,062 (+585.16%)
Mutual labels:  spatial-analysis, network-analysis
Peartree
peartree: A library for converting transit data into a directed graph for sketch network analysis.
Stars: ✭ 116 (-25.16%)
Mutual labels:  spatial-analysis, network-analysis
Docker Bro
Bro IDS Dockerfile
Stars: ✭ 126 (-18.71%)
Mutual labels:  network-analysis
Tidygeocoder
Geocoding Made Easy
Stars: ✭ 137 (-11.61%)
Mutual labels:  tidyverse
Nload
Real-time network traffic monitor
Stars: ✭ 121 (-21.94%)
Mutual labels:  network-analysis
Networkdata
R package containing several network datasets
Stars: ✭ 119 (-23.23%)
Mutual labels:  network-analysis
Catmaid
Collaborative Annotation Toolkit for Massive Amounts of Image Data
Stars: ✭ 126 (-18.71%)
Mutual labels:  network-analysis
Tidyquery
Query R data frames with SQL
Stars: ✭ 138 (-10.97%)
Mutual labels:  tidyverse
Sweep
Extending broom for time series forecasting
Stars: ✭ 143 (-7.74%)
Mutual labels:  tidyverse
Tidyheatmap
Draw heatmap simply using a tidy data frame
Stars: ✭ 151 (-2.58%)
Mutual labels:  tidyverse
Book
This book serves as an introduction to a whole new way of thinking systematically about geographic data, using geographical analysis and computation to unlock new insights hidden within data.
Stars: ✭ 141 (-9.03%)
Mutual labels:  spatial-analysis
Wireshark Cheatsheet
Wireshark Cheat Sheet
Stars: ✭ 131 (-15.48%)
Mutual labels:  network-analysis
Freud
Powerful, efficient particle trajectory analysis in scientific Python.
Stars: ✭ 118 (-23.87%)
Mutual labels:  spatial-analysis
Etherate
Linux CLI Ethernet and MPLS Testing Tool
Stars: ✭ 130 (-16.13%)
Mutual labels:  network-analysis
Sparkling Graph
SparklingGraph provides easy to use set of features that will give you ability to proces large scala graphs using Spark and GraphX.
Stars: ✭ 139 (-10.32%)
Mutual labels:  network-analysis

Tidy Geospatial Networks in R

R build status Codecov test coverage CRAN Downloads

sfnetworks is an R package for analysis of geospatial networks. It connects the functionalities of the tidygraph package for network analysis and the sf package for spatial data science.

Background

Thanks to active developer and user communities, R is becoming an increasingly popular language for interactive geospatial data analysis. A large step forward was the release of the sf package, which provides classes and functions to represent and manipulate spatial vector data. Unlike its predecessors, sf is compatible with the popular data science oriented packages that form the tidyverse, most notably the data manipulation toolbox dplyr, and more generally with the concept of tidy data.

R is also well-suited for network analysis, thanks to the R interface of the igraph library. The tidygraph package extends igraph into the domain of the tidyverse, enabling compatibility with dplyr by treating a graph as a collection of two tidy data frames describing respectively the nodes and edges.

Given the strength of R in spatial and network analysis, one would expect it to be an ideal language for analysis of geospatial networks. Geospatial networks are simultaneously graph and spatial objects, with nodes and edges embedded in geographic space. Well known examples include transport networks, river basins, power grids, ecological networks and geolocated social networks.

Although several R packages exist that address geospatial networks, they often focus on a specific application within the broader domain of geospatial network analysis, or complicate tidyverse compatibility. At present, no general purpose, tidyverse compatible classes exist for geospatial network data, representing a gap in R's spatial and network analysis ecosystems (see the gRaphical Models and Spatial task views). sfnetworks is created to fill this gap, and form a connecting edge between the two worlds.

The core of the package is a data structure that can be provided as input to both graph analytical functions of tidygraph and to spatial analytical functions of sf, without the need for conversion. On top of that, it contains a set of spatial network specific functions that can be used alongside the offer of the two 'parent packages'.

Installation

You can install the latest stable version of sfnetworks from CRAN with:

install.packages("sfnetworks")

The sfnetworks package is still in very active development, Therefore, the package is also not on CRAN yet. Install it directly from GitHub using the remotes package in R.

You can install the development version from GitHub with:

remotes::install_github("luukvdmeer/sfnetworks")

Note: Two important dependencies of sfnetworks, the sf package for spatial data science and the igraph package for network analysis, require some low-level software libraries to be installed on your system. Depending on which operating system you use, this can mean that you have to install these system requirements first, before you can install sfnetworks. See the installation guides of sf and igraph for details.

Usage

The main goal of sfnetworks is to connect the tidygraph package for network analysis and the sf package for spatial data science. To make the most out of it, it is recommended to make yourself familiar with these two 'parent packages' if you don't know them yet.

There are currently five vignettes that guide you through the functionalities of sfnetworks:

(GIF (c) by Lore Abad)

Contribution

We look very much forward to contributions to the package. See the contributing guide for further details.

This project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Acknowledgment

This project gratefully acknowledges financial support from the

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].