# Spatial Data Download and Utility Functions

## Documentation for package ‘MazamaSpatialUtils’ version 0.7.6

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Code demos. Use demo() to run them.

## Help Pages

codeToCountry | Convert country codes to country names
codeToState | Convert state codes to state nnames
CONUS | CONUS state codes
convertCARBAirBasins | Convert California Air Resources Board basin shapefiles
convertEEZCountries | Convert Exclusive Economic Zones countries shapefile
convertEPARegions | Convert EPA Region shapefiles
convertGACC | Convert Geographic Area Coordination Center shapefile
convertGADM | Convert Global Administrative Areas (GADM) SPDF
convertNaturalEarthAdm1 | Convert Level 1 (State) Borders Shapefile
convertNWSFireZones | Convert NWS Public Forecast Zones Shapefile
convertOSMTimezones | Convert OSM Timezone Shapefile
convertStateLegislativeDistricts | Convert US state legislative districts shapefile
convertTerrestrialEcoregions | Convert Terrestrial Ecoregion Shapefile
convertTMWorldBorders | Convert World Borders Shapefile
convertTMWorldBordersSimple | Convert (Simple) 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
convertUSCensusUrbanAreas | Convert US Census Urban Areas shapefiles
convertUSIndianLands | Convert Indian Lands Shapefile
convertWBDHUC | Convert USGS hydrologic unit shapefiles
convertWeatherZones | Convert NWS Public Forecast Zones Shapefile.
convertWikipediaTimezoneTable | Convert Wikipedia Timezone Table to Dataframe
convertWorldTimezones | Convert Timezone Shapefile
countryToCode | Convert country names to country codes
dissolve | Aggregate shapes in a SpatialPolygonsDataFrame
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 SPDF 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 SPDF variable at specified locations
installedSpatialData | List locally installed spatial datasets
installSpatialData | Install spatial datasets
installSpatialData_0.6 | Install version 0.6 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.
setSpatialDataDir | Set package data directory
SimpleCountries | Simplified spatial dataset of country boundaries.
SimpleCountriesEEZ | Simplified spatial dataset of EEZ/country combined boundaries.
SimpleTimezones | Simplified spatial dataset of world timezones.
simplify | Simplify SpatialPolygonsDataFrame
SpatialDataDir | Directory for spatial data
stateToCode | Convert state names to state codes
subsetHUC | Subset pre-formatted HUC files into smaller groupings.
summarizeByPolygon | Summarize values by polygon
US_52 | US state codes
US_countyCodes | Dataframe of US state codes
US_countyConversion | Conversion functions for US county names and FIPS codes.
US_countyFIPSToName | Conversion functions for US county names and FIPS codes.
US_countyNameToFIPS | Conversion functions for US county names and FIPS codes.
US_stateCodes | Dataframe of US state codes
US_stateCodeToCode | Conversion functions for US state names, codes and FIPS codes.
US_stateCodeToFIPS | Conversion functions for US state names, codes and FIPS codes.
US_stateCodeToName | Conversion functions for US state names, codes and FIPS codes.
US_stateConversion | Conversion functions for US state names, codes and FIPS codes.
US_stateFIPSToCode | Conversion functions for US state names, codes and FIPS codes.
US_stateFIPSToName | Conversion functions for US state names, codes and FIPS codes.
US_stateNameToCode | Conversion functions for US state names, codes and FIPS codes.
US_stateNameToFIPS | Conversion functions for US state names, codes and FIPS codes.