Skip to content

Instantly share code, notes, and snippets.

@aarong1
Created October 25, 2021 18:03
Show Gist options
  • Save aarong1/5a63acf53e1ffd7d959df6bf1779d080 to your computer and use it in GitHub Desktop.
Save aarong1/5a63acf53e1ffd7d959df6bf1779d080 to your computer and use it in GitHub Desktop.
nodes_tot%>%
slice_head(n = 50)%>%
unite(FirstName,LastName,col='FullName')%>%
group_by(Latitude,Longitude)%>%
mutate(label=c(FullName))%>%
#mutate(label1=list(FullName))%>%
mutate(label2=paste(as.vector(label),sep=' ',collapse= '<br>' ))%>%
# mutate(label3=paste(label,sep=' ',collapse= ''))%>%
# mutate(label4=paste(as.vector(label1),sep=' ',collapse= ''))%>%
# mutate(label5=paste(label1,sep=' ',collapse= ''))%>%
#select(contains('label'))%>%
View
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment