Skip to content

Instantly share code, notes, and snippets.

@josefslerka
Created April 12, 2012 21:10
Show Gist options
  • Save josefslerka/2371016 to your computer and use it in GitHub Desktop.
Save josefslerka/2371016 to your computer and use it in GitHub Desktop.
Import dat z Ataxo Social Insideru do R a jejich zbaveni diakritiky a vytazeni subsetu
tbl <- read.csv("tatrabanka.csv")
mydata.vector <- tbl$Content
mydata.vector <- iconv(mydata.vector, from="utf8", to="ASCII//TRANSLIT")
mydata.vector <- gsub("\'", "", mydata.vector)
twitter <- subset(mydata.vector, mydata.vector$Source == "twitter_cs")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment