hurlbertlab / dietdatabase

Creative Commons Zero v1.0 Universal
10 stars 9 forks source link

trailing spaces in Location_Region #75

Closed ahhurlbert closed 7 years ago

ahhurlbert commented 7 years ago

replace "California " and "Virginia " with "California" and "Virginia"

can do this here (and for other text fields as well) using the trimws() function in R for trimming white space.

E.g.

diet$Location_Region = trimws(diet$Location_Region)

pwinner1 commented 7 years ago

done