createStorm: Create modeled storm

Description Usage Arguments Details Value Examples

View source: R/createStorm.R

Description

Create items associated with model run of a storm

Usage

1
createStorm(templateId = NULL, filename, aliasName = NULL, ...)

Arguments

templateId

id of the template to replace

filename

a shapefile to post

aliasName

(optional) the name of the alias to associate with this storm

...

extra params to pass to checkAuth

Details

This will create all children associated with a storm and aggregate them under the template.

Value

character vector representing ID of new template

Examples

1
2
3
4
5
## Not run: 
createStorm("CAQw7M1", system.file("extdata", "Sandy_CIDA.zip", "hurricane-sandy",
   package="hazardItems"))

## End(Not run)

USGS-R/hazardItems documentation built on Aug. 15, 2020, 11:28 a.m.