Learn R Programming

⚠️There's a newer version (2.3.4) of this package.Take me there.

spData

Datasets for spatial analysis

sf

  • alaska - Alaska multipolygon
  • aggregating_zones - See congruent
  • 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

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.tif - Small raster dataset representing elevation values
  • grain.tif - Small raster dataset representing grain size classes

misc

  • baltimore - House sales prices, Baltimore, MD 1978
  • coffee_data - World coffee production statistics by country, 2016 and 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
  • wheat - Mercer and Hall wheat yield data
  • worldbank_df - Selected World Bank data
  • depmunic and properties - Athens properties data set from HSAR

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. Learn more about the spDataLarge package at https://github.com/Nowosad/spDataLarge.

Contributions

Feel free to submit issues and enhancement requests.

Copy Link

Version

Install

install.packages('spData')

Monthly Downloads

34,902

Version

2.3.0

License

CC0

Maintainer

Jakub Nowosad

Last Published

July 6th, 2023

Functions in spData (2.3.0)

elev.tif

Artificial elevation raster data set
cycle_hire_osm

Cycle hire points in London from OSM
grain.tif

Artificial raster dataset representing grain sizes
nz_height

High points in New Zealand
properties

Dataset of properties in the municipality of Athens (sf)
depmunic

Municipality departments of Athens (Sf)
hawaii

Hawaii multipolygon
afcon

Spatial patterns of conflict in Africa 1966-78
nc.sids

North Carolina SIDS data
seine

Small river network in France
getisord

Getis-Ord remote sensing example data
hopkins

Hopkins burnt savanna herb remains
wheat

Mercer and Hall wheat yield data
state.vbm

US State Visibility Based Map
urban_agglomerations

Major urban areas worldwide
lnd

The boroughs of London
us_states

US states polygons
nz

Regions in New Zealand
house

Lucas county OH housing
world

World country polygons
nydata

New York leukemia data
auckland

Marshall's infant mortality in Auckland dataset
eire

Eire data sets
elect80

1980 Presidential election results
huddersfield

Prevalence of respiratory symptoms
jenks71

Illinois 1959 county gross farm product value per acre
us_states_df

the American Community Survey (ACS) data
used.cars

US 1960 used car prices
worldbank_df

World Bank data
columbus

Columbus OH spatial analysis data set
congruent

Datasets to illustrate the concept of spatial congruence
SplashDams

Data for Splash Dams in western Oregon
coffee_data

World coffee production data
baltimore

House sales prices, Baltimore, MD 1978
alaska

Alaska multipolygon
boston

Corrected Boston Housing Data
cycle_hire

Cycle hire points in London