Created
May 30, 2016 03:03
-
-
Save Plaudenslager/d05b9ed727e258d9c963fff3e4462532 to your computer and use it in GitHub Desktop.
Convert a currency column (with commas for thousands separator) into numeric
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clean_data <- mutate(raw_data, Software_Amount_USD = as.numeric(sub(",","", Software_Amount___USD))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment