Data sources

resource

Spatial data is available in a wide range of formats at the local, national, and international levels. Data is often published through larger data portals where you can find links to access data through a web service or options to download part of all of the data.

Local data sources for Baltimore and Maryland ๐Ÿฆ€

National data sources for the U.S. ๐Ÿ‡บ๐Ÿ‡ธ

Global data sources ๐ŸŒ

R packages for data access

General data access packages include:

  • {esri2sf} ๐Ÿ“ฆ to access ArcGIS FeatureServer data
  • {RSocrata} to access Socrata data portals
  • {ckanr} to access CKAN data portals

There are many different data access R packages for interacting with APIs and web services. A few broadly useful recommendations include:

  • {rnaturalearth}: Get Natural Earth data.
  • {tigris}: Download and use Census TIGER/Line shapefiles.
  • {tidycensus}: Get US Census boundary and attribute data.
  • {geodata}: Get climate, elevation, soil, crop, species occurrence, and administrative boundary data.
  • {dataRetrieval}: Get USGS or EPA water quality sample data, streamflow data, and metadata directly from web services.
  • {osmdata}: Get OpenStreetMap data.

I also maintain a few R packages for open data access in Baltimore and Maryland that students working on local projects may find helpful: