| Issue 11: | gvisGeoMap only renders data partially | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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.
Mar 16, 2012
#1
estherw...@gmail.com
Mar 16, 2012
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
Yea, I noticed the row limit but couldn't find the documentation you cited re:400 rows. Thank you very much! |