download_shp: function to download all available shapefile files from a URL

View source: R/download_shp.R

download_shpR Documentation

function to download all available shapefile files from a URL

Description

function to download all available shapefile files from a URL

Usage

download_shp(shape_url, layer, outfolder = ".")

Examples

## Not run: 
download_shp('ftp://ftp.granit.sr.unh.edu/pub/GRANIT_Data/Vector_Data/Administrative_and_Political_Boundaries/d-nhsenatedists/2012','NHSenateDists2012')
download_shp('http://jwhollister.com/iale_open_science/files','LocPt')

## End(Not run)

jhollist/miscPackage documentation built on March 3, 2024, 9:23 p.m.