# Spatial Data Download and Utility Functions

## Documentation for package ‘MazamaSpatialUtils’ version 0.8.7

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

## Help Pages

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
countryCodeToFIPS | Conversion functions for country names, codes and FIPS codes.
countryCodeToName | Conversion functions for country names, codes and FIPS codes.
countryConversion | Conversion functions for country names, codes and FIPS codes.
countryFIPSToCode | Conversion functions for country names, codes and FIPS codes.
countryFIPSToName | Conversion functions for country names, codes and FIPS codes.
countryNameToCode | Conversion functions for country names, codes and FIPS codes.
countryNameToFIPS | 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
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
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 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_countyCodes | Dataframe of US county 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_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.