CityPopularity: CityPopularity: googleVis example data set

Description Usage Format Source Examples

Description

Example data set to illustrate the use of the googleVis package.

Usage

1

Format

A data frame with 6 observations on the following 2 variables.

City

a factor with levels Boston Chicago Houston Los Angeles Miami New York

Popularity

a numeric vector

Source

Google Geo Map API: https://google-developers.appspot.com/chart/interactive/docs/gallery/geomap.html

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(CityPopularity)

G <-  gvisGeoMap(CityPopularity, locationvar='City' ,numvar='Popularity', 
      			options=list(region='US',
				     dataMode='markers', 
				     colors='[0xFF8747, 0xFFB581, 0xc06000]'))
## Not run: 
plot(G)

## End(Not run)

jburos/GoogleVis documentation built on May 18, 2019, 9:19 p.m.