bb_handler_wget | R Documentation |
This is a general handler function that is suitable for a range of data sets. This function is not intended to be called directly, but rather is specified as a method
option in bb_source
.
bb_handler_wget(...)
... |
: parameters passed to |
This handler function makes calls to the wget
utility via the bb_wget
function. Arguments provided to bb_handler_wget
are passed through to bb_wget
.
TRUE on success
bb_wget
, bb_source
my_source <- bb_source(
id="gshhg_coastline",
name="GSHHG coastline data",
description="A Global Self-consistent, Hierarchical, High-resolution Geography Database",
doc_url= "http://www.soest.hawaii.edu/pwessel/gshhg",
citation="Wessel, P., and W. H. F. Smith, A Global Self-consistent, Hierarchical,
High-resolution Shoreline Database, J. Geophys. Res., 101, 8741-8743, 1996",
source_url="ftp://ftp.soest.hawaii.edu/gshhg/*",
license="LGPL",
method=list("bb_handler_wget",recursive=TRUE,level=1,accept="*bin*.zip,README.TXT"),
postprocess=list("bb_unzip"),
collection_size=0.6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.