Skip to content

Instantly share code, notes, and snippets.

@Jian-Qiao
Created August 22, 2017 17:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Jian-Qiao/a5af03845f1285edb0a7e6d7d2ba9a16 to your computer and use it in GitHub Desktop.
Save Jian-Qiao/a5af03845f1285edb0a7e6d7d2ba9a16 to your computer and use it in GitHub Desktop.
#Manually search and filling
#Stadiums[is.na(Stadiums$lat),]
Stadiums[21,3:4]=c(40.741895,-73.989308)
Stadiums[37,3:4]=c(42.878056,-78.8775)
Stadiums[69:71,3:4]=matrix(rep(c(-23.577721, -46.656048),3),3,byrow=TRUE)
Stadiums[134,3:4]=c(46.830833, -71.246389)
Stadiums[139,3:4]=c(-23.535033,-46.636617)
Stadiums$x=gsub('EVENT CANCELED - ','',Stadiums$x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment