Finding MSA for [Cityname, Statename]?

空扰寡人 提交于 2020-01-16 01:46:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!