My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 11: gvisGeoMap only renders data partially
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Mar 2012


 
Reported by estherw...@gmail.com, Mar 16, 2012
What steps will reproduce the problem?
1. Save attached data to R working directory.
2. Execute:

library(googleVis);
load('t3.Rdata')
t3.plot <- gvisGeoMap(t3, locationvar='LatLong', numvar='impression', hovervar='zipcode', options=list(height=500,width=800,region='US', dataMode='Markers'))
plot(t3.plot)

What is the expected output? What do you see instead?

Plot is missing some of the data -- for example, zipcode='98387' is missing from the plot.

What version of the product are you using? On what operating system?

platform       x86_64-apple-darwin9.8.0     
arch           x86_64                       
os             darwin9.8.0                  
system         x86_64, darwin9.8.0          
status                                      
major          2                            
minor          13.0                         
year           2011                         
month          04                           
day            13                           
svn rev        55427                        
language       R                            
version.string R version 2.13.0 (2011-04-13)

Please provide any additional information below.

t3.Rdata
17.0 KB   Download
Mar 16, 2012
#1 estherw...@gmail.com
googleVis version installed is 0.2.14, the latest Repository Version
Mar 16, 2012
Project Member #2 markus.g...@googlemail.com
Your data set has 622 rows. The documentation of geo map states that only the first 400 data points will be used, see https://code.google.com/apis/chart/interactive/docs/gallery/geomap.html#Data_Format. 

Hence, you won't see zipcode 98387, which is your last data point. 

Plot the last the couple of rows and it shows up again: 
 t3.plot <- gvisGeoMap(t3[600:622,], locationvar='LatLong', numvar='impression', hovervar='zipcode', options=list(height=500,width=800,region='US', dataMode='Markers'))

I believe the geo chart does not have the restriction on data points, but currently doesn't over all the function of the geo chart. Here is an example:

t3.plot <- gvisGeoChart(t3, 'LatLong', 'impression', options=list(height=500,width=800, region='US', displayMode='markers'))
plot(t3.plot)
Status: WontFix
Mar 16, 2012
#3 estherw...@gmail.com
Yea, I noticed the row limit but couldn't find the documentation you cited re:400 rows. Thank you very much!

Powered by Google Project Hosting