MazamaSpatialUtils: Mazama Science Spatial Data Download and Utility Functions

A suite of conversion scripts to create internally standardized spatial polygons dataframes. Utility scripts use these datasets to return values such as country, state, timezone, watershed, etc. associated with a set of longitude/latitude pairs. (They also make cool maps.)

AuthorJonathan Callahan [aut, cre], Ruby Fore [aut], Will Leahy [aut], Henry Nguyen [aut], Robin Winstanley [aut], Alice Yang [aut]
Date of publication2016-11-18 23:04:47
MaintainerJonathan Callahan <jonathan.s.callahan@gmail.com>
LicenseGPL-2
Version0.4.8

View on CRAN

Man pages

codeToCode: Convert Between ISO2 and ISO3 Country Codes

codeToCountry: Convert Country Codes to Country Names

codeToState: Convert State Codes to State Names

convertGADM: Convert and Regularize Data from the GADM Database

convertHMSSmoke: Convert NOAA Hazard Mapping System Smoke Shapefiles

convertLayer: Convert Shapefile Layer to Spatial Polygon Dataframe

convertNaturalEarthAdm1: Convert Level 1 (State) Borders Shapefile

convertTMWorldBorders: Convert World Borders Shapefile

convertTMWorldBordersSimple: Convert (Simple) World Borders Shapefile

convertUSCensusCounties: Convert US County Borders Shapefile

convertWBDHUC: Convert USGS Hydrologic Unit Shapefiles

convertWikipediaTimezoneTable: Convert Wikipedia Timezone Table to Dataframe

convertWorldEEZ: Convert World Exclusive Economic Zones Boundaries Shapefile

convertWorldTimezones: Create Timezone Dataset

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

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

initializeSpatialData: Install Core Datasets

installSpatialData: Install a Named Spatial Dataset

loadSpatialData: Load a Named Spatial Dataset into the Global Environment

MazamaSpatialUtils: Mazama Science spatial data and utility functions.

organizePolygons: Organize Ungrouped Polygons

setSpatialDataDir: Set Package Data Directory

SimpleCountries: World Country 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.

Files in this package

MazamaSpatialUtils
MazamaSpatialUtils/tests
MazamaSpatialUtils/tests/testthat.R
MazamaSpatialUtils/tests/testthat
MazamaSpatialUtils/tests/testthat/test1.R
MazamaSpatialUtils/NAMESPACE
MazamaSpatialUtils/demo
MazamaSpatialUtils/demo/findCountries.R
MazamaSpatialUtils/demo/findTimezones.R
MazamaSpatialUtils/demo/findStates.R
MazamaSpatialUtils/demo/00Index
MazamaSpatialUtils/data
MazamaSpatialUtils/data/SimpleCountries.RData
MazamaSpatialUtils/data/SimpleTimezones.RData
MazamaSpatialUtils/R
MazamaSpatialUtils/R/subsetHUC.R MazamaSpatialUtils/R/convertTMWorldBordersSimple.R MazamaSpatialUtils/R/getStateCode.R MazamaSpatialUtils/R/convertNaturalEarthAdm1.R MazamaSpatialUtils/R/convertWorldTimezones.R MazamaSpatialUtils/R/loadSpatialData.R MazamaSpatialUtils/R/convertWBDHUC.R MazamaSpatialUtils/R/getCountry.R MazamaSpatialUtils/R/getState.R MazamaSpatialUtils/R/organizePolygons.R MazamaSpatialUtils/R/getVariable.R MazamaSpatialUtils/R/convertTMWorldBorders.R MazamaSpatialUtils/R/getCountryName.R MazamaSpatialUtils/R/getStateName.R MazamaSpatialUtils/R/convertGADM.R MazamaSpatialUtils/R/convertHMSSmoke.R MazamaSpatialUtils/R/getTimezone.R MazamaSpatialUtils/R/convertWikipediaTimezoneTable.R MazamaSpatialUtils/R/convertUSCensusCounties.R MazamaSpatialUtils/R/convertWorldEEZ.R MazamaSpatialUtils/R/convertLayer.R MazamaSpatialUtils/R/getSpatialData.R MazamaSpatialUtils/R/getCountryCode.R MazamaSpatialUtils/R/getUSCounty.R MazamaSpatialUtils/R/getHUC.R MazamaSpatialUtils/R/installSpatialData.R MazamaSpatialUtils/R/MazamaSpatialUtils.R MazamaSpatialUtils/R/getHUCName.R
MazamaSpatialUtils/README.md
MazamaSpatialUtils/MD5
MazamaSpatialUtils/DESCRIPTION
MazamaSpatialUtils/man
MazamaSpatialUtils/man/convertWorldEEZ.Rd MazamaSpatialUtils/man/SimpleCountries.Rd MazamaSpatialUtils/man/subsetHUC.Rd MazamaSpatialUtils/man/convertTMWorldBorders.Rd MazamaSpatialUtils/man/getCountry.Rd MazamaSpatialUtils/man/getSpatialDataDir.Rd MazamaSpatialUtils/man/getStateName.Rd MazamaSpatialUtils/man/installSpatialData.Rd MazamaSpatialUtils/man/getHUC.Rd MazamaSpatialUtils/man/getCountryCode.Rd MazamaSpatialUtils/man/convertWBDHUC.Rd MazamaSpatialUtils/man/MazamaSpatialUtils.Rd MazamaSpatialUtils/man/getCountryName.Rd MazamaSpatialUtils/man/convertLayer.Rd MazamaSpatialUtils/man/convertWikipediaTimezoneTable.Rd MazamaSpatialUtils/man/loadSpatialData.Rd MazamaSpatialUtils/man/SpatialDataDir.Rd MazamaSpatialUtils/man/convertWorldTimezones.Rd MazamaSpatialUtils/man/codeToCode.Rd MazamaSpatialUtils/man/setSpatialDataDir.Rd MazamaSpatialUtils/man/SimpleTimezones.Rd MazamaSpatialUtils/man/convertNaturalEarthAdm1.Rd MazamaSpatialUtils/man/getTimezone.Rd MazamaSpatialUtils/man/countryToCode.Rd MazamaSpatialUtils/man/convertHMSSmoke.Rd MazamaSpatialUtils/man/codeToCountry.Rd MazamaSpatialUtils/man/codeToState.Rd MazamaSpatialUtils/man/initializeSpatialData.Rd MazamaSpatialUtils/man/getState.Rd MazamaSpatialUtils/man/getUSCounty.Rd MazamaSpatialUtils/man/convertUSCensusCounties.Rd MazamaSpatialUtils/man/getVariable.Rd MazamaSpatialUtils/man/organizePolygons.Rd MazamaSpatialUtils/man/getSpatialData.Rd MazamaSpatialUtils/man/getHUCName.Rd MazamaSpatialUtils/man/convertGADM.Rd MazamaSpatialUtils/man/convertTMWorldBordersSimple.Rd MazamaSpatialUtils/man/stateToCode.Rd MazamaSpatialUtils/man/getStateCode.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.