Skip to content

Commit

Permalink
add value
Browse files Browse the repository at this point in the history
  • Loading branch information
tcgriffith committed Mar 16, 2018
1 parent 7eabe6f commit 1ade893
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion R/remap.r
Expand Up @@ -60,7 +60,12 @@ remap = function(mapdata,


###geoCoord_data
mapdata$value = sample(seq(0,100,10),nrow(mapdata),replace = T)
if ("value" %in% colnames(mapdata)){

}else {
mapdata$value = sample(seq(0,100,10),nrow(mapdata),replace = T)
}


city_data_vec = apply(Geo_data,1,function(x)
paste0("'",
Expand Down

0 comments on commit 1ade893

Please sign in to comment.