问题
I'm looking for an R package that helps me to find the respective Metropolitan Statistical Areas (MSA) for input data in the form of [Cityname, State Abbreviation]. For instance: "New York, NY", "San Francisco, CA". I do not have: County name, ZIP Code, FIPS, or anything else.
What I found:
MSA to County Relationships (2015) are provided by the U.S. Census, as "Core based statistical areas (CBSAs), metropolitan divisions, and combined statistical areas (CSAs)". A "Principal cities of metropolitan and micropolitan statistical areas" (2015) list is available on the same page. In worst case, I imagine, one could take the second list, attach the state code to the "Principal City Name" field and then match the corresponding string with an MSA.
Before trying that, it would be good to know whether this problem has been solved already? I did not find the desired function in the noncensus or USCensus2010 package.
Question therefore: Do you know a package that matches (Principal) City with MSA?
Thanks!
来源:https://stackoverflow.com/questions/47505884/finding-msa-for-cityname-statename