MazamaSpatialUtils0.8.7 package

Spatial Data Download and Utility Functions

codeToCountry

Convert country codes to country names

codeToState

Convert state codes to state nnames

CONUS

CONUS state codes

convertEEZCountries

Convert Exclusive Economic Zones countries shapefile

convertEPARegions

Convert EPA Region shapefiles

convertGACC

Convert Geographic Area Coordination Center shapefile

convertLayer

Convert shapefile layer to simple features dataframe

convertNaturalEarthAdm1

Convert Level 1 (state) borders shapefile

convertOSMTimezones

Convert OSM timezone shapefile

convertTMWorldBorders

Convert world borders shapefile

convertUSCensusCBSA

Convert US Core Based Statistical Areas shapefile

convertUSCensusCongress

Convert US congressional districts shapefile

convertUSCensusCounties

Convert US county borders shapefile

convertUSCensusStates

Convert US Census state shapefile

convertWBDHUC

Convert USGS hydrologic unit geodatabase

convertWeatherZones

Convert NWS Public Forecast Zones Shapefile.

convertWikipediaTimezoneTable

Convert Wikipedia timezone table to dataframe

countryConversion

Conversion functions for country names, codes and FIPS codes.

countryToCode

Convert country names to country codes

dissolve

Aggregate shapes in a simple features data frame

dot-removeSpatialDataDir

Remove package data directory

getCountry

Return country names at specified locations

getCountryCode

Return country ISO codes at specified locations

getCountryName

Return country names at specified locations

getHUC

Return HUCs at specified locations

getHUCName

Return HUC names at specified locations

getPolygonID

Get polygonID from SFDF of interest

getSpatialData

Return spatial data associated with a set of locations

getSpatialDataDir

Get package data directory

getState

Return state names at specified locations

getStateCode

Return state ISO codes at specified locations

getStateName

Return state names at specified locations

getTimezone

Return Olson timezones at specified locations

getUSCounty

Return US county name at specified locations

getVariable

Return SFDF variable at specified locations

installedSpatialData

List locally installed spatial datasets

installSpatialData

Install spatial datasets

iso2ToIso3

Convert from ISO2 to ISO3 country codes

iso3ToIso2

Convert from ISO3 to ISO2 country codes

loadSpatialData

Load spatial datasets

MazamaSpatialUtils

Mazama Science spatial data and utility functions.

pipe

Pipe operator

setSpatialDataDir

Set package data directory

simplify

Simplify simple features data frame

simplifyAndSave

Save simplified versions of a spatial features dataframe

SpatialDataDir

Directory for spatial data

stateToCode

Convert state names to state codes

summarizeByPolygon

Summarize values by polygon

US_52

US state codes

US_countyConversion

Conversion functions for US county names and FIPS codes.

US_stateCodes

Dataframe of US state codes

US_stateConversion

Conversion functions for US state names, codes and FIPS codes.

A suite of conversion functions to create internally standardized spatial polygons data frames. Utility functions use these data sets to return values such as country, state, time zone, watershed, etc. associated with a set of longitude/latitude pairs. (They also make cool maps.)

  • Maintainer: Jonathan Callahan
  • License: GPL-2
  • Last published: 2024-11-03