For those of you who know India, anything surprising/interesting here?
Here's the associated R code to make this figure:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(ggplot2) | |
library(sqldf) | |
# using the dataset 'raw' wich is a list of contractors by lat, long | |
df <- sqldf("SELECT COUNT(*) AS num, LocLat, LocLong | |
FROM raw GROUP BY LocLat, LocLong") | |
g <- qplot(LocLong,LocLat, colour=num, size=log(num), data = df) | |
png("india.png") | |
print(g) | |
dev.off() |