全国共有多少大学招收研究生

Searching…

stackoverflow.com

r - State name to abbreviation - Stack Overflow

I have a large file with a variable state that has full state names. I would like to replace it with the state abbreviations (that is "NY" for "New York"). Is there an easy way to do this (apart from