Description Usage Arguments Details Value Source Note Examples
pull_spdf pulls either the section or township-level
SpatialPolygonsDataFrame from a county's Geographic Information System (GIS)
shapefile.
1  | 
county | 
 A character string giving either a county name, two digit PUR
county code, or six-digit FIPS county code. Not case sensitive. California
names and county codes as they appear in PUR data sets can be found in the
  | 
section_township | 
 Either "section" (the default) or "township". Specifies whether you would like to pull a section- or township-level SpatialPolygonsDataFrame.  | 
quiet | 
 TRUE / FALSE indicating whether you would like a message and progress bar printed for the shapefile that is downloaded. The default value is FALSE.  | 
SpatialPolygonsDataFrame objects are pulled by county from the CDPR's FTP server. Downloaded SpatialPolygonsDataFrame objects are saved in a temporary environment, which is deleted at the end of the current R session.
A SpatialPolygonsDataFrame object.
SpatialPolygonDataFrame objects are downloaded from GIS shapefiles provided by the California Department of Pesticide Regulation: http://www.cdpr.ca.gov/docs/emon/grndwtr/gis_shapefiles.htm
If this function returns an error (because the FTP site is down, for example), check your working directory. You may want to change it back from a temporary directory.
1 2 3 4  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.