Skip to content

Instantly share code, notes, and snippets.

@juanitobanca
Created June 19, 2017 22:07
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 juanitobanca/73fa499762bb6ae89f9e2764eb4c8489 to your computer and use it in GitHub Desktop.
Save juanitobanca/73fa499762bb6ae89f9e2764eb4c8489 to your computer and use it in GitHub Desktop.
# Read team file
players <- read.csv( file = "players.csv"
, sep = ","
, stringsAsFactors = F
, na.strings = ""
)
# Remove accents, symbols, etc
players$state <- stri_trans_general( str = players$state
, id = "Latin-ASCII"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment