Andrew: Hurricane Andrew: googleVis example data set

Description Usage Format Source Examples

Description

Hurricane Andrew storm path from 16 August to 28 August 1992

Usage

1

Format

A data frame with 47 observations on the following 8 variables.

Date/Time UTC

a POSIXct

Lat

a numeric vector

Long

a numeric vector

Pressure_mb

a numeric vector

Speed_kt

a numeric vector

Category

a factor with levels Hurricane Tropical Depression Tropical Storm

LatLong

a character vector

Tip

a character vector

Source

National Hurricane Center: http://www.nhc.noaa.gov/1992andrew.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
data(Andrew)

AndrewGeoMap <- gvisGeoMap(Andrew, locationvar='LatLong', numvar='Speed_kt',
                          hovervar='Category',
                          options=list(width=800,height=400,
                          region='US', dataMode='Markers'))

AndrewMap <- gvisMap(Andrew, 'LatLong' , 'Tip',
                           options=list(showTip=TRUE, showLine=TRUE,
                           enableScrollWheel=TRUE,
                           mapType='hybrid', useMapTypeControl=TRUE,
			   width=800,height=400))

AndrewTable <- gvisTable(Andrew,options=list(width=800))

## Combine the outputs into one page:

AndrewVis <- gvisMerge(AndrewGeoMap, AndrewMap)

plot(AndrewVis)

kleanthisk10/google-motion-charts-with-r documentation built on May 20, 2019, 12:32 p.m.