# Spatial Data Download and Utility Functions

## Documentation for package ‘MazamaSpatialUtils’ version 0.5.2

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

## Help Pages

MazamaSpatialUtils-package | Mazama Science spatial data and utility functions.
codeToCountry | Convert Country Codes to Country Names
codeToState | Convert State Codes to State Names
convertEEZCountries | Convert Exclusive Economic Zones Countries Shapefile
convertGADM | Convert Global Administrative Areas (GADM) Shapefile
convertHMSSmoke | Convert NOAA Hazard Mapping System Smoke Shapefiles
convertIndianLands | Convert Indian Lands Shapefile
convertISOCodeTable | Convert ISO country code Table to Dataframe
convertNaturalEarthAdm1 | Convert Level 1 (State) Borders Shapefile
convertOSMTimezones | Convert OSM Timezone Shapefile
convertSimpleCountries | Convert (Simple) World Borders Shapefile
convertSimpleCountriesEEZ | Convert (Simple) World Borders Shapefile
convertSimpleTimezones | Convert SimpleTimezones Shapefile
convertTerrestrialEcoregions | Convert Terrestrial Ecoregion Shapefile
convertTMWorldBorders | Convert World Borders Shapefile
convertTMWorldBordersSimple | Convert (Simple) World Borders Shapefile
convertUSCensusCongress | Convert US Congressional Disctricts Shapefile
convertUSCensusCounties | Convert US County Borders Shapefile
convertUSCensusStates | Convert US Census State Shapefile
convertWBDHUC | Convert USGS Hydrologic Unit Shapefiles
convertWikipediaTimezoneTable | Convert Wikipedia Timezone Table to Dataframe
convertWorldEEZ | Convert World Exclusive Economic Zones Boundaries Shapefile
convertWorldTimezones | Convert Timezone Shapefile
countryToCode | Convert Country Names to Country Codes
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 SpatialDataframe Variable at Specified Locations
installSpatialData | Install Spatial Datasets
iso2ToIso3 | Convert From ISO2 to ISO3 Country Codes
iso3ToIso2 | Convert Betweenrom ISO3 to ISO2 Country Codes
loadSpatialData | Load Spatial Datasets
MazamaSpatialUtils | Mazama Science spatial data and utility functions.
setSpatialDataDir | Set Package Data Directory
SimpleCountries | World Country Polygons
SimpleCountriesEEZ | World Country EEZ Polygons
SimpleTimezones | World Timezone Polygons
SpatialDataDir | Directory for Spatial Data
stateToCode | Convert State Names to State Codes
subsetHUC | Subset pre-formatted HUC files into smaller groupings.