albania

List of phone number country codes

匿名 (未验证) 提交于 2019-12-03 02:50:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 选择语言 中文(简体) 日语 英语 中文(繁体) 由 翻译 强力驱动 问题: On this Wikipedia entry I found out that ITU Telecommunication Standardization Sector (ITU-T) is providing such list of country calling codes. Here is a pdf: http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-E.164D-2009-PDF-E.pdf I wonder where to find this in a xml file or similar? I need to do find out which country a phone number is from, both in javascript and c#. 回答1: There is an Excel file with regexps here . You can easily "convert" it to XML and you will be able to determine country by the full phone

In aggregate: sum not meaningful for factors

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying something that should be simple, any hint on what is going on is very welcomed. I have a large data frame with country imports from some municipalities. For some countries I have 2 entries. I want to sum the imports from each municipality and having a unique row for each country. I am using the aggregate function. For example (I include a small part of the data frame): municipalities<-c("country",1100056, 1100106,1100205,1100304,1200104,1200252) c1<-c("Afghanistan",2,34,23.4,5,0,0) c2<-c("Afghanistan",0,20,11.1,5.4,2,0) c3<-c(