MazamaSpatialUtils: Spatial Data Download and Utility Functions
Version 0.4.9

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.)

Browse man pages Browse package API and functions Browse package files

AuthorJonathan Callahan [aut, cre], Ruby Fore [aut], Will Leahy [aut], Henry Nguyen [aut], Robin Winstanley [aut], Alice Yang [aut]
Date of publication2017-03-17 07:24:05 UTC
MaintainerJonathan Callahan <jonathan.s.callahan@gmail.com>
LicenseGPL-2
Version0.4.9
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("MazamaSpatialUtils")

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
installSpatialData: Install Spatial Datasets
loadSpatialData: Load Spatial Datasets
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.

Functions

MazamaSpatialUtils Man page
MazamaSpatialUtils-package Man page
SimpleCountries Man page
SimpleTimezones Man page
SpatialDataDir Man page
codeToCode Man page Source code
codeToCountry Man page Source code
codeToState Man page Source code
convertGADM Man page Source code
convertHMSSmoke Man page Source code
convertLayer Man page Source code
convertNaturalEarthAdm1 Man page Source code
convertTMWorldBorders Man page Source code
convertTMWorldBordersSimple Man page Source code
convertUSCensusCounties Man page Source code
convertWBDHUC Man page Source code
convertWikipediaTimezoneTable Man page Source code
convertWorldEEZ Man page Source code
convertWorldTimezones Man page Source code
countryToCode Man page Source code
getCountry Man page Source code
getCountryCode Man page Source code
getCountryName Man page Source code
getHUC Man page Source code
getHUCName Man page Source code
getSpatialData Man page Source code
getSpatialDataDir Man page Source code
getState Man page Source code
getStateCode Man page Source code
getStateName Man page Source code
getTimezone Man page Source code
getUSCounty Man page Source code
getVariable Man page Source code
installSpatialData Man page Source code
loadSpatialData Man page Source code
organizePolygons Man page Source code
setSpatialDataDir Man page Source code
stateToCode Man page Source code
subsetHUC Man page Source code

Files

inst
inst/doc
inst/doc/introduction.R
inst/doc/introduction.html
inst/doc/introduction.Rmd
tests
tests/testthat.R
tests/testthat
tests/testthat/test1.R
NAMESPACE
demo
demo/findCountries.R
demo/findTimezones.R
demo/findStates.R
demo/00Index
data
data/SimpleCountries.RData
data/SimpleTimezones.RData
R
R/subsetHUC.R
R/convertTMWorldBordersSimple.R
R/getStateCode.R
R/convertNaturalEarthAdm1.R
R/convertWorldTimezones.R
R/loadSpatialData.R
R/convertWBDHUC.R
R/getCountry.R
R/getState.R
R/organizePolygons.R
R/getVariable.R
R/convertTMWorldBorders.R
R/getCountryName.R
R/getStateName.R
R/convertGADM.R
R/convertHMSSmoke.R
R/getTimezone.R
R/convertWikipediaTimezoneTable.R
R/convertUSCensusCounties.R
R/convertWorldEEZ.R
R/convertLayer.R
R/getSpatialData.R
R/getCountryCode.R
R/getUSCounty.R
R/getHUC.R
R/installSpatialData.R
R/MazamaSpatialUtils.R
R/getHUCName.R
vignettes
vignettes/introduction.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/convertWorldEEZ.Rd
man/SimpleCountries.Rd
man/subsetHUC.Rd
man/convertTMWorldBorders.Rd
man/getCountry.Rd
man/getSpatialDataDir.Rd
man/getStateName.Rd
man/installSpatialData.Rd
man/getHUC.Rd
man/getCountryCode.Rd
man/convertWBDHUC.Rd
man/MazamaSpatialUtils.Rd
man/getCountryName.Rd
man/convertLayer.Rd
man/convertWikipediaTimezoneTable.Rd
man/loadSpatialData.Rd
man/SpatialDataDir.Rd
man/convertWorldTimezones.Rd
man/codeToCode.Rd
man/setSpatialDataDir.Rd
man/SimpleTimezones.Rd
man/convertNaturalEarthAdm1.Rd
man/getTimezone.Rd
man/countryToCode.Rd
man/convertHMSSmoke.Rd
man/codeToCountry.Rd
man/codeToState.Rd
man/getState.Rd
man/getUSCounty.Rd
man/convertUSCensusCounties.Rd
man/getVariable.Rd
man/organizePolygons.Rd
man/getSpatialData.Rd
man/getHUCName.Rd
man/convertGADM.Rd
man/convertTMWorldBordersSimple.Rd
man/stateToCode.Rd
man/getStateCode.Rd
MazamaSpatialUtils documentation built on May 19, 2017, 10:40 p.m.