spData
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 and GeoPackage, but from version 2.3.4, no longer ESRI Shapefile - use GeoPackage instead. 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
This file is intended to clarify ownership and copyright: where possible individual files also carry brief copyright notices. Copyrights ========== Files: inst/shapes/baltim.*, inst/shapes/columbus.*, and inst/shapes/sids.* are derived by permission from SAL data files prepared by Luc Anselin; they were downloaded from: http://geodacenter.asu.edu/sdata under the following conditions: "The data are provided as is, without any warranties. Please make sure to give proper credit when using them in any publications. Some of the data sets are purely illustrative and should not be used for substantive research." *********************** Files: data/afcon.rda, data/columbus.rda, data/nc.sids.rda are derived by permission from SpaceStat data files prepared by Luc Anselin; they were downloaded from: http://www.spacestat.com/data.htm#data under the following conditions: "All data sets are provided as is, and no warranties, expressed or implied are made as to the correctness and fitness for a purpose. Proper citation of the source of the data in published work would be appreciated." File: data/eire.rda is derived from data sets made available by Michael Tiefelsdorf based on sources named in man/eire.Rd, and downloaded from: http://geog-www.sbs.ohio-state.edu/faculty/tiefelsdorf/GeoStat.htm File: data/auckland.rda is derived from data sets included with INFOMAP in Bailey T, Gatrell A (1995) Interactive Spatial Data Analysis, Harlow: Longman, and is used with permission of the authors. File: data/NY_data.rda is derived from data sets for Waller, L. and C. Gotway (2004) Applied Spatial Statistics for Public Health Data, New York: John Wiley and Sons, and is used with permission of the authors. Other files in the data directory are derived from sources given on their help pages.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
2.3.4 |
rolling linux/jammy R-4.5 | spData_2.3.4.tar.gz |
3.7 MiB |
2.3.4 |
rolling linux/noble R-4.5 | spData_2.3.4.tar.gz |
3.7 MiB |
2.3.4 |
rolling source/ R- | spData_2.3.4.tar.gz |
3.6 MiB |
2.3.4 |
latest linux/jammy R-4.5 | spData_2.3.4.tar.gz |
3.7 MiB |
2.3.4 |
latest linux/noble R-4.5 | spData_2.3.4.tar.gz |
3.7 MiB |
2.3.4 |
latest source/ R- | spData_2.3.4.tar.gz |
3.6 MiB |
2.3.4 |
2026-04-26 source/ R- | spData_2.3.4.tar.gz |
3.6 MiB |
2.3.4 |
2026-04-23 source/ R- | spData_2.3.4.tar.gz |
3.6 MiB |
2.3.4 |
2026-04-09 windows/windows R-4.5 | spData_2.3.4.zip |
3.7 MiB |
2.3.4 |
2025-04-20 source/ R- | spData_2.3.4.tar.gz |
3.6 MiB |
Dependencies (latest)
Imports
Suggests
- foreign
- sf (>= 0.9-1)
- spDataLarge (>= 0.4.0)
- spdep
- spatialreg