Datasets for Spatial Analysis

Diverse spatial datasets for demonstrating, benchmarking and teaching spatial data analysis. It includes R data of class sf (defined by the package 'sf'), Spatial ('sp'), and nb ('spdep'). Unlike other spatial data packages such as 'rnaturalearth' and 'maps', it also contains data stored in a range of file formats including GeoJSON, ESRI Shapefile and GeoPackage. Some of the datasets are designed to illustrate specific analysis techniques. cycle_hire() and cycle_hire_osm(), for example, is designed to illustrate point pattern analysis techniques.


Build Status CRAN version CRAN RStudio mirror downloads

Datasets for spatial analysis

  • alaska - Alaska multipolygon
  • aggregating_zones - See congruent
  • baltimore - House sales prices, Baltimore, MD 1978
  • congruent - Sample of UK administrative zones that have shared borders with aggregating_zones (incongruent does not have shared borders) for teaching the concept of spatial congruence
  • cycle_hire - Cycle hire points in London
  • cycle_hire_osm - Cycle hire points in London from OSM
  • hawaii - Hawaii multipolygon
  • incongruent - See congruent
  • lnd - The boroughs of London
  • nz - The regions of New Zealand
  • nz_height - High points in New Zealand
  • seine - Small river network in France
  • urban_agglomerations - Major urban areas worldwide
  • us_states - US states polygons
  • world - World country polygons
  • wheat - Mercer and Hall wheat yield data

sp

  • auckland - Marshall's infant mortality in Auckland dataset
  • elect80 - 1980 Presidential election results
  • house - Lucas county OH housing
  • SplashDams - Data for Splash Dams in western Oregon
  • state.vbm - US State Visibility Based Map

spdep

  • afcon - Spatial patterns of conflict in Africa 1966-78
  • boston - Boston Housing Data
  • columbus - Columbus OH spatial analysis data set
  • eire - Eire data sets
  • nc.sids - North Carolina SIDS data
  • NY_data - New York leukemia data
  • used.cars - US 1960 used car prices

raster

  • elev - Small raster dataset representing elevation values
  • grain - Small raster dataset representing grain size classes

misc

  • coffee_data - World coffee production statistics by country, 2016 - 2017
  • getisord - Getis-Ord remote sensing example data
  • hopkins - Hopkins burnt savanna herb remains
  • huddersfield - Prevalence of respiratory symptoms
  • jenks71 - Illinois 1959 county gross farm product value per acre
  • us_states_df - Selected American Community Survey (ACS) data
  • worldbank_df - Selected World Bank data

Installation

Get the released version from CRAN:

install.packages("spData")

Get the development version from github:

devtools::install_github("nowosad/spData")

spDataLarge

This package interacts with data available through the 'spDataLarge' package, which is available in a 'drat' repository. To access this data package, run:

install.packages("spDataLarge", repos = "https://nowosad.github.io/drat/", type = "source")

The size of the 'spDataLarge' package is approximately 20 MB.

Contributions

Feel free to submit issues and enhancement requests.

News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("spData")

0.3.5 by Jakub Nowosad, 2 months ago


https://nowosad.github.io/spData/


Report a bug at https://github.com/Nowosad/spData/issues


Browse source code at https://github.com/cran/spData


Authors: Roger Bivand [aut] , Jakub Nowosad [aut, cre] , Robin Lovelace [aut] , Mark Monmonier [ctb] (author of the state.vbm dataset) , Greg Snow [ctb] (author of the state.vbm dataset)


Documentation:   PDF Manual  


CC0 license


Imports sp, raster

Suggests foreign, maptools, rgdal, sf, spDataLarge, spdep, spatialreg


Imported by gwer, scgwr.

Depended on by spatialreg, spdep, spgwr.

Suggested by GWmodel, INLAMSM, R2BayesX, RPyGeo, classInt, echelon, epiR, geonetwork, rayrender, rcartocolor, rflexscan, sugarbag.


See at CRAN