spData v0.3.5

0

Monthly downloads

0th

Percentile

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.

Readme

spData

Build
Status CRAN
version CRAN RStudio mirror
downloads

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

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.

Functions in spData

Name Description
boston Corrected Boston Housing Data
house Lucas county OH housing
elect80 1980 Presidential election results
getisord Getis-Ord remote sensing example data
hawaii Hawaii multipolygon
cycle_hire_osm Cycle hire points in London from OSM
state.vbm US State Visibility Based Map
elev Artificial elevation raster data set
nc.sids North Carolina SIDS data
nydata New York leukemia data
huddersfield Prevalence of respiratory symptoms
eire Eire data sets
seine Small river network in France
grain Artificial raster dataset representing grain sizes
wheat Mercer and Hall wheat yield data
us_states US states polygons
hopkins Hopkins burnt savanna herb remains
us_states_df the American Community Survey (ACS) data
worldbank_df World Bank data
urban_agglomerations Major urban areas worldwide
used.cars US 1960 used car prices
nz_height High points in New Zealand
jenks71 Illinois 1959 county gross farm product value per acre
world World country polygons
lnd The boroughs of London
nz Regions in New Zealand
baltimore House sales prices, Baltimore, MD 1978
cycle_hire Cycle hire points in London
alaska Alaska multipolygon
congruent Datasets to illustrate the concept of spatial congruence
auckland Marshall's infant mortality in Auckland dataset
SplashDams Data for Splash Dams in western Oregon
columbus Columbus OH spatial analysis data set
coffee_data World coffee production data
afcon Spatial patterns of conflict in Africa 1966-78
No Results!

Last month downloads

Details

License CC0
RoxygenNote 7.1.0
LazyData true
URL https://nowosad.github.io/spData/
BugReports https://github.com/Nowosad/spData/issues
Additional_repositories https://nowosad.github.io/drat
NeedsCompilation no
Packaged 2020-04-05 07:02:30 UTC; jn
Repository CRAN
Date/Publication 2020-04-06 10:50:10 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/spData)](http://www.rdocumentation.org/packages/spData)