diff --git a/.ipynb_checkpoints/I-checkpoint.ipynb b/.ipynb_checkpoints/I-checkpoint.ipynb new file mode 100644 index 0000000..b2fce72 --- /dev/null +++ b/.ipynb_checkpoints/I-checkpoint.ipynb @@ -0,0 +1,847 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 80, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "provinceName:香港 provinceShortName:香港 currentConfirmedCount:1128 confirmedCount:4243 suspectedCount:103 curedCount:3052 deadCount :63 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:新疆维吾尔自治区 provinceShortName:新疆 currentConfirmedCount:535 confirmedCount:875 suspectedCount:0 curedCount:337 deadCount :3 \n", + "cityName:乌鲁木齐, currentConfirmedCount:532, confirmedCount:818, suspectedCount:0, curedCount:286, deadCount:0, locationId:650100\n", + "cityName:昌吉州, currentConfirmedCount:1, confirmedCount:5, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:喀什地区, currentConfirmedCount:1, confirmedCount:2, suspectedCount:0, curedCount:1, deadCount:0, locationId:653100\n", + "cityName:伊犁州, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:654000\n", + "cityName:兵团第四师, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:0\n", + "cityName:兵团第八师石河子市, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:3, deadCount:1, locationId:0\n", + "cityName:兵团第九师, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:3, deadCount:1, locationId:0\n", + "cityName:吐鲁番市, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:650400\n", + "cityName:巴州, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:511902\n", + "cityName:兵团第十二师, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "cityName:兵团第六师五家渠市, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:兵团第七师, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:阿克苏地区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:652900\n", + "cityName:待明确地区, currentConfirmedCount:1, confirmedCount:1, suspectedCount:0, curedCount:0, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:辽宁省 provinceShortName:辽宁 currentConfirmedCount:68 confirmedCount:261 suspectedCount:0 curedCount:191 deadCount :2 \n", + "cityName:大连, currentConfirmedCount:62, confirmedCount:110, suspectedCount:0, curedCount:48, deadCount:0, locationId:210200\n", + "cityName:境外输入, currentConfirmedCount:5, confirmedCount:37, suspectedCount:0, curedCount:32, deadCount:0, locationId:0\n", + "cityName:铁岭, currentConfirmedCount:1, confirmedCount:8, suspectedCount:0, curedCount:7, deadCount:0, locationId:211200\n", + "cityName:沈阳, currentConfirmedCount:0, confirmedCount:34, suspectedCount:0, curedCount:34, deadCount:0, locationId:210100\n", + "cityName:锦州, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:210700\n", + "cityName:葫芦岛, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:11, deadCount:1, locationId:211400\n", + "cityName:丹东, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:210600\n", + "cityName:盘锦, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:211100\n", + "cityName:阜新, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:210900\n", + "cityName:朝阳, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:5, deadCount:1, locationId:211300\n", + "cityName:鞍山, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:210300\n", + "cityName:本溪, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:210500\n", + "cityName:辽阳, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:211000\n", + "cityName:营口, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:210800\n", + "cityName:抚顺, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:210400\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:上海市 provinceShortName:上海 currentConfirmedCount:54 confirmedCount:798 suspectedCount:393 curedCount:737 deadCount :7 \n", + "cityName:境外输入, currentConfirmedCount:54, confirmedCount:456, suspectedCount:4, curedCount:402, deadCount:0, locationId:0\n", + "cityName:外地来沪, currentConfirmedCount:0, confirmedCount:113, suspectedCount:0, curedCount:112, deadCount:1, locationId:0\n", + "cityName:浦东新区, currentConfirmedCount:0, confirmedCount:61, suspectedCount:0, curedCount:60, deadCount:1, locationId:310115\n", + "cityName:宝山区, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:21, deadCount:1, locationId:310113\n", + "cityName:闵行区, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:310112\n", + "cityName:徐汇区, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:17, deadCount:1, locationId:310104\n", + "cityName:静安区, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:15, deadCount:1, locationId:310106\n", + "cityName:松江区, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:310117\n", + "cityName:长宁区, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:310105\n", + "cityName:普陀区, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:310107\n", + "cityName:杨浦区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:310110\n", + "cityName:嘉定区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:7, deadCount:2, locationId:310114\n", + "cityName:奉贤区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:310120\n", + "cityName:虹口区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:310109\n", + "cityName:黄浦区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:310101\n", + "cityName:青浦区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:310118\n", + "cityName:金山区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:310116\n", + "cityName:崇明区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:310151\n", + "cityName:境外来沪, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:台湾 provinceShortName:台湾 currentConfirmedCount:30 confirmedCount:480 suspectedCount:371 curedCount:443 deadCount :7 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:山东省 provinceShortName:山东 currentConfirmedCount:22 confirmedCount:817 suspectedCount:14 curedCount:788 deadCount :7 \n", + "cityName:境外输入, currentConfirmedCount:16, confirmedCount:48, suspectedCount:14, curedCount:32, deadCount:0, locationId:0\n", + "cityName:济南, currentConfirmedCount:6, confirmedCount:53, suspectedCount:0, curedCount:47, deadCount:0, locationId:370100\n", + "cityName:济宁, currentConfirmedCount:0, confirmedCount:260, suspectedCount:0, curedCount:260, deadCount:0, locationId:370800\n", + "cityName:青岛, currentConfirmedCount:0, confirmedCount:65, suspectedCount:0, curedCount:64, deadCount:1, locationId:370200\n", + "cityName:临沂, currentConfirmedCount:0, confirmedCount:49, suspectedCount:0, curedCount:49, deadCount:0, locationId:371300\n", + "cityName:烟台, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:47, deadCount:0, locationId:370600\n", + "cityName:潍坊, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:44, deadCount:0, locationId:370700\n", + "cityName:威海, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:37, deadCount:1, locationId:371000\n", + "cityName:聊城, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:38, deadCount:0, locationId:371500\n", + "cityName:德州, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:35, deadCount:2, locationId:371400\n", + "cityName:泰安, currentConfirmedCount:0, confirmedCount:35, suspectedCount:0, curedCount:33, deadCount:2, locationId:370900\n", + "cityName:淄博, currentConfirmedCount:0, confirmedCount:30, suspectedCount:0, curedCount:29, deadCount:1, locationId:370300\n", + "cityName:枣庄, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:370400\n", + "cityName:菏泽, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:371700\n", + "cityName:日照, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:16, deadCount:0, locationId:371100\n", + "cityName:滨州, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:371600\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:广东省 provinceShortName:广东 currentConfirmedCount:15 confirmedCount:1699 suspectedCount:14 curedCount:1676 deadCount :8 \n", + "cityName:广州, currentConfirmedCount:11, confirmedCount:610, suspectedCount:9, curedCount:598, deadCount:1, locationId:440100\n", + "cityName:深圳, currentConfirmedCount:3, confirmedCount:465, suspectedCount:1, curedCount:459, deadCount:3, locationId:440300\n", + "cityName:珠海, currentConfirmedCount:1, confirmedCount:105, suspectedCount:1, curedCount:103, deadCount:1, locationId:440400\n", + "cityName:东莞, currentConfirmedCount:0, confirmedCount:100, suspectedCount:0, curedCount:99, deadCount:1, locationId:441900\n", + "cityName:佛山, currentConfirmedCount:0, confirmedCount:100, suspectedCount:1, curedCount:100, deadCount:0, locationId:440600\n", + "cityName:中山, currentConfirmedCount:0, confirmedCount:69, suspectedCount:0, curedCount:69, deadCount:0, locationId:442000\n", + "cityName:惠州, currentConfirmedCount:0, confirmedCount:62, suspectedCount:0, curedCount:62, deadCount:0, locationId:441300\n", + "cityName:汕头, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:440500\n", + "cityName:江门, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:440700\n", + "cityName:湛江, currentConfirmedCount:0, confirmedCount:24, suspectedCount:2, curedCount:24, deadCount:0, locationId:440800\n", + "cityName:肇庆, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:19, deadCount:1, locationId:441200\n", + "cityName:梅州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:441400\n", + "cityName:阳江, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:441700\n", + "cityName:茂名, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:440900\n", + "cityName:清远, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:441800\n", + "cityName:揭阳, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:445200\n", + "cityName:韶关, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:440200\n", + "cityName:潮州, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:445100\n", + "cityName:汕尾, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:441500\n", + "cityName:河源, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:441600\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:陕西省 provinceShortName:陕西 currentConfirmedCount:15 confirmedCount:341 suspectedCount:1 curedCount:323 deadCount :3 \n", + "cityName:境外输入, currentConfirmedCount:15, confirmedCount:96, suspectedCount:0, curedCount:81, deadCount:0, locationId:0\n", + "cityName:西安, currentConfirmedCount:0, confirmedCount:120, suspectedCount:0, curedCount:117, deadCount:3, locationId:610100\n", + "cityName:安康, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:610900\n", + "cityName:汉中, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:610700\n", + "cityName:咸阳, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:610400\n", + "cityName:渭南, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:610500\n", + "cityName:宝鸡, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:610300\n", + "cityName:延安, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:610600\n", + "cityName:铜川, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:610200\n", + "cityName:商洛, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:611000\n", + "cityName:榆林, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:610800\n", + "cityName:韩城, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:610581\n", + "cityName:杨凌, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:四川省 provinceShortName:四川 currentConfirmedCount:13 confirmedCount:616 suspectedCount:13 curedCount:600 deadCount :3 \n", + "cityName:成都, currentConfirmedCount:13, confirmedCount:220, suspectedCount:13, curedCount:204, deadCount:3, locationId:510100\n", + "cityName:甘孜州, currentConfirmedCount:0, confirmedCount:78, suspectedCount:0, curedCount:78, deadCount:0, locationId:513300\n", + "cityName:达州, currentConfirmedCount:0, confirmedCount:42, suspectedCount:0, curedCount:42, deadCount:0, locationId:511700\n", + "cityName:南充, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:511300\n", + "cityName:广安, currentConfirmedCount:0, confirmedCount:30, suspectedCount:0, curedCount:30, deadCount:0, locationId:511600\n", + "cityName:泸州, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:510500\n", + "cityName:巴中, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:511900\n", + "cityName:绵阳, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:510700\n", + "cityName:内江, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:511000\n", + "cityName:德阳, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:510600\n", + "cityName:遂宁, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:510900\n", + "cityName:攀枝花, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:16, deadCount:0, locationId:510400\n", + "cityName:凉山州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:513400\n", + "cityName:宜宾, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:511500\n", + "cityName:自贡, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:510300\n", + "cityName:眉山, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:511400\n", + "cityName:雅安, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:511800\n", + "cityName:广元, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:510800\n", + "cityName:资阳, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:512000\n", + "cityName:乐山, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:511100\n", + "cityName:阿坝州, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:513200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:浙江省 provinceShortName:浙江 currentConfirmedCount:6 confirmedCount:1275 suspectedCount:3 curedCount:1268 deadCount :1 \n", + "cityName:境外输入, currentConfirmedCount:6, confirmedCount:56, suspectedCount:2, curedCount:50, deadCount:0, locationId:0\n", + "cityName:温州, currentConfirmedCount:0, confirmedCount:504, suspectedCount:0, curedCount:503, deadCount:1, locationId:330300\n", + "cityName:杭州, currentConfirmedCount:0, confirmedCount:181, suspectedCount:0, curedCount:181, deadCount:0, locationId:330100\n", + "cityName:宁波, currentConfirmedCount:0, confirmedCount:157, suspectedCount:0, curedCount:157, deadCount:0, locationId:330200\n", + "cityName:台州, currentConfirmedCount:0, confirmedCount:147, suspectedCount:0, curedCount:147, deadCount:0, locationId:331000\n", + "cityName:金华, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:330700\n", + "cityName:嘉兴, currentConfirmedCount:0, confirmedCount:46, suspectedCount:0, curedCount:46, deadCount:0, locationId:330400\n", + "cityName:绍兴, currentConfirmedCount:0, confirmedCount:42, suspectedCount:0, curedCount:42, deadCount:0, locationId:330600\n", + "cityName:省十里丰监狱, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:0\n", + "cityName:丽水, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:331100\n", + "cityName:衢州, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:330800\n", + "cityName:湖州, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:330500\n", + "cityName:舟山, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:330900\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:北京市 provinceShortName:北京 currentConfirmedCount:6 confirmedCount:935 suspectedCount:164 curedCount:920 deadCount :9 \n", + "cityName:丰台区, currentConfirmedCount:266, confirmedCount:273, suspectedCount:0, curedCount:7, deadCount:0, locationId:110106\n", + "cityName:大兴区, currentConfirmedCount:88, confirmedCount:104, suspectedCount:0, curedCount:16, deadCount:0, locationId:110115\n", + "cityName:海淀区, currentConfirmedCount:82, confirmedCount:82, suspectedCount:0, curedCount:0, deadCount:0, locationId:110108\n", + "cityName:朝阳区, currentConfirmedCount:77, confirmedCount:77, suspectedCount:0, curedCount:0, deadCount:0, locationId:110105\n", + "cityName:西城区, currentConfirmedCount:59, confirmedCount:59, suspectedCount:0, curedCount:0, deadCount:0, locationId:110102\n", + "cityName:外地来京, currentConfirmedCount:24, confirmedCount:26, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:昌平区, currentConfirmedCount:20, confirmedCount:30, suspectedCount:0, curedCount:10, deadCount:0, locationId:110114\n", + "cityName:通州区, currentConfirmedCount:19, confirmedCount:20, suspectedCount:0, curedCount:1, deadCount:0, locationId:110112\n", + "cityName:东城区, currentConfirmedCount:18, confirmedCount:19, suspectedCount:0, curedCount:1, deadCount:0, locationId:110101\n", + "cityName:房山区, currentConfirmedCount:17, confirmedCount:20, suspectedCount:0, curedCount:3, deadCount:0, locationId:110111\n", + "cityName:怀柔区, currentConfirmedCount:7, confirmedCount:7, suspectedCount:0, curedCount:0, deadCount:0, locationId:110116\n", + "cityName:密云区, currentConfirmedCount:7, confirmedCount:7, suspectedCount:0, curedCount:0, deadCount:0, locationId:110118\n", + "cityName:石景山区, currentConfirmedCount:6, confirmedCount:15, suspectedCount:0, curedCount:9, deadCount:0, locationId:110107\n", + "cityName:门头沟区, currentConfirmedCount:3, confirmedCount:5, suspectedCount:0, curedCount:2, deadCount:0, locationId:110109\n", + "cityName:境外输入, currentConfirmedCount:2, confirmedCount:176, suspectedCount:3, curedCount:174, deadCount:0, locationId:0\n", + "cityName:延庆区, currentConfirmedCount:1, confirmedCount:1, suspectedCount:0, curedCount:0, deadCount:0, locationId:110119\n", + "cityName:顺义区, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:110113\n", + "cityName:待明确地区, currentConfirmedCount:-690, confirmedCount:4, suspectedCount:0, curedCount:685, deadCount:9, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:湖北省 provinceShortName:湖北 currentConfirmedCount:4 confirmedCount:68139 suspectedCount:0 curedCount:63623 deadCount :4512 \n", + "cityName:武汉, currentConfirmedCount:4, confirmedCount:50344, suspectedCount:0, curedCount:46471, deadCount:3869, locationId:420100\n", + "cityName:孝感, currentConfirmedCount:0, confirmedCount:3518, suspectedCount:0, curedCount:3389, deadCount:129, locationId:420900\n", + "cityName:黄冈, currentConfirmedCount:0, confirmedCount:2907, suspectedCount:0, curedCount:2782, deadCount:125, locationId:421100\n", + "cityName:荆州, currentConfirmedCount:0, confirmedCount:1580, suspectedCount:0, curedCount:1528, deadCount:52, locationId:421000\n", + "cityName:鄂州, currentConfirmedCount:0, confirmedCount:1394, suspectedCount:0, curedCount:1335, deadCount:59, locationId:420700\n", + "cityName:随州, currentConfirmedCount:0, confirmedCount:1307, suspectedCount:0, curedCount:1262, deadCount:45, locationId:421300\n", + "cityName:襄阳, currentConfirmedCount:0, confirmedCount:1175, suspectedCount:0, curedCount:1135, deadCount:40, locationId:420600\n", + "cityName:黄石, currentConfirmedCount:0, confirmedCount:1015, suspectedCount:0, curedCount:976, deadCount:39, locationId:420200\n", + "cityName:宜昌, currentConfirmedCount:0, confirmedCount:931, suspectedCount:0, curedCount:894, deadCount:37, locationId:420500\n", + "cityName:荆门, currentConfirmedCount:0, confirmedCount:928, suspectedCount:0, curedCount:887, deadCount:41, locationId:420800\n", + "cityName:咸宁, currentConfirmedCount:0, confirmedCount:836, suspectedCount:0, curedCount:821, deadCount:15, locationId:421200\n", + "cityName:十堰, currentConfirmedCount:0, confirmedCount:672, suspectedCount:0, curedCount:664, deadCount:8, locationId:420300\n", + "cityName:仙桃, currentConfirmedCount:0, confirmedCount:575, suspectedCount:0, curedCount:553, deadCount:22, locationId:429004\n", + "cityName:天门, currentConfirmedCount:0, confirmedCount:496, suspectedCount:0, curedCount:481, deadCount:15, locationId:429006\n", + "cityName:恩施州, currentConfirmedCount:0, confirmedCount:252, suspectedCount:0, curedCount:245, deadCount:7, locationId:422800\n", + "cityName:潜江, currentConfirmedCount:0, confirmedCount:198, suspectedCount:0, curedCount:189, deadCount:9, locationId:429005\n", + "cityName:神农架林区, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:429021\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:福建省 provinceShortName:福建 currentConfirmedCount:4 confirmedCount:368 suspectedCount:3 curedCount:363 deadCount :1 \n", + "cityName:境外输入人员, currentConfirmedCount:4, confirmedCount:72, suspectedCount:1, curedCount:68, deadCount:0, locationId:0\n", + "cityName:福州, currentConfirmedCount:0, confirmedCount:72, suspectedCount:0, curedCount:71, deadCount:1, locationId:350100\n", + "cityName:莆田, currentConfirmedCount:0, confirmedCount:56, suspectedCount:0, curedCount:56, deadCount:0, locationId:350300\n", + "cityName:泉州, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:47, deadCount:0, locationId:350500\n", + "cityName:厦门, currentConfirmedCount:0, confirmedCount:35, suspectedCount:0, curedCount:35, deadCount:0, locationId:350200\n", + "cityName:宁德, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:350900\n", + "cityName:漳州, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:350600\n", + "cityName:南平, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:350700\n", + "cityName:三明, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:350400\n", + "cityName:龙岩, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:350800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:内蒙古自治区 provinceShortName:内蒙古 currentConfirmedCount:4 confirmedCount:259 suspectedCount:34 curedCount:254 deadCount :1 \n", + "cityName:境外输入人员, currentConfirmedCount:4, confirmedCount:182, suspectedCount:34, curedCount:178, deadCount:0, locationId:0\n", + "cityName:鄂尔多斯, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:150600\n", + "cityName:包头, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:150200\n", + "cityName:赤峰, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:150400\n", + "cityName:锡林郭勒盟, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:152500\n", + "cityName:呼伦贝尔, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:150700\n", + "cityName:巴彦淖尔, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:7, deadCount:1, locationId:150800\n", + "cityName:呼和浩特, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:150100\n", + "cityName:通辽, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:150500\n", + "cityName:乌兰察布, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:150900\n", + "cityName:乌海市, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:150300\n", + "cityName:兴安盟, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:152200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:江苏省 provinceShortName:江苏 currentConfirmedCount:3 confirmedCount:659 suspectedCount:3 curedCount:656 deadCount :0 \n", + "cityName:境外输入, currentConfirmedCount:3, confirmedCount:28, suspectedCount:0, curedCount:25, deadCount:0, locationId:0\n", + "cityName:南京, currentConfirmedCount:0, confirmedCount:93, suspectedCount:0, curedCount:93, deadCount:0, locationId:320100\n", + "cityName:苏州, currentConfirmedCount:0, confirmedCount:87, suspectedCount:0, curedCount:87, deadCount:0, locationId:320500\n", + "cityName:徐州, currentConfirmedCount:0, confirmedCount:79, suspectedCount:0, curedCount:79, deadCount:0, locationId:320300\n", + "cityName:淮安, currentConfirmedCount:0, confirmedCount:66, suspectedCount:0, curedCount:66, deadCount:0, locationId:320800\n", + "cityName:无锡, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:320200\n", + "cityName:常州, currentConfirmedCount:0, confirmedCount:51, suspectedCount:0, curedCount:51, deadCount:0, locationId:320400\n", + "cityName:连云港, currentConfirmedCount:0, confirmedCount:48, suspectedCount:0, curedCount:48, deadCount:0, locationId:320700\n", + "cityName:南通, currentConfirmedCount:0, confirmedCount:40, suspectedCount:0, curedCount:40, deadCount:0, locationId:320600\n", + "cityName:泰州, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:37, deadCount:0, locationId:321200\n", + "cityName:盐城, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:27, deadCount:0, locationId:320900\n", + "cityName:扬州, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:321000\n", + "cityName:宿迁, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:321300\n", + "cityName:镇江, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:321100\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:甘肃省 provinceShortName:甘肃 currentConfirmedCount:2 confirmedCount:169 suspectedCount:0 curedCount:165 deadCount :2 \n", + "cityName:境外输入, currentConfirmedCount:2, confirmedCount:77, suspectedCount:0, curedCount:75, deadCount:0, locationId:0\n", + "cityName:兰州, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:34, deadCount:2, locationId:620100\n", + "cityName:天水, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:620500\n", + "cityName:平凉, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:620800\n", + "cityName:定西, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:621100\n", + "cityName:甘南, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:623000\n", + "cityName:白银, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:620400\n", + "cityName:陇南, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:621200\n", + "cityName:庆阳, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:621000\n", + "cityName:临夏, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:622900\n", + "cityName:张掖, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:620700\n", + "cityName:金昌, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:620300\n", + "cityName:省级(湖北输入), currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:黑龙江省 provinceShortName:黑龙江 currentConfirmedCount:1 confirmedCount:948 suspectedCount:394 curedCount:934 deadCount :13 \n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:387, suspectedCount:386, curedCount:386, deadCount:0, locationId:0\n", + "cityName:哈尔滨, currentConfirmedCount:0, confirmedCount:264, suspectedCount:8, curedCount:260, deadCount:4, locationId:230100\n", + "cityName:双鸭山, currentConfirmedCount:0, confirmedCount:52, suspectedCount:0, curedCount:49, deadCount:3, locationId:230500\n", + "cityName:绥化, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:43, deadCount:4, locationId:231200\n", + "cityName:鸡西, currentConfirmedCount:0, confirmedCount:46, suspectedCount:0, curedCount:46, deadCount:0, locationId:230300\n", + "cityName:齐齐哈尔, currentConfirmedCount:0, confirmedCount:43, suspectedCount:0, curedCount:42, deadCount:1, locationId:230200\n", + "cityName:大庆, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:26, deadCount:1, locationId:230600\n", + "cityName:牡丹江, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:231000\n", + "cityName:七台河, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:230900\n", + "cityName:佳木斯, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:230800\n", + "cityName:黑河, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:231100\n", + "cityName:鹤岗, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:230400\n", + "cityName:大兴安岭, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:232700\n", + "cityName:待明确, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:伊春, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:230700\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:河北省 provinceShortName:河北 currentConfirmedCount:1 confirmedCount:350 suspectedCount:0 curedCount:343 deadCount :6 \n", + "cityName:保定, currentConfirmedCount:4, confirmedCount:48, suspectedCount:0, curedCount:44, deadCount:0, locationId:130600\n", + "cityName:廊坊, currentConfirmedCount:2, confirmedCount:32, suspectedCount:0, curedCount:30, deadCount:0, locationId:131000\n", + "cityName:沧州, currentConfirmedCount:1, confirmedCount:49, suspectedCount:0, curedCount:45, deadCount:3, locationId:130900\n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:11, suspectedCount:0, curedCount:10, deadCount:0, locationId:0\n", + "cityName:唐山, currentConfirmedCount:0, confirmedCount:58, suspectedCount:0, curedCount:57, deadCount:1, locationId:130200\n", + "cityName:张家口, currentConfirmedCount:0, confirmedCount:43, suspectedCount:0, curedCount:43, deadCount:0, locationId:130700\n", + "cityName:邯郸, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:130400\n", + "cityName:石家庄, currentConfirmedCount:0, confirmedCount:29, suspectedCount:0, curedCount:29, deadCount:0, locationId:130100\n", + "cityName:邢台, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:22, deadCount:1, locationId:130500\n", + "cityName:秦皇岛, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:130300\n", + "cityName:衡水, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:131100\n", + "cityName:承德, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:130800\n", + "cityName:待明确, currentConfirmedCount:-7, confirmedCount:0, suspectedCount:0, curedCount:7, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:云南省 provinceShortName:云南 currentConfirmedCount:1 confirmedCount:191 suspectedCount:0 curedCount:188 deadCount :2 \n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:17, suspectedCount:0, curedCount:16, deadCount:0, locationId:0\n", + "cityName:昆明, currentConfirmedCount:0, confirmedCount:53, suspectedCount:0, curedCount:53, deadCount:0, locationId:530100\n", + "cityName:昭通, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:530600\n", + "cityName:西双版纳, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:532800\n", + "cityName:玉溪, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:13, deadCount:1, locationId:530400\n", + "cityName:曲靖, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:530300\n", + "cityName:大理州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:0\n", + "cityName:红河州, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:0\n", + "cityName:保山, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:530500\n", + "cityName:丽江, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:530700\n", + "cityName:德宏州, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:0\n", + "cityName:普洱, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:530800\n", + "cityName:楚雄州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:文山州, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:临沧, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:530900\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:吉林省 provinceShortName:吉林 currentConfirmedCount:1 confirmedCount:157 suspectedCount:19 curedCount:154 deadCount :2 \n", + "cityName:四平市, currentConfirmedCount:1, confirmedCount:17, suspectedCount:0, curedCount:15, deadCount:1, locationId:220300\n", + "cityName:吉林市, currentConfirmedCount:0, confirmedCount:60, suspectedCount:12, curedCount:59, deadCount:1, locationId:220200\n", + "cityName:长春, currentConfirmedCount:0, confirmedCount:49, suspectedCount:1, curedCount:49, deadCount:0, locationId:220100\n", + "cityName:辽源, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:220400\n", + "cityName:延边, currentConfirmedCount:0, confirmedCount:7, suspectedCount:1, curedCount:7, deadCount:0, locationId:222400\n", + "cityName:公主岭, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:220381\n", + "cityName:通化, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:220500\n", + "cityName:松原, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:220700\n", + "cityName:梅河口, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:220581\n", + "cityName:白城, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:220800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:河南省 provinceShortName:河南 currentConfirmedCount:0 confirmedCount:1276 suspectedCount:0 curedCount:1254 deadCount :22 \n", + "cityName:信阳, currentConfirmedCount:0, confirmedCount:274, suspectedCount:0, curedCount:272, deadCount:2, locationId:411500\n", + "cityName:郑州, currentConfirmedCount:0, confirmedCount:157, suspectedCount:0, curedCount:152, deadCount:5, locationId:410100\n", + "cityName:南阳, currentConfirmedCount:0, confirmedCount:156, suspectedCount:0, curedCount:153, deadCount:3, locationId:411300\n", + "cityName:驻马店, currentConfirmedCount:0, confirmedCount:139, suspectedCount:0, curedCount:139, deadCount:0, locationId:411700\n", + "cityName:商丘, currentConfirmedCount:0, confirmedCount:91, suspectedCount:0, curedCount:88, deadCount:3, locationId:411400\n", + "cityName:周口, currentConfirmedCount:0, confirmedCount:76, suspectedCount:0, curedCount:75, deadCount:1, locationId:411600\n", + "cityName:平顶山, currentConfirmedCount:0, confirmedCount:58, suspectedCount:0, curedCount:57, deadCount:1, locationId:410400\n", + "cityName:新乡, currentConfirmedCount:0, confirmedCount:57, suspectedCount:0, curedCount:54, deadCount:3, locationId:410700\n", + "cityName:安阳, currentConfirmedCount:0, confirmedCount:53, suspectedCount:0, curedCount:53, deadCount:0, locationId:410500\n", + "cityName:许昌, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:38, deadCount:1, locationId:411000\n", + "cityName:漯河, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:411100\n", + "cityName:焦作, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:31, deadCount:1, locationId:410800\n", + "cityName:洛阳, currentConfirmedCount:0, confirmedCount:31, suspectedCount:0, curedCount:30, deadCount:1, locationId:410300\n", + "cityName:开封, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:410200\n", + "cityName:鹤壁, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:410600\n", + "cityName:濮阳, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:410900\n", + "cityName:三门峡, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:6, deadCount:1, locationId:411200\n", + "cityName:济源, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:419001\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:湖南省 provinceShortName:湖南 currentConfirmedCount:0 confirmedCount:1019 suspectedCount:0 curedCount:1015 deadCount :4 \n", + "cityName:长沙, currentConfirmedCount:0, confirmedCount:242, suspectedCount:0, curedCount:240, deadCount:2, locationId:430100\n", + "cityName:岳阳, currentConfirmedCount:0, confirmedCount:156, suspectedCount:0, curedCount:155, deadCount:1, locationId:430600\n", + "cityName:邵阳, currentConfirmedCount:0, confirmedCount:102, suspectedCount:0, curedCount:101, deadCount:1, locationId:430500\n", + "cityName:常德, currentConfirmedCount:0, confirmedCount:82, suspectedCount:0, curedCount:82, deadCount:0, locationId:430700\n", + "cityName:株洲, currentConfirmedCount:0, confirmedCount:80, suspectedCount:0, curedCount:80, deadCount:0, locationId:430200\n", + "cityName:娄底, currentConfirmedCount:0, confirmedCount:76, suspectedCount:0, curedCount:76, deadCount:0, locationId:431300\n", + "cityName:益阳, currentConfirmedCount:0, confirmedCount:60, suspectedCount:0, curedCount:60, deadCount:0, locationId:430900\n", + "cityName:衡阳, currentConfirmedCount:0, confirmedCount:48, suspectedCount:0, curedCount:48, deadCount:0, locationId:430400\n", + "cityName:永州, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:44, deadCount:0, locationId:431100\n", + "cityName:怀化, currentConfirmedCount:0, confirmedCount:40, suspectedCount:0, curedCount:40, deadCount:0, locationId:431200\n", + "cityName:郴州, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:431000\n", + "cityName:湘潭, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:430300\n", + "cityName:湘西自治州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:433100\n", + "cityName:张家界, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:430800\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:安徽省 provinceShortName:安徽 currentConfirmedCount:0 confirmedCount:991 suspectedCount:0 curedCount:985 deadCount :6 \n", + "cityName:合肥, currentConfirmedCount:0, confirmedCount:174, suspectedCount:0, curedCount:173, deadCount:1, locationId:340100\n", + "cityName:蚌埠, currentConfirmedCount:0, confirmedCount:160, suspectedCount:0, curedCount:155, deadCount:5, locationId:340300\n", + "cityName:阜阳, currentConfirmedCount:0, confirmedCount:155, suspectedCount:0, curedCount:155, deadCount:0, locationId:341200\n", + "cityName:亳州, currentConfirmedCount:0, confirmedCount:108, suspectedCount:0, curedCount:108, deadCount:0, locationId:341600\n", + "cityName:安庆, currentConfirmedCount:0, confirmedCount:83, suspectedCount:0, curedCount:83, deadCount:0, locationId:340800\n", + "cityName:六安, currentConfirmedCount:0, confirmedCount:69, suspectedCount:0, curedCount:69, deadCount:0, locationId:341500\n", + "cityName:宿州, currentConfirmedCount:0, confirmedCount:41, suspectedCount:0, curedCount:41, deadCount:0, locationId:341300\n", + "cityName:马鞍山, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:38, deadCount:0, locationId:340500\n", + "cityName:芜湖, currentConfirmedCount:0, confirmedCount:34, suspectedCount:0, curedCount:34, deadCount:0, locationId:340200\n", + "cityName:铜陵, currentConfirmedCount:0, confirmedCount:29, suspectedCount:0, curedCount:29, deadCount:0, locationId:340700\n", + "cityName:淮北, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:340600\n", + "cityName:淮南, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:27, deadCount:0, locationId:340400\n", + "cityName:池州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:341700\n", + "cityName:滁州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:341100\n", + "cityName:黄山, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:341000\n", + "cityName:宣城, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:341800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:江西省 provinceShortName:江西 currentConfirmedCount:0 confirmedCount:932 suspectedCount:0 curedCount:931 deadCount :1 \n", + "cityName:南昌, currentConfirmedCount:0, confirmedCount:230, suspectedCount:0, curedCount:230, deadCount:0, locationId:360100\n", + "cityName:新余, currentConfirmedCount:0, confirmedCount:129, suspectedCount:0, curedCount:129, deadCount:0, locationId:360500\n", + "cityName:上饶, currentConfirmedCount:0, confirmedCount:123, suspectedCount:0, curedCount:123, deadCount:0, locationId:361100\n", + "cityName:九江, currentConfirmedCount:0, confirmedCount:116, suspectedCount:0, curedCount:116, deadCount:0, locationId:360400\n", + "cityName:宜春, currentConfirmedCount:0, confirmedCount:106, suspectedCount:0, curedCount:106, deadCount:0, locationId:360900\n", + "cityName:赣州, currentConfirmedCount:0, confirmedCount:74, suspectedCount:0, curedCount:73, deadCount:1, locationId:360700\n", + "cityName:抚州, currentConfirmedCount:0, confirmedCount:72, suspectedCount:0, curedCount:72, deadCount:0, locationId:361000\n", + "cityName:萍乡, currentConfirmedCount:0, confirmedCount:33, suspectedCount:0, curedCount:33, deadCount:0, locationId:360300\n", + "cityName:吉安, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:360800\n", + "cityName:鹰潭, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:360600\n", + "cityName:景德镇, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:360200\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:赣江新区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:重庆市 provinceShortName:重庆 currentConfirmedCount:0 confirmedCount:583 suspectedCount:1 curedCount:577 deadCount :6 \n", + "cityName:万州区, currentConfirmedCount:0, confirmedCount:118, suspectedCount:0, curedCount:114, deadCount:4, locationId:500101\n", + "cityName:江北区, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:500105\n", + "cityName:云阳县, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:500235\n", + "cityName:合川区, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:500117\n", + "cityName:綦江区, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:500110\n", + "cityName:长寿区, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:500115\n", + "cityName:奉节县, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:500236\n", + "cityName:九龙坡区, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:20, deadCount:1, locationId:500107\n", + "cityName:开州区, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:20, deadCount:1, locationId:500154\n", + "cityName:忠县, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:21, deadCount:0, locationId:500233\n", + "cityName:渝中区, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:500103\n", + "cityName:垫江县, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:500231\n", + "cityName:潼南区, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:500152\n", + "cityName:渝北区, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:500112\n", + "cityName:两江新区, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:-1\n", + "cityName:南岸区, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:500108\n", + "cityName:石柱县, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:500240\n", + "cityName:大足区, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:500111\n", + "cityName:巫溪县, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:500238\n", + "cityName:铜梁区, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500151\n", + "cityName:丰都县, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500230\n", + "cityName:巫山县, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500237\n", + "cityName:沙坪坝区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500106\n", + "cityName:璧山区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500120\n", + "cityName:荣昌区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500153\n", + "cityName:大渡口区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:500104\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:0\n", + "cityName:巴南区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:500113\n", + "cityName:涪陵区, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:500102\n", + "cityName:永川区, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:500118\n", + "cityName:江津区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:500116\n", + "cityName:梁平区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:500155\n", + "cityName:高新区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:黔江区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500114\n", + "cityName:城口县, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500229\n", + "cityName:彭水县, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500243\n", + "cityName:武隆区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:500156\n", + "cityName:秀山县, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:500241\n", + "cityName:酉阳县, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:万盛经开区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:广西壮族自治区 provinceShortName:广西 currentConfirmedCount:0 confirmedCount:255 suspectedCount:0 curedCount:253 deadCount :2 \n", + "cityName:南宁, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:450100\n", + "cityName:北海, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:43, deadCount:1, locationId:450500\n", + "cityName:桂林, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:450300\n", + "cityName:河池, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:27, deadCount:1, locationId:451200\n", + "cityName:柳州, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:450200\n", + "cityName:防城港, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:450600\n", + "cityName:玉林, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:450900\n", + "cityName:来宾, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:451300\n", + "cityName:钦州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:450700\n", + "cityName:贵港, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:450800\n", + "cityName:梧州, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:450400\n", + "cityName:贺州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:451100\n", + "cityName:百色, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:451000\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:天津市 provinceShortName:天津 currentConfirmedCount:0 confirmedCount:205 suspectedCount:49 curedCount:202 deadCount :3 \n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:68, suspectedCount:0, curedCount:68, deadCount:0, locationId:0\n", + "cityName:宝坻区, currentConfirmedCount:0, confirmedCount:60, suspectedCount:0, curedCount:58, deadCount:2, locationId:120115\n", + "cityName:河东区, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:120102\n", + "cityName:河北区, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:120105\n", + "cityName:北辰区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:120113\n", + "cityName:南开区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:120104\n", + "cityName:和平区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:120101\n", + "cityName:外地来津, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:-1\n", + "cityName:东丽区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120110\n", + "cityName:宁河区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120117\n", + "cityName:河西区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120103\n", + "cityName:西青区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120111\n", + "cityName:滨海新区, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:120116\n", + "cityName:武清区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120114\n", + "cityName:红桥区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120106\n", + "cityName:津南区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120112\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:山西省 provinceShortName:山西 currentConfirmedCount:0 confirmedCount:201 suspectedCount:64 curedCount:201 deadCount :0 \n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:67, suspectedCount:64, curedCount:67, deadCount:0, locationId:0\n", + "cityName:晋中, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:37, deadCount:0, locationId:140700\n", + "cityName:太原, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:21, deadCount:0, locationId:140100\n", + "cityName:运城, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:140800\n", + "cityName:大同, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:140200\n", + "cityName:晋城, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:140500\n", + "cityName:长治, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:140400\n", + "cityName:朔州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:140600\n", + "cityName:忻州, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:140900\n", + "cityName:吕梁, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:141100\n", + "cityName:阳泉, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:140300\n", + "cityName:临汾, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:141000\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:海南省 provinceShortName:海南 currentConfirmedCount:0 confirmedCount:171 suspectedCount:0 curedCount:165 deadCount :6 \n", + "cityName:三亚, currentConfirmedCount:0, confirmedCount:57, suspectedCount:0, curedCount:56, deadCount:1, locationId:460200\n", + "cityName:海口, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:460100\n", + "cityName:儋州, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:460400\n", + "cityName:万宁, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:469006\n", + "cityName:澄迈, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:8, deadCount:1, locationId:469023\n", + "cityName:昌江, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:469026\n", + "cityName:琼海, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:5, deadCount:1, locationId:469002\n", + "cityName:临高, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:469024\n", + "cityName:陵水, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:469028\n", + "cityName:定安, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:2, deadCount:1, locationId:469021\n", + "cityName:文昌, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:469005\n", + "cityName:东方, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:2, deadCount:1, locationId:469007\n", + "cityName:保亭, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:469029\n", + "cityName:乐东, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:469027\n", + "cityName:琼中, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:469030\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:贵州省 provinceShortName:贵州 currentConfirmedCount:0 confirmedCount:147 suspectedCount:0 curedCount:145 deadCount :2 \n", + "cityName:贵阳, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:35, deadCount:1, locationId:520100\n", + "cityName:遵义, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:520300\n", + "cityName:毕节, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:520500\n", + "cityName:黔南州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:522700\n", + "cityName:六盘水, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:520200\n", + "cityName:铜仁, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:520600\n", + "cityName:黔东南州, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:522600\n", + "cityName:安顺, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:520400\n", + "cityName:黔西南州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:522300\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:宁夏回族自治区 provinceShortName:宁夏 currentConfirmedCount:0 confirmedCount:75 suspectedCount:0 curedCount:75 deadCount :0 \n", + "cityName:银川, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:640100\n", + "cityName:吴忠, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:640300\n", + "cityName:固原, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:640400\n", + "cityName:中卫, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:640500\n", + "cityName:宁东, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:石嘴山, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:640200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:澳门 provinceShortName:澳门 currentConfirmedCount:0 confirmedCount:46 suspectedCount:9 curedCount:46 deadCount :0 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:青海省 provinceShortName:青海 currentConfirmedCount:0 confirmedCount:18 suspectedCount:0 curedCount:18 deadCount :0 \n", + "cityName:西宁, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:630100\n", + "cityName:海北州, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:632200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:西藏自治区 provinceShortName:西藏 currentConfirmedCount:0 confirmedCount:1 suspectedCount:0 curedCount:1 deadCount :0 \n", + "cityName:拉萨, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:540100\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n" + ] + } + ], + "source": [ + "'''测试'''\n", + "\n", + "# import requests\n", + "# from bs4 import BeautifulSoup\n", + "# import re\n", + "# import json\n", + "\n", + "# url = 'https://ncov.dxy.cn/ncovh5/view/pneumonia'\n", + "# res = requests.get(url)\n", + "# content = res.content.decode('utf-8')\n", + "# # print(content)\n", + "\n", + "# soup = BeautifulSoup(content,'html.parser')\n", + "\n", + "# tag = soup.find('script',attrs = {'id':'getAreaStat'})\n", + "# tagstr = tag.string\n", + "\n", + "# results = re.findall('\\{\"provinceName\":.*?\"cities\":.*?\\]\\}',tagstr)\n", + "# # print(result)\n", + "# all_province = []\n", + "\n", + "# for item in results:\n", + "# province = Province()\n", + "# obj = json.loads(item)\n", + "# province.provinceName = obj[\"provinceName\"]\n", + "# province.provinceShortName = obj[\"provinceShortName\"]\n", + "# province.currentConfirmedCount = obj[\"currentConfirmedCount\"]\n", + "# province.confirmedCount = obj[\"confirmedCount\"]\n", + "# province.suspectedCount = obj[\"suspectedCount\"]\n", + "# province.curedCount = obj[\"curedCount\"]\n", + "# province.deadCount = obj[\"deadCount\"]\n", + " \n", + "# cities = obj[\"cities\"]\n", + "# for cityItem in cities:\n", + "# # print(cityItem)\n", + "# city = City()\n", + " \n", + "# city.cityName = cityItem[\"cityName\"]\n", + "# city.currentConfirmedCount = cityItem[\"currentConfirmedCount\"]\n", + "# city.confirmedCount = cityItem[\"confirmedCount\"]\n", + "# city.suspectedCount = cityItem[\"suspectedCount\"]\n", + "# city.curedCount = cityItem[\"curedCount\"]\n", + "# city.deadCount = cityItem[\"deadCount\"]\n", + "# city.locationId = cityItem[\"locationId\"]\n", + "# province.cities.append(city)\n", + "# all_province.append(province)\n", + "\n", + "# for item in all_province:\n", + "# print(item)\n", + "# for i in item.cities:\n", + "# print(i)\n", + "# print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "delete from province_daily_datas where pub_time like \"2020-08-14%\"\n", + "之前省份删除成功\n", + "+++++++ save_province_datas, datas len:34\n", + "++++++++++++ save_province_datas is over\n", + "2020-08-14%\n", + "之前城市删除成功\n", + "+++++++ save_city_daily_datas, datas len:447\n", + "++++++++++++ save_city_daily_datas is over\n" + ] + } + ], + "source": [ + "import datetime\n", + "import requests\n", + "from bs4 import BeautifulSoup\n", + "import re\n", + "import json\n", + "import datetime\n", + "import pymysql\n", + "\n", + "def Inside(ds):\n", + " class Province:\n", + " def __init__(self):\n", + " self.provinceName = ''\n", + " self.provinceShortName = ''\n", + " self.currentConfirmedCount = 0 #现有确诊病例数\n", + " self.confirmedCount = 0 #累计确诊\n", + " self.suspectedCount = 0 #疑似病例\n", + " self.curedCount = 0 #累计治愈\n", + " self.deadCount = 0#累计死亡\n", + " self.pub_time = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')#时间\n", + " self.cities = []\n", + "\n", + " def __str__(self):\n", + " return 'provinceName:%s provinceShortName:%s currentConfirmedCount:%d \\\n", + " confirmedCount:%d suspectedCount:%d curedCount:%d deadCount :%d '%(self.provinceName,self.provinceShortName,self.currentConfirmedCount,self.confirmedCount,self.suspectedCount,self.curedCount,self.deadCount)\n", + "\n", + "\n", + " def get_info_tuple(self):\n", + " return ((self.provinceName,self.provinceShortName,self.currentConfirmedCount,self.confirmedCount, self.suspectedCount, self.curedCount,self.deadCount,self.pub_time))\n", + "\n", + " class City:\n", + " def __init__(self):\n", + " self.cityName = ''\n", + " self.currentConfirmedCount = 0\n", + " self.confirmedCount = 0\n", + " self.suspectedCount = 0\n", + " self.curedCount = 0\n", + " self.deadCount = 0\n", + " self.locationId =0\n", + " self.province = ''\n", + " self.pub_time = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')#时间\n", + "\n", + " def __str__(self):\n", + " return 'cityName:%s, currentConfirmedCount:%d, confirmedCount:%d, suspectedCount:%d,\\\n", + " curedCount:%d, deadCount:%d, locationId:%d, pub_time:%s ,province:%s '%(self.cityName, self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount, self.locationId,self.pub_time,self.province)\n", + "\n", + " def get_info_tuple(self):\n", + " return ((self.cityName, self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount, self.locationId,self.province,self.pub_time ))\n", + "\n", + "\n", + "\n", + " class MyDB:\n", + " def __init__(self,host,user,passwd,db):\n", + " self.conn = pymysql.connect(host,user,passwd,db)\n", + " self.cursor = self.conn.cursor()\n", + "\n", + " def get_province_list_tuple(self,all_province):\n", + " info_tuple = []\n", + " for item in all_province:\n", + " info_tuple.append(item.get_info_tuple())\n", + " return info_tuple\n", + "\n", + " def get_city_list_tuple(self,all_city):\n", + " info_tuple = []\n", + " for item in all_city:\n", + " info_tuple.append(item.get_info_tuple())\n", + " return info_tuple\n", + "\n", + " #保存省份数据\n", + " def save_province_datas(self,all_province):\n", + "\n", + " date1 = datetime.datetime.now().strftime('%Y-%m-%d')\n", + " sql1 = 'delete from province_daily_datas where pub_time like \"%s\"'%(date1 + '%')\n", + " print(sql1)\n", + "\n", + " try:\n", + " self.cursor.execute(sql1)\n", + " self.conn.commit()\n", + " print(\"之前省份删除成功\")\n", + " except Exception as a:\n", + " print(a)\n", + "\n", + " sql = 'insert into province_daily_datas(provinceName,provinceShortName,currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,pub_time) \\\n", + " values(%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_province_list_tuple(all_province)\n", + "\n", + " print(\"+++++++ save_province_datas, datas len:%d\"%(len(res)))\n", + "\n", + " try: \n", + "\n", + " self.cursor.executemany(sql,res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print(\"???\")\n", + " print(\"++++++++++++ save_province_datas is over\")\n", + "\n", + "\n", + " #保存城市数据\n", + " def save_city_datas(self,all_city):\n", + " date2 = datetime.datetime.now().strftime('%Y-%m-%d')\n", + " sql2 = 'delete from city_daily_datas where pub_time like \"%s\"'%(date2 + '%')\n", + " try:\n", + " self.cursor.execute(sql2)\n", + " print((date2+\"%\"))\n", + " self.conn.commit()\n", + " print(\"之前城市删除成功\")\n", + " except Exception as a:\n", + " print(a)\n", + " sql = 'insert into city_daily_datas(cityName,currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,locationId,province,pub_time) \\\n", + " values(%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_city_list_tuple(all_city)\n", + "\n", + " print(\"+++++++ save_city_daily_datas, datas len:%d\"%(len(res)))\n", + "\n", + " try:\n", + " self.cursor.executemany(sql,res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print(\"???\")\n", + " print(\"++++++++++++ save_city_daily_datas is over\") \n", + "\n", + " def __del__(self):\n", + " if self.conn is not None:\n", + " self.conn.close()\n", + "\n", + " class DataService:\n", + " def __init__(self,ds):\n", + " self.url = 'https://ncov.dxy.cn/ncovh5/view/pneumonia'\n", + " self.db = MyDB(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + "\n", + " #抓取网页\n", + " def fetch_html_page(self):\n", + " res = requests.get(self.url)\n", + " res = res.content.decode('utf-8')\n", + " return res\n", + "\n", + " #解析网页\n", + " def parse_html_page(self,html):\n", + " soup = BeautifulSoup(html,'html.parser')\n", + " tag = soup.find('script',attrs = {'id':'getAreaStat'})\n", + " tagstr = tag.string\n", + " self.results = re.findall('\\{\"provinceName\":.*?\"cities\":.*?\\]\\}',tagstr)\n", + "\n", + " #提取各个省份及其城市数据\n", + " def fetch_province_datas(self):\n", + " all_province = []\n", + " all_city = []\n", + " province_name = ''\n", + "\n", + " for item in self.results:\n", + " province = Province()\n", + " obj = json.loads(item)\n", + " province.provinceName = obj[\"provinceName\"]\n", + " #提取省份名,放入city()\n", + " province_name = province.provinceName\n", + "\n", + " province.provinceShortName = obj[\"provinceShortName\"]\n", + " province.currentConfirmedCount = obj[\"currentConfirmedCount\"]\n", + " province.confirmedCount = obj[\"confirmedCount\"]\n", + " province.suspectedCount = obj[\"suspectedCount\"]\n", + " province.curedCount = obj[\"curedCount\"]\n", + " province.deadCount = obj[\"deadCount\"]\n", + "\n", + " #提取城市数据\n", + " cities = obj[\"cities\"]\n", + " for cityItem in cities:\n", + " # print(cityItem)\n", + " city = City()\n", + "\n", + " city.province = province_name\n", + " city.cityName = cityItem[\"cityName\"]\n", + " city.currentConfirmedCount = cityItem[\"currentConfirmedCount\"]\n", + " city.confirmedCount = cityItem[\"confirmedCount\"]\n", + " city.suspectedCount = cityItem[\"suspectedCount\"]\n", + " city.curedCount = cityItem[\"curedCount\"]\n", + " city.deadCount = cityItem[\"deadCount\"]\n", + " city.locationId = cityItem[\"locationId\"]\n", + " all_city.append(city)\n", + " province.cities.append(city)\n", + " all_province.append(province)\n", + " return all_province,all_city\n", + "\n", + " #业务函数\n", + " def process_data(self):\n", + " html = self.fetch_html_page()\n", + " self.parse_html_page(html)\n", + " all_province,all_city = self.fetch_province_datas()\n", + " # print(len(all_province))\n", + " # for item in all_province:\n", + " # # print(item.get_info_tuple())\n", + " # for i in item.cities:\n", + " # print(i.get_info_tuple())\n", + " # print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)\n", + "\n", + " # for i in all_city:\n", + " # print(i.get_info_tuple())\n", + " # print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)\n", + " # print(len(all_city))\n", + " # # 保存省份数据\n", + " self.db.save_province_datas(all_province)\n", + " # 保存城市数据\n", + " self.db.save_city_datas(all_city)\n", + "\n", + " # 创建Dataservice对象\n", + " ds = DataService(ds)\n", + " ds.process_data()\n", + "\n", + "\n", + "Inside(['localhost','root','20Z00t10x28_my','covid19'])" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/FEM.ipynb b/.ipynb_checkpoints/O-checkpoint.ipynb similarity index 99% rename from FEM.ipynb rename to .ipynb_checkpoints/O-checkpoint.ipynb index c331c5b..f4ebe94 100644 --- a/FEM.ipynb +++ b/.ipynb_checkpoints/O-checkpoint.ipynb @@ -452,6 +452,7 @@ "import pymysql\n", "\n", "# 定义实体类\n", + "def Outside:\n", "class Country:\n", " def __init__(self):\n", " self.countryName = ''\n", @@ -495,7 +496,7 @@ " print(e)\n", " \n", " sql = 'insert into country_daily_datas(countryName,currentConfirmedCount,\\\n", - "confirmedCount,confirmedCountRank,curedCount,deadCount,deadCountRank,deadRate,deadRateRank,updateTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + "confirmedCount,confirmedCountRank,curedCount,deadCount,deadCountRank,deadRate,deadRateRank,pub_time) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", " res = self.get_country_list_tuple(all_country)\n", " \n", " print('+++ save_country_datas, data len: %d' % len(res))\n", @@ -548,7 +549,7 @@ " print(item) \n", " print('+++++++++++++++++++++++++' * 4)\n", " db.save_country_datas(all_country)\n", - " \n", + "\n", "forign_data_search()" ] }, diff --git a/.ipynb_checkpoints/OS-checkpoint.ipynb b/.ipynb_checkpoints/OS-checkpoint.ipynb new file mode 100644 index 0000000..0d7a056 --- /dev/null +++ b/.ipynb_checkpoints/OS-checkpoint.ipynb @@ -0,0 +1,202 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 定义实体类" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "+++ [MyDB] delete from outsideSummary_realtime_datas\n", + "+++ save_outsideSummary_datas, data len: 1\n", + "+++ save_outsideSummary_datas is over.\n" + ] + } + ], + "source": [ + "# 国外疫情实时概况\n", + "def OutsideSummary(dsin):\n", + " class OutsideSummary:\n", + " def __init__(self):\n", + " self.currentConfirmedCount = 0\n", + " self.confirmedCount = 0\n", + " self.suspectedCount = 0\n", + " self.curedCount = 0\n", + " self.deadCount = 0\n", + " self.suspectedIncr = 0\n", + " self.currentConfirmedIncr = 0\n", + " self.confirmedIncr = 0\n", + " self.curedIncr = 0\n", + " self.deadIncr = 0\n", + " self.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + "\n", + "\n", + " def get_info_tuple(self):\n", + " return (self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount,\n", + " self.deadCount, self.suspectedIncr, self.currentConfirmedIncr, self.confirmedIncr, self.curedIncr,\n", + " self.deadIncr, self.updatedTime)\n", + "\n", + "\n", + " def __str__(self):\n", + " return 'currentConfirmedCount:%s, confirmedCount:%s, suspectedCount:%s, curedCount:%s, deadCount:%s, suspectedIncr:%s, currentConfirmedIncr:%s, confirmedIncr:%s, curedIncr:%s, deadIncr:%s, updatedTime:%s' % (\n", + " self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount,\n", + " self.suspectedIncr, self.currentConfirmedIncr, self.confirmedIncr, self.curedIncr, self.deadIncr, self.updatedTime)\n", + "\n", + " # 数据库实体类\n", + "\n", + " #数据库实体类\n", + " import pymysql\n", + " class MyDB:\n", + " def __init__(self, host, user, passwd, db):\n", + " self.conn = pymysql.connect(host, user, passwd, db)\n", + " self.cursor = self.conn.cursor()\n", + "\n", + "\n", + " def get_outsideSummary_list_tuple(self, outsideSummary):\n", + " info_tuple = []\n", + " info_tuple.append(outsideSummary.get_info_tuple())\n", + " return info_tuple\n", + "\n", + "\n", + " # 保存数据\n", + " def save_outsideSummary_datas(self, outsideSummary):\n", + " print('+++ [MyDB] delete from outsideSummary_realtime_datas') \n", + " self.cursor.execute('delete from outsideSummary_realtime_datas') \n", + " self.conn.commit()\n", + "\n", + " sql = 'insert into outsideSummary_realtime_datas(currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,suspectedIncr,currentConfirmedIncr,confirmedIncr,curedIncr,deadIncr,updatedTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_outsideSummary_list_tuple(outsideSummary)\n", + " print('+++ save_outsideSummary_datas, data len: %d' % len(res))\n", + " try:\n", + " self.cursor.executemany(sql, res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print('+++ save_outsideSummary_datas is over.')\n", + "\n", + "\n", + " def __del__(self):\n", + " if self.conn is not None:\n", + " self.conn.close()\n", + "\n", + " # 业务逻辑类\n", + "\n", + " #业务逻辑类\n", + " import datetime\n", + " import requests\n", + " import re\n", + " from bs4 import BeautifulSoup\n", + " import json\n", + "\n", + "\n", + "\n", + " class DataService:\n", + " def __init__(self,ds):\n", + " self.db = MyDB(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + "\n", + "\n", + " # 爬取页面\n", + " res = requests.get('https://ncov.dxy.cn/ncovh5/view/pneumonia')\n", + "\n", + " # 重新解码\n", + " res = res.content.decode('utf-8')\n", + "\n", + " # 构建soup对象\n", + " soup = BeautifulSoup(res, 'html.parser')\n", + "\n", + " # 使用soup对象查找国外疫情数据标签\n", + " tag = soup.find('script', attrs={'id': 'getStatisticsService'})\n", + "\n", + " # 转成字符串\n", + " tagstr = tag.string\n", + " # 使用正则表达式查找所有内容\n", + " result = re.findall('\\{\"currentConfirmedCount\".*?\"deadIncr\".*?\\}', tagstr)\n", + "\n", + " # 获取国外疫情数据\n", + " #print(result[0])\n", + " obj = json.loads(result[0])\n", + "\n", + "\n", + "\n", + " #print(obj)\n", + " def fetch_outside_summary(obj):\n", + " outsideSummary = OutsideSummary()\n", + " outsideSummary.currentConfirmedCount = int(obj['currentConfirmedCount'])\n", + " outsideSummary.confirmedCount = int(obj['confirmedCount'])\n", + " outsideSummary.suspectedCount = int(obj['suspectedCount'])\n", + " outsideSummary.curedCount = int(obj['curedCount'])\n", + " outsideSummary.deadCount = int(obj['deadCount'])\n", + " outsideSummary.suspectedIncr = int(obj['suspectedIncr'])\n", + " outsideSummary.currentConfirmedIncr = int(obj['currentConfirmedIncr'])\n", + " outsideSummary.confirmedIncr = int(obj['confirmedIncr'])\n", + " outsideSummary.curedIncr = int(obj['curedIncr'])\n", + " outsideSummary.deadIncr = int(obj['deadIncr'])\n", + " outsideSummary.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + " return outsideSummary\n", + "\n", + "\n", + "\n", + " # 创建Dataservice对象\n", + " ds = DataService(dsin)\n", + " outsideSummary=fetch_outside_summary(obj)\n", + " ds.db.save_outsideSummary_datas(outsideSummary)\n", + " \n", + "ds=['localhost','root','20Z00t10x28_my','covid19']\n", + "OutsideSummary(ds)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/.ipynb_checkpoints/Untitled-checkpoint.ipynb b/.ipynb_checkpoints/Untitled-checkpoint.ipynb new file mode 100644 index 0000000..68396b4 --- /dev/null +++ b/.ipynb_checkpoints/Untitled-checkpoint.ipynb @@ -0,0 +1,173 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2020-08-14\n", + "The update was successful\n", + "+++ save_province_datas is over.\n", + "((1614, -125, 309, 28, 5, 1, 39, -2, 89673, 99, 2249, 22, 83352, 269, 4707, 3, '2020-08-14 16:53:26'),)\n" + ] + } + ], + "source": [ + "import re\n", + "import json\n", + "import requests\n", + "import pymysql\n", + "import datetime\n", + "##################################################################################################\n", + " #爬取数据\n", + "# 国内疫情数据概况\n", + "def InsideSummary(ds):\n", + " class InsideSummary:\n", + " def __init__(self):\n", + " self.curConfirm = 0 #现有确诊\n", + " self.curConfirmRelative = 0#较昨日新增确诊\n", + " self.asymptomatic = 0 #无症状感染\n", + " self.asymptomaticRelative = 0 #较昨日新增无症状感染\n", + " self.unconfirmed = 0 #现有疑似\n", + " self.unconfirmedRelative = 0#较昨日疑似新增\n", + " self.icu = 0 #现有重症\n", + " self.icuRelative = 0 #较昨日重症病例新增\n", + " self.confirmed = 0 #累计确诊\n", + " self.confirmedRelative = 0 #较昨日累计确诊新增\n", + " self.overseasInput = 0 #累计境外输入\n", + " self.overseasInputRelative = 0#较昨日累计境外输入新 增\n", + " self.cured = 0 #累计治愈\n", + " self.curedRelative = 0 #较昨日累计治愈新增\n", + " self.died = 0 #累计死亡\n", + " self.diedRelative = 0#较昨日累计死亡新增\n", + " self.updatedTime = 0 #发布时间\n", + " # 数据库接口\n", + " def get_inside_summary_tuple(self):\n", + " return ((self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, \\\n", + " self.unconfirmed, self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, \\\n", + " self.confirmedRelative, self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, \\\n", + " self.died, self.diedRelative, self.updatedTime))\n", + " # 输出接口\n", + " def __str__(self):\n", + " return '%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s' % (\n", + " self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, self.unconfirmed,\n", + " self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, self.confirmedRelative,\n", + " self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, self.died, self.diedRelative,\n", + " self.updatedTime)\n", + " #######################################################################################################\n", + " #业务逻辑类\n", + "\n", + " # 爬取国内疫情数据\n", + " res=requests.get('https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5')\n", + " #解码\n", + " res=res.content.decode('utf-8')\n", + "\n", + " dict=json.loads(res) #str->dict\n", + "\n", + " #规范数据\n", + " for key in dict:\n", + " try:\n", + " dict[key] = dict[key].replace('\\\\', '')\n", + " key=key.replace('\\\\','')\n", + " except:\n", + " pass\n", + " #新生成data字典\n", + " data=json.loads(dict['data'])\n", + "\n", + " # 国内疫情数据实例化\n", + " # # #赋值\n", + " def fetch_inside_summary(data):\n", + " insideSummary = InsideSummary()\n", + " insideSummary.curConfirm = int(data['chinaTotal']['nowConfirm'])\n", + " insideSummary.curConfirmRelative = int(data['chinaAdd']['nowConfirm'])\n", + " insideSummary.asymptomatic = int(data['chinaTotal']['noInfect'])\n", + " insideSummary.asymptomaticRelative = int(data['chinaAdd']['noInfect'])\n", + " insideSummary.unconfirmed = int(data['chinaTotal']['suspect'])\n", + " insideSummary.unconfirmedRelative = int(data['chinaAdd']['suspect'])\n", + " insideSummary.icu = int(data['chinaTotal']['nowSevere'])\n", + " insideSummary.icuRelative = int(data['chinaAdd']['nowSevere'])\n", + " insideSummary.confirmed = int(data['chinaTotal']['confirm'])\n", + " insideSummary.updatedTime = data['lastUpdateTime']\n", + " insideSummary.confirmedRelative = int(data['chinaAdd']['confirm'])\n", + " insideSummary.overseasInput = int(data['chinaTotal']['importedCase'])\n", + " insideSummary.overseasInputRelative = int(data['chinaAdd']['importedCase'])\n", + " insideSummary.cured = int(data['chinaTotal']['heal'])\n", + " insideSummary.curedRelative = int(data['chinaAdd']['heal'])\n", + " insideSummary.died = int(data['chinaTotal']['dead'])\n", + " insideSummary.diedRelative = int(data['chinaAdd']['dead'])\n", + " return insideSummary\n", + " ##########################################################################################################\n", + " #存储数据于数据库\n", + "\n", + " #保存国内疫情概况数据\n", + "\n", + " def insert(res,ds):\n", + "\n", + " # 创建连接,并且返回连接对象)\n", + " conn =pymysql.connect(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + " # 创建游标对象\n", + " cursor = conn.cursor()\n", + "\n", + " date = data['lastUpdateTime'].split(' ',1)[0]\n", + " print(date)\n", + " sql = 'delete from home_realtime_datas where updatedTime like \"%s\"'%(date+'%')\n", + " print('The update was successful')\n", + " try:\n", + " cursor.execute(sql)\n", + " conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + "\n", + " sql='insert into home_realtime_datas(curConfirm,curConfirmRelative,asymptomatic,asymptomaticRelative,unconfirmed,unconfirmedRelative,icu,icuRelative,confirmed,confirmedRelative,overseasInput,overseasInputRelative,cured,curedRelative,died,diedRelative,updatedTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " try:\n", + " cursor.execute(sql, res)\n", + " conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print('+++ save_province_datas is over.')\n", + " cursor.close()\n", + " conn.close()\n", + "\n", + " insert(fetch_inside_summary(data).get_inside_summary_tuple(),ds)\n", + " conn = pymysql.connect(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + " cursor = conn.cursor()\n", + " sql = 'select * from home_realtime_datas'\n", + " cursor.execute(sql)\n", + " results = cursor.fetchall()\n", + " print(results)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/I.ipynb b/I.ipynb new file mode 100644 index 0000000..ea68f37 --- /dev/null +++ b/I.ipynb @@ -0,0 +1,847 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 80, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "provinceName:香港 provinceShortName:香港 currentConfirmedCount:1128 confirmedCount:4243 suspectedCount:103 curedCount:3052 deadCount :63 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:新疆维吾尔自治区 provinceShortName:新疆 currentConfirmedCount:535 confirmedCount:875 suspectedCount:0 curedCount:337 deadCount :3 \n", + "cityName:乌鲁木齐, currentConfirmedCount:532, confirmedCount:818, suspectedCount:0, curedCount:286, deadCount:0, locationId:650100\n", + "cityName:昌吉州, currentConfirmedCount:1, confirmedCount:5, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:喀什地区, currentConfirmedCount:1, confirmedCount:2, suspectedCount:0, curedCount:1, deadCount:0, locationId:653100\n", + "cityName:伊犁州, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:654000\n", + "cityName:兵团第四师, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:0\n", + "cityName:兵团第八师石河子市, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:3, deadCount:1, locationId:0\n", + "cityName:兵团第九师, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:3, deadCount:1, locationId:0\n", + "cityName:吐鲁番市, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:650400\n", + "cityName:巴州, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:511902\n", + "cityName:兵团第十二师, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "cityName:兵团第六师五家渠市, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:兵团第七师, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:阿克苏地区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:652900\n", + "cityName:待明确地区, currentConfirmedCount:1, confirmedCount:1, suspectedCount:0, curedCount:0, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:辽宁省 provinceShortName:辽宁 currentConfirmedCount:68 confirmedCount:261 suspectedCount:0 curedCount:191 deadCount :2 \n", + "cityName:大连, currentConfirmedCount:62, confirmedCount:110, suspectedCount:0, curedCount:48, deadCount:0, locationId:210200\n", + "cityName:境外输入, currentConfirmedCount:5, confirmedCount:37, suspectedCount:0, curedCount:32, deadCount:0, locationId:0\n", + "cityName:铁岭, currentConfirmedCount:1, confirmedCount:8, suspectedCount:0, curedCount:7, deadCount:0, locationId:211200\n", + "cityName:沈阳, currentConfirmedCount:0, confirmedCount:34, suspectedCount:0, curedCount:34, deadCount:0, locationId:210100\n", + "cityName:锦州, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:210700\n", + "cityName:葫芦岛, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:11, deadCount:1, locationId:211400\n", + "cityName:丹东, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:210600\n", + "cityName:盘锦, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:211100\n", + "cityName:阜新, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:210900\n", + "cityName:朝阳, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:5, deadCount:1, locationId:211300\n", + "cityName:鞍山, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:210300\n", + "cityName:本溪, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:210500\n", + "cityName:辽阳, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:211000\n", + "cityName:营口, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:210800\n", + "cityName:抚顺, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:210400\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:上海市 provinceShortName:上海 currentConfirmedCount:54 confirmedCount:798 suspectedCount:393 curedCount:737 deadCount :7 \n", + "cityName:境外输入, currentConfirmedCount:54, confirmedCount:456, suspectedCount:4, curedCount:402, deadCount:0, locationId:0\n", + "cityName:外地来沪, currentConfirmedCount:0, confirmedCount:113, suspectedCount:0, curedCount:112, deadCount:1, locationId:0\n", + "cityName:浦东新区, currentConfirmedCount:0, confirmedCount:61, suspectedCount:0, curedCount:60, deadCount:1, locationId:310115\n", + "cityName:宝山区, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:21, deadCount:1, locationId:310113\n", + "cityName:闵行区, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:310112\n", + "cityName:徐汇区, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:17, deadCount:1, locationId:310104\n", + "cityName:静安区, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:15, deadCount:1, locationId:310106\n", + "cityName:松江区, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:310117\n", + "cityName:长宁区, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:310105\n", + "cityName:普陀区, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:310107\n", + "cityName:杨浦区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:310110\n", + "cityName:嘉定区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:7, deadCount:2, locationId:310114\n", + "cityName:奉贤区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:310120\n", + "cityName:虹口区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:310109\n", + "cityName:黄浦区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:310101\n", + "cityName:青浦区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:310118\n", + "cityName:金山区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:310116\n", + "cityName:崇明区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:310151\n", + "cityName:境外来沪, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:台湾 provinceShortName:台湾 currentConfirmedCount:30 confirmedCount:480 suspectedCount:371 curedCount:443 deadCount :7 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:山东省 provinceShortName:山东 currentConfirmedCount:22 confirmedCount:817 suspectedCount:14 curedCount:788 deadCount :7 \n", + "cityName:境外输入, currentConfirmedCount:16, confirmedCount:48, suspectedCount:14, curedCount:32, deadCount:0, locationId:0\n", + "cityName:济南, currentConfirmedCount:6, confirmedCount:53, suspectedCount:0, curedCount:47, deadCount:0, locationId:370100\n", + "cityName:济宁, currentConfirmedCount:0, confirmedCount:260, suspectedCount:0, curedCount:260, deadCount:0, locationId:370800\n", + "cityName:青岛, currentConfirmedCount:0, confirmedCount:65, suspectedCount:0, curedCount:64, deadCount:1, locationId:370200\n", + "cityName:临沂, currentConfirmedCount:0, confirmedCount:49, suspectedCount:0, curedCount:49, deadCount:0, locationId:371300\n", + "cityName:烟台, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:47, deadCount:0, locationId:370600\n", + "cityName:潍坊, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:44, deadCount:0, locationId:370700\n", + "cityName:威海, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:37, deadCount:1, locationId:371000\n", + "cityName:聊城, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:38, deadCount:0, locationId:371500\n", + "cityName:德州, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:35, deadCount:2, locationId:371400\n", + "cityName:泰安, currentConfirmedCount:0, confirmedCount:35, suspectedCount:0, curedCount:33, deadCount:2, locationId:370900\n", + "cityName:淄博, currentConfirmedCount:0, confirmedCount:30, suspectedCount:0, curedCount:29, deadCount:1, locationId:370300\n", + "cityName:枣庄, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:370400\n", + "cityName:菏泽, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:371700\n", + "cityName:日照, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:16, deadCount:0, locationId:371100\n", + "cityName:滨州, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:371600\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:广东省 provinceShortName:广东 currentConfirmedCount:15 confirmedCount:1699 suspectedCount:14 curedCount:1676 deadCount :8 \n", + "cityName:广州, currentConfirmedCount:11, confirmedCount:610, suspectedCount:9, curedCount:598, deadCount:1, locationId:440100\n", + "cityName:深圳, currentConfirmedCount:3, confirmedCount:465, suspectedCount:1, curedCount:459, deadCount:3, locationId:440300\n", + "cityName:珠海, currentConfirmedCount:1, confirmedCount:105, suspectedCount:1, curedCount:103, deadCount:1, locationId:440400\n", + "cityName:东莞, currentConfirmedCount:0, confirmedCount:100, suspectedCount:0, curedCount:99, deadCount:1, locationId:441900\n", + "cityName:佛山, currentConfirmedCount:0, confirmedCount:100, suspectedCount:1, curedCount:100, deadCount:0, locationId:440600\n", + "cityName:中山, currentConfirmedCount:0, confirmedCount:69, suspectedCount:0, curedCount:69, deadCount:0, locationId:442000\n", + "cityName:惠州, currentConfirmedCount:0, confirmedCount:62, suspectedCount:0, curedCount:62, deadCount:0, locationId:441300\n", + "cityName:汕头, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:440500\n", + "cityName:江门, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:440700\n", + "cityName:湛江, currentConfirmedCount:0, confirmedCount:24, suspectedCount:2, curedCount:24, deadCount:0, locationId:440800\n", + "cityName:肇庆, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:19, deadCount:1, locationId:441200\n", + "cityName:梅州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:441400\n", + "cityName:阳江, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:441700\n", + "cityName:茂名, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:440900\n", + "cityName:清远, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:441800\n", + "cityName:揭阳, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:445200\n", + "cityName:韶关, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:440200\n", + "cityName:潮州, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:445100\n", + "cityName:汕尾, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:441500\n", + "cityName:河源, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:441600\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:陕西省 provinceShortName:陕西 currentConfirmedCount:15 confirmedCount:341 suspectedCount:1 curedCount:323 deadCount :3 \n", + "cityName:境外输入, currentConfirmedCount:15, confirmedCount:96, suspectedCount:0, curedCount:81, deadCount:0, locationId:0\n", + "cityName:西安, currentConfirmedCount:0, confirmedCount:120, suspectedCount:0, curedCount:117, deadCount:3, locationId:610100\n", + "cityName:安康, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:610900\n", + "cityName:汉中, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:610700\n", + "cityName:咸阳, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:610400\n", + "cityName:渭南, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:610500\n", + "cityName:宝鸡, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:610300\n", + "cityName:延安, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:610600\n", + "cityName:铜川, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:610200\n", + "cityName:商洛, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:611000\n", + "cityName:榆林, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:610800\n", + "cityName:韩城, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:610581\n", + "cityName:杨凌, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:四川省 provinceShortName:四川 currentConfirmedCount:13 confirmedCount:616 suspectedCount:13 curedCount:600 deadCount :3 \n", + "cityName:成都, currentConfirmedCount:13, confirmedCount:220, suspectedCount:13, curedCount:204, deadCount:3, locationId:510100\n", + "cityName:甘孜州, currentConfirmedCount:0, confirmedCount:78, suspectedCount:0, curedCount:78, deadCount:0, locationId:513300\n", + "cityName:达州, currentConfirmedCount:0, confirmedCount:42, suspectedCount:0, curedCount:42, deadCount:0, locationId:511700\n", + "cityName:南充, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:511300\n", + "cityName:广安, currentConfirmedCount:0, confirmedCount:30, suspectedCount:0, curedCount:30, deadCount:0, locationId:511600\n", + "cityName:泸州, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:510500\n", + "cityName:巴中, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:511900\n", + "cityName:绵阳, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:510700\n", + "cityName:内江, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:511000\n", + "cityName:德阳, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:510600\n", + "cityName:遂宁, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:510900\n", + "cityName:攀枝花, currentConfirmedCount:0, confirmedCount:16, suspectedCount:0, curedCount:16, deadCount:0, locationId:510400\n", + "cityName:凉山州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:513400\n", + "cityName:宜宾, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:511500\n", + "cityName:自贡, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:510300\n", + "cityName:眉山, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:511400\n", + "cityName:雅安, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:511800\n", + "cityName:广元, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:510800\n", + "cityName:资阳, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:512000\n", + "cityName:乐山, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:511100\n", + "cityName:阿坝州, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:513200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:浙江省 provinceShortName:浙江 currentConfirmedCount:6 confirmedCount:1275 suspectedCount:3 curedCount:1268 deadCount :1 \n", + "cityName:境外输入, currentConfirmedCount:6, confirmedCount:56, suspectedCount:2, curedCount:50, deadCount:0, locationId:0\n", + "cityName:温州, currentConfirmedCount:0, confirmedCount:504, suspectedCount:0, curedCount:503, deadCount:1, locationId:330300\n", + "cityName:杭州, currentConfirmedCount:0, confirmedCount:181, suspectedCount:0, curedCount:181, deadCount:0, locationId:330100\n", + "cityName:宁波, currentConfirmedCount:0, confirmedCount:157, suspectedCount:0, curedCount:157, deadCount:0, locationId:330200\n", + "cityName:台州, currentConfirmedCount:0, confirmedCount:147, suspectedCount:0, curedCount:147, deadCount:0, locationId:331000\n", + "cityName:金华, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:330700\n", + "cityName:嘉兴, currentConfirmedCount:0, confirmedCount:46, suspectedCount:0, curedCount:46, deadCount:0, locationId:330400\n", + "cityName:绍兴, currentConfirmedCount:0, confirmedCount:42, suspectedCount:0, curedCount:42, deadCount:0, locationId:330600\n", + "cityName:省十里丰监狱, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:0\n", + "cityName:丽水, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:331100\n", + "cityName:衢州, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:330800\n", + "cityName:湖州, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:330500\n", + "cityName:舟山, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:330900\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:北京市 provinceShortName:北京 currentConfirmedCount:6 confirmedCount:935 suspectedCount:164 curedCount:920 deadCount :9 \n", + "cityName:丰台区, currentConfirmedCount:266, confirmedCount:273, suspectedCount:0, curedCount:7, deadCount:0, locationId:110106\n", + "cityName:大兴区, currentConfirmedCount:88, confirmedCount:104, suspectedCount:0, curedCount:16, deadCount:0, locationId:110115\n", + "cityName:海淀区, currentConfirmedCount:82, confirmedCount:82, suspectedCount:0, curedCount:0, deadCount:0, locationId:110108\n", + "cityName:朝阳区, currentConfirmedCount:77, confirmedCount:77, suspectedCount:0, curedCount:0, deadCount:0, locationId:110105\n", + "cityName:西城区, currentConfirmedCount:59, confirmedCount:59, suspectedCount:0, curedCount:0, deadCount:0, locationId:110102\n", + "cityName:外地来京, currentConfirmedCount:24, confirmedCount:26, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:昌平区, currentConfirmedCount:20, confirmedCount:30, suspectedCount:0, curedCount:10, deadCount:0, locationId:110114\n", + "cityName:通州区, currentConfirmedCount:19, confirmedCount:20, suspectedCount:0, curedCount:1, deadCount:0, locationId:110112\n", + "cityName:东城区, currentConfirmedCount:18, confirmedCount:19, suspectedCount:0, curedCount:1, deadCount:0, locationId:110101\n", + "cityName:房山区, currentConfirmedCount:17, confirmedCount:20, suspectedCount:0, curedCount:3, deadCount:0, locationId:110111\n", + "cityName:怀柔区, currentConfirmedCount:7, confirmedCount:7, suspectedCount:0, curedCount:0, deadCount:0, locationId:110116\n", + "cityName:密云区, currentConfirmedCount:7, confirmedCount:7, suspectedCount:0, curedCount:0, deadCount:0, locationId:110118\n", + "cityName:石景山区, currentConfirmedCount:6, confirmedCount:15, suspectedCount:0, curedCount:9, deadCount:0, locationId:110107\n", + "cityName:门头沟区, currentConfirmedCount:3, confirmedCount:5, suspectedCount:0, curedCount:2, deadCount:0, locationId:110109\n", + "cityName:境外输入, currentConfirmedCount:2, confirmedCount:176, suspectedCount:3, curedCount:174, deadCount:0, locationId:0\n", + "cityName:延庆区, currentConfirmedCount:1, confirmedCount:1, suspectedCount:0, curedCount:0, deadCount:0, locationId:110119\n", + "cityName:顺义区, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:110113\n", + "cityName:待明确地区, currentConfirmedCount:-690, confirmedCount:4, suspectedCount:0, curedCount:685, deadCount:9, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:湖北省 provinceShortName:湖北 currentConfirmedCount:4 confirmedCount:68139 suspectedCount:0 curedCount:63623 deadCount :4512 \n", + "cityName:武汉, currentConfirmedCount:4, confirmedCount:50344, suspectedCount:0, curedCount:46471, deadCount:3869, locationId:420100\n", + "cityName:孝感, currentConfirmedCount:0, confirmedCount:3518, suspectedCount:0, curedCount:3389, deadCount:129, locationId:420900\n", + "cityName:黄冈, currentConfirmedCount:0, confirmedCount:2907, suspectedCount:0, curedCount:2782, deadCount:125, locationId:421100\n", + "cityName:荆州, currentConfirmedCount:0, confirmedCount:1580, suspectedCount:0, curedCount:1528, deadCount:52, locationId:421000\n", + "cityName:鄂州, currentConfirmedCount:0, confirmedCount:1394, suspectedCount:0, curedCount:1335, deadCount:59, locationId:420700\n", + "cityName:随州, currentConfirmedCount:0, confirmedCount:1307, suspectedCount:0, curedCount:1262, deadCount:45, locationId:421300\n", + "cityName:襄阳, currentConfirmedCount:0, confirmedCount:1175, suspectedCount:0, curedCount:1135, deadCount:40, locationId:420600\n", + "cityName:黄石, currentConfirmedCount:0, confirmedCount:1015, suspectedCount:0, curedCount:976, deadCount:39, locationId:420200\n", + "cityName:宜昌, currentConfirmedCount:0, confirmedCount:931, suspectedCount:0, curedCount:894, deadCount:37, locationId:420500\n", + "cityName:荆门, currentConfirmedCount:0, confirmedCount:928, suspectedCount:0, curedCount:887, deadCount:41, locationId:420800\n", + "cityName:咸宁, currentConfirmedCount:0, confirmedCount:836, suspectedCount:0, curedCount:821, deadCount:15, locationId:421200\n", + "cityName:十堰, currentConfirmedCount:0, confirmedCount:672, suspectedCount:0, curedCount:664, deadCount:8, locationId:420300\n", + "cityName:仙桃, currentConfirmedCount:0, confirmedCount:575, suspectedCount:0, curedCount:553, deadCount:22, locationId:429004\n", + "cityName:天门, currentConfirmedCount:0, confirmedCount:496, suspectedCount:0, curedCount:481, deadCount:15, locationId:429006\n", + "cityName:恩施州, currentConfirmedCount:0, confirmedCount:252, suspectedCount:0, curedCount:245, deadCount:7, locationId:422800\n", + "cityName:潜江, currentConfirmedCount:0, confirmedCount:198, suspectedCount:0, curedCount:189, deadCount:9, locationId:429005\n", + "cityName:神农架林区, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:429021\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:福建省 provinceShortName:福建 currentConfirmedCount:4 confirmedCount:368 suspectedCount:3 curedCount:363 deadCount :1 \n", + "cityName:境外输入人员, currentConfirmedCount:4, confirmedCount:72, suspectedCount:1, curedCount:68, deadCount:0, locationId:0\n", + "cityName:福州, currentConfirmedCount:0, confirmedCount:72, suspectedCount:0, curedCount:71, deadCount:1, locationId:350100\n", + "cityName:莆田, currentConfirmedCount:0, confirmedCount:56, suspectedCount:0, curedCount:56, deadCount:0, locationId:350300\n", + "cityName:泉州, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:47, deadCount:0, locationId:350500\n", + "cityName:厦门, currentConfirmedCount:0, confirmedCount:35, suspectedCount:0, curedCount:35, deadCount:0, locationId:350200\n", + "cityName:宁德, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:350900\n", + "cityName:漳州, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:350600\n", + "cityName:南平, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:350700\n", + "cityName:三明, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:350400\n", + "cityName:龙岩, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:350800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:内蒙古自治区 provinceShortName:内蒙古 currentConfirmedCount:4 confirmedCount:259 suspectedCount:34 curedCount:254 deadCount :1 \n", + "cityName:境外输入人员, currentConfirmedCount:4, confirmedCount:182, suspectedCount:34, curedCount:178, deadCount:0, locationId:0\n", + "cityName:鄂尔多斯, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:150600\n", + "cityName:包头, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:150200\n", + "cityName:赤峰, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:150400\n", + "cityName:锡林郭勒盟, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:152500\n", + "cityName:呼伦贝尔, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:150700\n", + "cityName:巴彦淖尔, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:7, deadCount:1, locationId:150800\n", + "cityName:呼和浩特, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:150100\n", + "cityName:通辽, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:150500\n", + "cityName:乌兰察布, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:150900\n", + "cityName:乌海市, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:150300\n", + "cityName:兴安盟, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:152200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:江苏省 provinceShortName:江苏 currentConfirmedCount:3 confirmedCount:659 suspectedCount:3 curedCount:656 deadCount :0 \n", + "cityName:境外输入, currentConfirmedCount:3, confirmedCount:28, suspectedCount:0, curedCount:25, deadCount:0, locationId:0\n", + "cityName:南京, currentConfirmedCount:0, confirmedCount:93, suspectedCount:0, curedCount:93, deadCount:0, locationId:320100\n", + "cityName:苏州, currentConfirmedCount:0, confirmedCount:87, suspectedCount:0, curedCount:87, deadCount:0, locationId:320500\n", + "cityName:徐州, currentConfirmedCount:0, confirmedCount:79, suspectedCount:0, curedCount:79, deadCount:0, locationId:320300\n", + "cityName:淮安, currentConfirmedCount:0, confirmedCount:66, suspectedCount:0, curedCount:66, deadCount:0, locationId:320800\n", + "cityName:无锡, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:320200\n", + "cityName:常州, currentConfirmedCount:0, confirmedCount:51, suspectedCount:0, curedCount:51, deadCount:0, locationId:320400\n", + "cityName:连云港, currentConfirmedCount:0, confirmedCount:48, suspectedCount:0, curedCount:48, deadCount:0, locationId:320700\n", + "cityName:南通, currentConfirmedCount:0, confirmedCount:40, suspectedCount:0, curedCount:40, deadCount:0, locationId:320600\n", + "cityName:泰州, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:37, deadCount:0, locationId:321200\n", + "cityName:盐城, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:27, deadCount:0, locationId:320900\n", + "cityName:扬州, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:321000\n", + "cityName:宿迁, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:321300\n", + "cityName:镇江, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:321100\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:甘肃省 provinceShortName:甘肃 currentConfirmedCount:2 confirmedCount:169 suspectedCount:0 curedCount:165 deadCount :2 \n", + "cityName:境外输入, currentConfirmedCount:2, confirmedCount:77, suspectedCount:0, curedCount:75, deadCount:0, locationId:0\n", + "cityName:兰州, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:34, deadCount:2, locationId:620100\n", + "cityName:天水, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:620500\n", + "cityName:平凉, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:620800\n", + "cityName:定西, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:621100\n", + "cityName:甘南, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:623000\n", + "cityName:白银, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:620400\n", + "cityName:陇南, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:621200\n", + "cityName:庆阳, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:621000\n", + "cityName:临夏, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:622900\n", + "cityName:张掖, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:620700\n", + "cityName:金昌, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:620300\n", + "cityName:省级(湖北输入), currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:黑龙江省 provinceShortName:黑龙江 currentConfirmedCount:1 confirmedCount:948 suspectedCount:394 curedCount:934 deadCount :13 \n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:387, suspectedCount:386, curedCount:386, deadCount:0, locationId:0\n", + "cityName:哈尔滨, currentConfirmedCount:0, confirmedCount:264, suspectedCount:8, curedCount:260, deadCount:4, locationId:230100\n", + "cityName:双鸭山, currentConfirmedCount:0, confirmedCount:52, suspectedCount:0, curedCount:49, deadCount:3, locationId:230500\n", + "cityName:绥化, currentConfirmedCount:0, confirmedCount:47, suspectedCount:0, curedCount:43, deadCount:4, locationId:231200\n", + "cityName:鸡西, currentConfirmedCount:0, confirmedCount:46, suspectedCount:0, curedCount:46, deadCount:0, locationId:230300\n", + "cityName:齐齐哈尔, currentConfirmedCount:0, confirmedCount:43, suspectedCount:0, curedCount:42, deadCount:1, locationId:230200\n", + "cityName:大庆, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:26, deadCount:1, locationId:230600\n", + "cityName:牡丹江, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:231000\n", + "cityName:七台河, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:230900\n", + "cityName:佳木斯, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:230800\n", + "cityName:黑河, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:231100\n", + "cityName:鹤岗, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:230400\n", + "cityName:大兴安岭, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:232700\n", + "cityName:待明确, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:伊春, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:230700\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:河北省 provinceShortName:河北 currentConfirmedCount:1 confirmedCount:350 suspectedCount:0 curedCount:343 deadCount :6 \n", + "cityName:保定, currentConfirmedCount:4, confirmedCount:48, suspectedCount:0, curedCount:44, deadCount:0, locationId:130600\n", + "cityName:廊坊, currentConfirmedCount:2, confirmedCount:32, suspectedCount:0, curedCount:30, deadCount:0, locationId:131000\n", + "cityName:沧州, currentConfirmedCount:1, confirmedCount:49, suspectedCount:0, curedCount:45, deadCount:3, locationId:130900\n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:11, suspectedCount:0, curedCount:10, deadCount:0, locationId:0\n", + "cityName:唐山, currentConfirmedCount:0, confirmedCount:58, suspectedCount:0, curedCount:57, deadCount:1, locationId:130200\n", + "cityName:张家口, currentConfirmedCount:0, confirmedCount:43, suspectedCount:0, curedCount:43, deadCount:0, locationId:130700\n", + "cityName:邯郸, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:130400\n", + "cityName:石家庄, currentConfirmedCount:0, confirmedCount:29, suspectedCount:0, curedCount:29, deadCount:0, locationId:130100\n", + "cityName:邢台, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:22, deadCount:1, locationId:130500\n", + "cityName:秦皇岛, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:130300\n", + "cityName:衡水, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:131100\n", + "cityName:承德, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:130800\n", + "cityName:待明确, currentConfirmedCount:-7, confirmedCount:0, suspectedCount:0, curedCount:7, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:云南省 provinceShortName:云南 currentConfirmedCount:1 confirmedCount:191 suspectedCount:0 curedCount:188 deadCount :2 \n", + "cityName:境外输入, currentConfirmedCount:1, confirmedCount:17, suspectedCount:0, curedCount:16, deadCount:0, locationId:0\n", + "cityName:昆明, currentConfirmedCount:0, confirmedCount:53, suspectedCount:0, curedCount:53, deadCount:0, locationId:530100\n", + "cityName:昭通, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:530600\n", + "cityName:西双版纳, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:532800\n", + "cityName:玉溪, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:13, deadCount:1, locationId:530400\n", + "cityName:曲靖, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:530300\n", + "cityName:大理州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:0\n", + "cityName:红河州, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:0\n", + "cityName:保山, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:530500\n", + "cityName:丽江, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:530700\n", + "cityName:德宏州, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:0\n", + "cityName:普洱, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:530800\n", + "cityName:楚雄州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:文山州, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:临沧, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:530900\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:吉林省 provinceShortName:吉林 currentConfirmedCount:1 confirmedCount:157 suspectedCount:19 curedCount:154 deadCount :2 \n", + "cityName:四平市, currentConfirmedCount:1, confirmedCount:17, suspectedCount:0, curedCount:15, deadCount:1, locationId:220300\n", + "cityName:吉林市, currentConfirmedCount:0, confirmedCount:60, suspectedCount:12, curedCount:59, deadCount:1, locationId:220200\n", + "cityName:长春, currentConfirmedCount:0, confirmedCount:49, suspectedCount:1, curedCount:49, deadCount:0, locationId:220100\n", + "cityName:辽源, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:220400\n", + "cityName:延边, currentConfirmedCount:0, confirmedCount:7, suspectedCount:1, curedCount:7, deadCount:0, locationId:222400\n", + "cityName:公主岭, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:220381\n", + "cityName:通化, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:220500\n", + "cityName:松原, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:220700\n", + "cityName:梅河口, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:220581\n", + "cityName:白城, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:220800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:河南省 provinceShortName:河南 currentConfirmedCount:0 confirmedCount:1276 suspectedCount:0 curedCount:1254 deadCount :22 \n", + "cityName:信阳, currentConfirmedCount:0, confirmedCount:274, suspectedCount:0, curedCount:272, deadCount:2, locationId:411500\n", + "cityName:郑州, currentConfirmedCount:0, confirmedCount:157, suspectedCount:0, curedCount:152, deadCount:5, locationId:410100\n", + "cityName:南阳, currentConfirmedCount:0, confirmedCount:156, suspectedCount:0, curedCount:153, deadCount:3, locationId:411300\n", + "cityName:驻马店, currentConfirmedCount:0, confirmedCount:139, suspectedCount:0, curedCount:139, deadCount:0, locationId:411700\n", + "cityName:商丘, currentConfirmedCount:0, confirmedCount:91, suspectedCount:0, curedCount:88, deadCount:3, locationId:411400\n", + "cityName:周口, currentConfirmedCount:0, confirmedCount:76, suspectedCount:0, curedCount:75, deadCount:1, locationId:411600\n", + "cityName:平顶山, currentConfirmedCount:0, confirmedCount:58, suspectedCount:0, curedCount:57, deadCount:1, locationId:410400\n", + "cityName:新乡, currentConfirmedCount:0, confirmedCount:57, suspectedCount:0, curedCount:54, deadCount:3, locationId:410700\n", + "cityName:安阳, currentConfirmedCount:0, confirmedCount:53, suspectedCount:0, curedCount:53, deadCount:0, locationId:410500\n", + "cityName:许昌, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:38, deadCount:1, locationId:411000\n", + "cityName:漯河, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:411100\n", + "cityName:焦作, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:31, deadCount:1, locationId:410800\n", + "cityName:洛阳, currentConfirmedCount:0, confirmedCount:31, suspectedCount:0, curedCount:30, deadCount:1, locationId:410300\n", + "cityName:开封, currentConfirmedCount:0, confirmedCount:26, suspectedCount:0, curedCount:26, deadCount:0, locationId:410200\n", + "cityName:鹤壁, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:410600\n", + "cityName:濮阳, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:410900\n", + "cityName:三门峡, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:6, deadCount:1, locationId:411200\n", + "cityName:济源, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:419001\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:湖南省 provinceShortName:湖南 currentConfirmedCount:0 confirmedCount:1019 suspectedCount:0 curedCount:1015 deadCount :4 \n", + "cityName:长沙, currentConfirmedCount:0, confirmedCount:242, suspectedCount:0, curedCount:240, deadCount:2, locationId:430100\n", + "cityName:岳阳, currentConfirmedCount:0, confirmedCount:156, suspectedCount:0, curedCount:155, deadCount:1, locationId:430600\n", + "cityName:邵阳, currentConfirmedCount:0, confirmedCount:102, suspectedCount:0, curedCount:101, deadCount:1, locationId:430500\n", + "cityName:常德, currentConfirmedCount:0, confirmedCount:82, suspectedCount:0, curedCount:82, deadCount:0, locationId:430700\n", + "cityName:株洲, currentConfirmedCount:0, confirmedCount:80, suspectedCount:0, curedCount:80, deadCount:0, locationId:430200\n", + "cityName:娄底, currentConfirmedCount:0, confirmedCount:76, suspectedCount:0, curedCount:76, deadCount:0, locationId:431300\n", + "cityName:益阳, currentConfirmedCount:0, confirmedCount:60, suspectedCount:0, curedCount:60, deadCount:0, locationId:430900\n", + "cityName:衡阳, currentConfirmedCount:0, confirmedCount:48, suspectedCount:0, curedCount:48, deadCount:0, locationId:430400\n", + "cityName:永州, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:44, deadCount:0, locationId:431100\n", + "cityName:怀化, currentConfirmedCount:0, confirmedCount:40, suspectedCount:0, curedCount:40, deadCount:0, locationId:431200\n", + "cityName:郴州, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:431000\n", + "cityName:湘潭, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:430300\n", + "cityName:湘西自治州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:433100\n", + "cityName:张家界, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:430800\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:安徽省 provinceShortName:安徽 currentConfirmedCount:0 confirmedCount:991 suspectedCount:0 curedCount:985 deadCount :6 \n", + "cityName:合肥, currentConfirmedCount:0, confirmedCount:174, suspectedCount:0, curedCount:173, deadCount:1, locationId:340100\n", + "cityName:蚌埠, currentConfirmedCount:0, confirmedCount:160, suspectedCount:0, curedCount:155, deadCount:5, locationId:340300\n", + "cityName:阜阳, currentConfirmedCount:0, confirmedCount:155, suspectedCount:0, curedCount:155, deadCount:0, locationId:341200\n", + "cityName:亳州, currentConfirmedCount:0, confirmedCount:108, suspectedCount:0, curedCount:108, deadCount:0, locationId:341600\n", + "cityName:安庆, currentConfirmedCount:0, confirmedCount:83, suspectedCount:0, curedCount:83, deadCount:0, locationId:340800\n", + "cityName:六安, currentConfirmedCount:0, confirmedCount:69, suspectedCount:0, curedCount:69, deadCount:0, locationId:341500\n", + "cityName:宿州, currentConfirmedCount:0, confirmedCount:41, suspectedCount:0, curedCount:41, deadCount:0, locationId:341300\n", + "cityName:马鞍山, currentConfirmedCount:0, confirmedCount:38, suspectedCount:0, curedCount:38, deadCount:0, locationId:340500\n", + "cityName:芜湖, currentConfirmedCount:0, confirmedCount:34, suspectedCount:0, curedCount:34, deadCount:0, locationId:340200\n", + "cityName:铜陵, currentConfirmedCount:0, confirmedCount:29, suspectedCount:0, curedCount:29, deadCount:0, locationId:340700\n", + "cityName:淮北, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:340600\n", + "cityName:淮南, currentConfirmedCount:0, confirmedCount:27, suspectedCount:0, curedCount:27, deadCount:0, locationId:340400\n", + "cityName:池州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:341700\n", + "cityName:滁州, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:341100\n", + "cityName:黄山, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:341000\n", + "cityName:宣城, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:341800\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:江西省 provinceShortName:江西 currentConfirmedCount:0 confirmedCount:932 suspectedCount:0 curedCount:931 deadCount :1 \n", + "cityName:南昌, currentConfirmedCount:0, confirmedCount:230, suspectedCount:0, curedCount:230, deadCount:0, locationId:360100\n", + "cityName:新余, currentConfirmedCount:0, confirmedCount:129, suspectedCount:0, curedCount:129, deadCount:0, locationId:360500\n", + "cityName:上饶, currentConfirmedCount:0, confirmedCount:123, suspectedCount:0, curedCount:123, deadCount:0, locationId:361100\n", + "cityName:九江, currentConfirmedCount:0, confirmedCount:116, suspectedCount:0, curedCount:116, deadCount:0, locationId:360400\n", + "cityName:宜春, currentConfirmedCount:0, confirmedCount:106, suspectedCount:0, curedCount:106, deadCount:0, locationId:360900\n", + "cityName:赣州, currentConfirmedCount:0, confirmedCount:74, suspectedCount:0, curedCount:73, deadCount:1, locationId:360700\n", + "cityName:抚州, currentConfirmedCount:0, confirmedCount:72, suspectedCount:0, curedCount:72, deadCount:0, locationId:361000\n", + "cityName:萍乡, currentConfirmedCount:0, confirmedCount:33, suspectedCount:0, curedCount:33, deadCount:0, locationId:360300\n", + "cityName:吉安, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:360800\n", + "cityName:鹰潭, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:360600\n", + "cityName:景德镇, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:360200\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:0\n", + "cityName:赣江新区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:重庆市 provinceShortName:重庆 currentConfirmedCount:0 confirmedCount:583 suspectedCount:1 curedCount:577 deadCount :6 \n", + "cityName:万州区, currentConfirmedCount:0, confirmedCount:118, suspectedCount:0, curedCount:114, deadCount:4, locationId:500101\n", + "cityName:江北区, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:500105\n", + "cityName:云阳县, currentConfirmedCount:0, confirmedCount:25, suspectedCount:0, curedCount:25, deadCount:0, locationId:500235\n", + "cityName:合川区, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:500117\n", + "cityName:綦江区, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:500110\n", + "cityName:长寿区, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:500115\n", + "cityName:奉节县, currentConfirmedCount:0, confirmedCount:22, suspectedCount:0, curedCount:22, deadCount:0, locationId:500236\n", + "cityName:九龙坡区, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:20, deadCount:1, locationId:500107\n", + "cityName:开州区, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:20, deadCount:1, locationId:500154\n", + "cityName:忠县, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:21, deadCount:0, locationId:500233\n", + "cityName:渝中区, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:500103\n", + "cityName:垫江县, currentConfirmedCount:0, confirmedCount:20, suspectedCount:0, curedCount:20, deadCount:0, locationId:500231\n", + "cityName:潼南区, currentConfirmedCount:0, confirmedCount:18, suspectedCount:0, curedCount:18, deadCount:0, locationId:500152\n", + "cityName:渝北区, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:500112\n", + "cityName:两江新区, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:-1\n", + "cityName:南岸区, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:500108\n", + "cityName:石柱县, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:500240\n", + "cityName:大足区, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:500111\n", + "cityName:巫溪县, currentConfirmedCount:0, confirmedCount:14, suspectedCount:0, curedCount:14, deadCount:0, locationId:500238\n", + "cityName:铜梁区, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500151\n", + "cityName:丰都县, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500230\n", + "cityName:巫山县, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:500237\n", + "cityName:沙坪坝区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500106\n", + "cityName:璧山区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500120\n", + "cityName:荣昌区, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:9, deadCount:0, locationId:500153\n", + "cityName:大渡口区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:500104\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:0\n", + "cityName:巴南区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:500113\n", + "cityName:涪陵区, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:500102\n", + "cityName:永川区, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:500118\n", + "cityName:江津区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:500116\n", + "cityName:梁平区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:500155\n", + "cityName:高新区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:0\n", + "cityName:黔江区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500114\n", + "cityName:城口县, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500229\n", + "cityName:彭水县, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:500243\n", + "cityName:武隆区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:500156\n", + "cityName:秀山县, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:500241\n", + "cityName:酉阳县, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:万盛经开区, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:广西壮族自治区 provinceShortName:广西 currentConfirmedCount:0 confirmedCount:255 suspectedCount:0 curedCount:253 deadCount :2 \n", + "cityName:南宁, currentConfirmedCount:0, confirmedCount:55, suspectedCount:0, curedCount:55, deadCount:0, locationId:450100\n", + "cityName:北海, currentConfirmedCount:0, confirmedCount:44, suspectedCount:0, curedCount:43, deadCount:1, locationId:450500\n", + "cityName:桂林, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:450300\n", + "cityName:河池, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:27, deadCount:1, locationId:451200\n", + "cityName:柳州, currentConfirmedCount:0, confirmedCount:24, suspectedCount:0, curedCount:24, deadCount:0, locationId:450200\n", + "cityName:防城港, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:450600\n", + "cityName:玉林, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:450900\n", + "cityName:来宾, currentConfirmedCount:0, confirmedCount:11, suspectedCount:0, curedCount:11, deadCount:0, locationId:451300\n", + "cityName:钦州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:450700\n", + "cityName:贵港, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:450800\n", + "cityName:梧州, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:450400\n", + "cityName:贺州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:451100\n", + "cityName:百色, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:451000\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:天津市 provinceShortName:天津 currentConfirmedCount:0 confirmedCount:205 suspectedCount:49 curedCount:202 deadCount :3 \n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:68, suspectedCount:0, curedCount:68, deadCount:0, locationId:0\n", + "cityName:宝坻区, currentConfirmedCount:0, confirmedCount:60, suspectedCount:0, curedCount:58, deadCount:2, locationId:120115\n", + "cityName:河东区, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:120102\n", + "cityName:河北区, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:120105\n", + "cityName:北辰区, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:120113\n", + "cityName:南开区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:120104\n", + "cityName:和平区, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:120101\n", + "cityName:外地来津, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:-1\n", + "cityName:东丽区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120110\n", + "cityName:宁河区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120117\n", + "cityName:河西区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120103\n", + "cityName:西青区, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:120111\n", + "cityName:滨海新区, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:120116\n", + "cityName:武清区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120114\n", + "cityName:红桥区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120106\n", + "cityName:津南区, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:120112\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:山西省 provinceShortName:山西 currentConfirmedCount:0 confirmedCount:201 suspectedCount:64 curedCount:201 deadCount :0 \n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:67, suspectedCount:64, curedCount:67, deadCount:0, locationId:0\n", + "cityName:晋中, currentConfirmedCount:0, confirmedCount:37, suspectedCount:0, curedCount:37, deadCount:0, locationId:140700\n", + "cityName:太原, currentConfirmedCount:0, confirmedCount:21, suspectedCount:0, curedCount:21, deadCount:0, locationId:140100\n", + "cityName:运城, currentConfirmedCount:0, confirmedCount:19, suspectedCount:0, curedCount:19, deadCount:0, locationId:140800\n", + "cityName:大同, currentConfirmedCount:0, confirmedCount:12, suspectedCount:0, curedCount:12, deadCount:0, locationId:140200\n", + "cityName:晋城, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:140500\n", + "cityName:长治, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:140400\n", + "cityName:朔州, currentConfirmedCount:0, confirmedCount:8, suspectedCount:0, curedCount:8, deadCount:0, locationId:140600\n", + "cityName:忻州, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:140900\n", + "cityName:吕梁, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:141100\n", + "cityName:阳泉, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:140300\n", + "cityName:临汾, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:141000\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:海南省 provinceShortName:海南 currentConfirmedCount:0 confirmedCount:171 suspectedCount:0 curedCount:165 deadCount :6 \n", + "cityName:三亚, currentConfirmedCount:0, confirmedCount:57, suspectedCount:0, curedCount:56, deadCount:1, locationId:460200\n", + "cityName:海口, currentConfirmedCount:0, confirmedCount:39, suspectedCount:0, curedCount:39, deadCount:0, locationId:460100\n", + "cityName:儋州, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:14, deadCount:1, locationId:460400\n", + "cityName:万宁, currentConfirmedCount:0, confirmedCount:13, suspectedCount:0, curedCount:13, deadCount:0, locationId:469006\n", + "cityName:澄迈, currentConfirmedCount:0, confirmedCount:9, suspectedCount:0, curedCount:8, deadCount:1, locationId:469023\n", + "cityName:昌江, currentConfirmedCount:0, confirmedCount:7, suspectedCount:0, curedCount:7, deadCount:0, locationId:469026\n", + "cityName:琼海, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:5, deadCount:1, locationId:469002\n", + "cityName:临高, currentConfirmedCount:0, confirmedCount:6, suspectedCount:0, curedCount:6, deadCount:0, locationId:469024\n", + "cityName:陵水, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:469028\n", + "cityName:定安, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:2, deadCount:1, locationId:469021\n", + "cityName:文昌, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:469005\n", + "cityName:东方, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:2, deadCount:1, locationId:469007\n", + "cityName:保亭, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:469029\n", + "cityName:乐东, currentConfirmedCount:0, confirmedCount:2, suspectedCount:0, curedCount:2, deadCount:0, locationId:469027\n", + "cityName:琼中, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:469030\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:贵州省 provinceShortName:贵州 currentConfirmedCount:0 confirmedCount:147 suspectedCount:0 curedCount:145 deadCount :2 \n", + "cityName:贵阳, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:35, deadCount:1, locationId:520100\n", + "cityName:遵义, currentConfirmedCount:0, confirmedCount:32, suspectedCount:0, curedCount:32, deadCount:0, locationId:520300\n", + "cityName:毕节, currentConfirmedCount:0, confirmedCount:23, suspectedCount:0, curedCount:23, deadCount:0, locationId:520500\n", + "cityName:黔南州, currentConfirmedCount:0, confirmedCount:17, suspectedCount:0, curedCount:17, deadCount:0, locationId:522700\n", + "cityName:六盘水, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:9, deadCount:1, locationId:520200\n", + "cityName:铜仁, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:520600\n", + "cityName:黔东南州, currentConfirmedCount:0, confirmedCount:10, suspectedCount:0, curedCount:10, deadCount:0, locationId:522600\n", + "cityName:安顺, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:520400\n", + "cityName:黔西南州, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:522300\n", + "cityName:境外输入, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:宁夏回族自治区 provinceShortName:宁夏 currentConfirmedCount:0 confirmedCount:75 suspectedCount:0 curedCount:75 deadCount :0 \n", + "cityName:银川, currentConfirmedCount:0, confirmedCount:36, suspectedCount:0, curedCount:36, deadCount:0, locationId:640100\n", + "cityName:吴忠, currentConfirmedCount:0, confirmedCount:28, suspectedCount:0, curedCount:28, deadCount:0, locationId:640300\n", + "cityName:固原, currentConfirmedCount:0, confirmedCount:5, suspectedCount:0, curedCount:5, deadCount:0, locationId:640400\n", + "cityName:中卫, currentConfirmedCount:0, confirmedCount:4, suspectedCount:0, curedCount:4, deadCount:0, locationId:640500\n", + "cityName:宁东, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:0\n", + "cityName:石嘴山, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:640200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:澳门 provinceShortName:澳门 currentConfirmedCount:0 confirmedCount:46 suspectedCount:9 curedCount:46 deadCount :0 \n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:青海省 provinceShortName:青海 currentConfirmedCount:0 confirmedCount:18 suspectedCount:0 curedCount:18 deadCount :0 \n", + "cityName:西宁, currentConfirmedCount:0, confirmedCount:15, suspectedCount:0, curedCount:15, deadCount:0, locationId:630100\n", + "cityName:海北州, currentConfirmedCount:0, confirmedCount:3, suspectedCount:0, curedCount:3, deadCount:0, locationId:632200\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n", + "provinceName:西藏自治区 provinceShortName:西藏 currentConfirmedCount:0 confirmedCount:1 suspectedCount:0 curedCount:1 deadCount :0 \n", + "cityName:拉萨, currentConfirmedCount:0, confirmedCount:1, suspectedCount:0, curedCount:1, deadCount:0, locationId:540100\n", + "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n" + ] + } + ], + "source": [ + "'''测试'''\n", + "\n", + "# import requests\n", + "# from bs4 import BeautifulSoup\n", + "# import re\n", + "# import json\n", + "\n", + "# url = 'https://ncov.dxy.cn/ncovh5/view/pneumonia'\n", + "# res = requests.get(url)\n", + "# content = res.content.decode('utf-8')\n", + "# # print(content)\n", + "\n", + "# soup = BeautifulSoup(content,'html.parser')\n", + "\n", + "# tag = soup.find('script',attrs = {'id':'getAreaStat'})\n", + "# tagstr = tag.string\n", + "\n", + "# results = re.findall('\\{\"provinceName\":.*?\"cities\":.*?\\]\\}',tagstr)\n", + "# # print(result)\n", + "# all_province = []\n", + "\n", + "# for item in results:\n", + "# province = Province()\n", + "# obj = json.loads(item)\n", + "# province.provinceName = obj[\"provinceName\"]\n", + "# province.provinceShortName = obj[\"provinceShortName\"]\n", + "# province.currentConfirmedCount = obj[\"currentConfirmedCount\"]\n", + "# province.confirmedCount = obj[\"confirmedCount\"]\n", + "# province.suspectedCount = obj[\"suspectedCount\"]\n", + "# province.curedCount = obj[\"curedCount\"]\n", + "# province.deadCount = obj[\"deadCount\"]\n", + " \n", + "# cities = obj[\"cities\"]\n", + "# for cityItem in cities:\n", + "# # print(cityItem)\n", + "# city = City()\n", + " \n", + "# city.cityName = cityItem[\"cityName\"]\n", + "# city.currentConfirmedCount = cityItem[\"currentConfirmedCount\"]\n", + "# city.confirmedCount = cityItem[\"confirmedCount\"]\n", + "# city.suspectedCount = cityItem[\"suspectedCount\"]\n", + "# city.curedCount = cityItem[\"curedCount\"]\n", + "# city.deadCount = cityItem[\"deadCount\"]\n", + "# city.locationId = cityItem[\"locationId\"]\n", + "# province.cities.append(city)\n", + "# all_province.append(province)\n", + "\n", + "# for item in all_province:\n", + "# print(item)\n", + "# for i in item.cities:\n", + "# print(i)\n", + "# print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "delete from province_daily_datas where pub_time like \"2020-08-14%\"\n", + "之前省份删除成功\n", + "+++++++ save_province_datas, datas len:34\n", + "++++++++++++ save_province_datas is over\n", + "2020-08-14%\n", + "之前城市删除成功\n", + "+++++++ save_city_daily_datas, datas len:447\n", + "++++++++++++ save_city_daily_datas is over\n" + ] + } + ], + "source": [ + "import datetime\n", + "import requests\n", + "from bs4 import BeautifulSoup\n", + "import re\n", + "import json\n", + "import datetime\n", + "import pymysql\n", + "\n", + "def Inside(ds):\n", + " class Province:\n", + " def __init__(self):\n", + " self.provinceName = ''\n", + " self.provinceShortName = ''\n", + " self.currentConfirmedCount = 0 #现有确诊病例数\n", + " self.confirmedCount = 0 #累计确诊\n", + " self.suspectedCount = 0 #疑似病例\n", + " self.curedCount = 0 #累计治愈\n", + " self.deadCount = 0#累计死亡\n", + " self.pub_time = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')#时间\n", + " self.cities = []\n", + "\n", + " def __str__(self):\n", + " return 'provinceName:%s provinceShortName:%s currentConfirmedCount:%d \\\n", + " confirmedCount:%d suspectedCount:%d curedCount:%d deadCount :%d '%(self.provinceName,self.provinceShortName,self.currentConfirmedCount,self.confirmedCount,self.suspectedCount,self.curedCount,self.deadCount)\n", + "\n", + "\n", + " def get_info_tuple(self):\n", + " return ((self.provinceName,self.provinceShortName,self.currentConfirmedCount,self.confirmedCount, self.suspectedCount, self.curedCount,self.deadCount,self.pub_time))\n", + "\n", + " class City:\n", + " def __init__(self):\n", + " self.cityName = ''\n", + " self.currentConfirmedCount = 0\n", + " self.confirmedCount = 0\n", + " self.suspectedCount = 0\n", + " self.curedCount = 0\n", + " self.deadCount = 0\n", + " self.locationId =0\n", + " self.province = ''\n", + " self.pub_time = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')#时间\n", + "\n", + " def __str__(self):\n", + " return 'cityName:%s, currentConfirmedCount:%d, confirmedCount:%d, suspectedCount:%d,\\\n", + " curedCount:%d, deadCount:%d, locationId:%d, pub_time:%s ,province:%s '%(self.cityName, self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount, self.locationId,self.pub_time,self.province)\n", + "\n", + " def get_info_tuple(self):\n", + " return ((self.cityName, self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount, self.locationId,self.province,self.pub_time ))\n", + "\n", + "\n", + "\n", + " class MyDB:\n", + " def __init__(self,host,user,passwd,db):\n", + " self.conn = pymysql.connect(host,user,passwd,db)\n", + " self.cursor = self.conn.cursor()\n", + "\n", + " def get_province_list_tuple(self,all_province):\n", + " info_tuple = []\n", + " for item in all_province:\n", + " info_tuple.append(item.get_info_tuple())\n", + " return info_tuple\n", + "\n", + " def get_city_list_tuple(self,all_city):\n", + " info_tuple = []\n", + " for item in all_city:\n", + " info_tuple.append(item.get_info_tuple())\n", + " return info_tuple\n", + "\n", + " #保存省份数据\n", + " def save_province_datas(self,all_province):\n", + "\n", + " date1 = datetime.datetime.now().strftime('%Y-%m-%d')\n", + " sql1 = 'delete from province_daily_datas where pub_time like \"%s\"'%(date1 + '%')\n", + " print(sql1)\n", + "\n", + " try:\n", + " self.cursor.execute(sql1)\n", + " self.conn.commit()\n", + " print(\"之前省份删除成功\")\n", + " except Exception as a:\n", + " print(a)\n", + "\n", + " sql = 'insert into province_daily_datas(provinceName,provinceShortName,currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,pub_time) \\\n", + " values(%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_province_list_tuple(all_province)\n", + "\n", + " print(\"+++++++ save_province_datas, datas len:%d\"%(len(res)))\n", + "\n", + " try: \n", + "\n", + " self.cursor.executemany(sql,res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print(\"???\")\n", + " print(\"++++++++++++ save_province_datas is over\")\n", + "\n", + "\n", + " #保存城市数据\n", + " def save_city_datas(self,all_city):\n", + " date2 = datetime.datetime.now().strftime('%Y-%m-%d')\n", + " sql2 = 'delete from city_daily_datas where pub_time like \"%s\"'%(date2 + '%')\n", + " try:\n", + " self.cursor.execute(sql2)\n", + " print((date2+\"%\"))\n", + " self.conn.commit()\n", + " print(\"之前城市删除成功\")\n", + " except Exception as a:\n", + " print(a)\n", + " sql = 'insert into city_daily_datas(cityName,currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,locationId,province,pub_time) \\\n", + " values(%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_city_list_tuple(all_city)\n", + "\n", + " print(\"+++++++ save_city_daily_datas, datas len:%d\"%(len(res)))\n", + "\n", + " try:\n", + " self.cursor.executemany(sql,res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print(\"???\")\n", + " print(\"++++++++++++ save_city_daily_datas is over\") \n", + "\n", + " def __del__(self):\n", + " if self.conn is not None:\n", + " self.conn.close()\n", + "\n", + " class DataService:\n", + " def __init__(self,ds):\n", + " self.url = 'https://ncov.dxy.cn/ncovh5/view/pneumonia'\n", + " self.db = MyDB(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + "\n", + " #抓取网页\n", + " def fetch_html_page(self):\n", + " res = requests.get(self.url)\n", + " res = res.content.decode('utf-8')\n", + " return res\n", + "\n", + " #解析网页\n", + " def parse_html_page(self,html):\n", + " soup = BeautifulSoup(html,'html.parser')\n", + " tag = soup.find('script',attrs = {'id':'getAreaStat'})\n", + " tagstr = tag.string\n", + " self.results = re.findall('\\{\"provinceName\":.*?\"cities\":.*?\\]\\}',tagstr)\n", + "\n", + " #提取各个省份及其城市数据\n", + " def fetch_province_datas(self):\n", + " all_province = []\n", + " all_city = []\n", + " province_name = ''\n", + "\n", + " for item in self.results:\n", + " province = Province()\n", + " obj = json.loads(item)\n", + " province.provinceName = obj[\"provinceName\"]\n", + " #提取省份名,放入city()\n", + " province_name = province.provinceName\n", + "\n", + " province.provinceShortName = obj[\"provinceShortName\"]\n", + " province.currentConfirmedCount = obj[\"currentConfirmedCount\"]\n", + " province.confirmedCount = obj[\"confirmedCount\"]\n", + " province.suspectedCount = obj[\"suspectedCount\"]\n", + " province.curedCount = obj[\"curedCount\"]\n", + " province.deadCount = obj[\"deadCount\"]\n", + "\n", + " #提取城市数据\n", + " cities = obj[\"cities\"]\n", + " for cityItem in cities:\n", + " # print(cityItem)\n", + " city = City()\n", + "\n", + " city.province = province_name\n", + " city.cityName = cityItem[\"cityName\"]\n", + " city.currentConfirmedCount = cityItem[\"currentConfirmedCount\"]\n", + " city.confirmedCount = cityItem[\"confirmedCount\"]\n", + " city.suspectedCount = cityItem[\"suspectedCount\"]\n", + " city.curedCount = cityItem[\"curedCount\"]\n", + " city.deadCount = cityItem[\"deadCount\"]\n", + " city.locationId = cityItem[\"locationId\"]\n", + " all_city.append(city)\n", + " province.cities.append(city)\n", + " all_province.append(province)\n", + " return all_province,all_city\n", + "\n", + " #业务函数\n", + " def process_data(self):\n", + " html = self.fetch_html_page()\n", + " self.parse_html_page(html)\n", + " all_province,all_city = self.fetch_province_datas()\n", + " # print(len(all_province))\n", + " # for item in all_province:\n", + " # # print(item.get_info_tuple())\n", + " # for i in item.cities:\n", + " # print(i.get_info_tuple())\n", + " # print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)\n", + "\n", + " # for i in all_city:\n", + " # print(i.get_info_tuple())\n", + " # print(\"++++++++++++++++++++++++++++++++++++++++++++++\"*4)\n", + " # print(len(all_city))\n", + " # # 保存省份数据\n", + " self.db.save_province_datas(all_province)\n", + " # 保存城市数据\n", + " self.db.save_city_datas(all_city)\n", + "\n", + " # 创建Dataservice对象\n", + " ds = DataService(ds)\n", + " ds.process_data()\n", + "\n", + "ds=['localhost','root','20Z00t10x28_my','covid19']\n", + "Inside(ds)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/IS.py b/IS.py new file mode 100644 index 0000000..33f2d00 --- /dev/null +++ b/IS.py @@ -0,0 +1,124 @@ +import re +import json +import requests +import pymysql +import datetime +################################################################################################## + #爬取数据 +# 国内疫情数据概况 +class InsideSummary: + def __init__(self): + self.curConfirm = 0 #现有确诊 + self.curConfirmRelative = 0#较昨日新增确诊 + self.asymptomatic = 0 #无症状感染 + self.asymptomaticRelative = 0 #较昨日新增无症状感染 + self.unconfirmed = 0 #现有疑似 + self.unconfirmedRelative = 0#较昨日疑似新增 + self.icu = 0 #现有重症 + self.icuRelative = 0 #较昨日重症病例新增 + self.confirmed = 0 #累计确诊 + self.confirmedRelative = 0 #较昨日累计确诊新增 + self.overseasInput = 0 #累计境外输入 + self.overseasInputRelative = 0#较昨日累计境外输入新 增 + self.cured = 0 #累计治愈 + self.curedRelative = 0 #较昨日累计治愈新增 + self.died = 0 #累计死亡 + self.diedRelative = 0#较昨日累计死亡新增 + self.updatedTime = 0 #发布时间 + # 数据库接口 + def get_inside_summary_tuple(self): + return ((self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, \ + self.unconfirmed, self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, \ + self.confirmedRelative, self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, \ + self.died, self.diedRelative, self.updatedTime)) + # 输出接口 + def __str__(self): + return '%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s' % ( + self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, self.unconfirmed, + self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, self.confirmedRelative, + self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, self.died, self.diedRelative, + self.updatedTime) +####################################################################################################### + #业务逻辑类 + +# 爬取国内疫情数据 +res=requests.get('https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5') +#解码 +res=res.content.decode('utf-8') + +dict=json.loads(res) #str->dict + +#规范数据 +for key in dict: + try: + dict[key] = dict[key].replace('\\', '') + key=key.replace('\\','') + except: + pass +#新生成data字典 +data=json.loads(dict['data']) + +# 国内疫情数据实例化 +# # #赋值 +def fetch_inside_summary(data): + insideSummary = InsideSummary() + insideSummary.curConfirm = int(data['chinaTotal']['nowConfirm']) + insideSummary.curConfirmRelative = int(data['chinaAdd']['nowConfirm']) + insideSummary.asymptomatic = int(data['chinaTotal']['noInfect']) + insideSummary.asymptomaticRelative = int(data['chinaAdd']['noInfect']) + insideSummary.unconfirmed = int(data['chinaTotal']['suspect']) + insideSummary.unconfirmedRelative = int(data['chinaAdd']['suspect']) + insideSummary.icu = int(data['chinaTotal']['nowSevere']) + insideSummary.icuRelative = int(data['chinaAdd']['nowSevere']) + insideSummary.confirmed = int(data['chinaTotal']['confirm']) + insideSummary.updatedTime = data['lastUpdateTime'] + insideSummary.confirmedRelative = int(data['chinaAdd']['confirm']) + insideSummary.overseasInput = int(data['chinaTotal']['importedCase']) + insideSummary.overseasInputRelative = int(data['chinaAdd']['importedCase']) + insideSummary.cured = int(data['chinaTotal']['heal']) + insideSummary.curedRelative = int(data['chinaAdd']['heal']) + insideSummary.died = int(data['chinaTotal']['dead']) + insideSummary.diedRelative = int(data['chinaAdd']['dead']) + return insideSummary +########################################################################################################## + #存储数据于数据库 + +#保存国内疫情概况数据 + +def insert(res): + + # 创建连接,并且返回连接对象 + conn =pymysql.connect(host='localhost',user='root',db='covid19_datas_guangxi',passwd='kfq991122',charset='utf8') + # 创建游标对象 + cursor = conn.cursor() + + date = data['lastUpdateTime'].split(' ',1)[0] + print(date) + sql = 'delete from home_realtime_datas where updatedTime like "%s"'%(date+'%') + print('The update was successful') + try: + cursor.execute(sql) + conn.commit() + except Exception as e: + print(e) + + sql='insert into home_realtime_datas(curConfirm,curConfirmRelative,asymptomatic,asymptomaticRelative,unconfirmed,unconfirmedRelative,icu,icuRelative,confirmed,confirmedRelative,overseasInput,overseasInputRelative,cured,curedRelative,died,diedRelative,updatedTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)' + try: + cursor.execute(sql, res) + conn.commit() + except Exception as e: + print(e) + print('+++ save_province_datas is over.') + cursor.close() + conn.close() + + +insert(fetch_inside_summary(data).get_inside_summary_tuple()) + + +conn = pymysql.connect('localhost','root','kfq991122','covid19_datas_guangxi') +cursor = conn.cursor() +sql = 'select * from home_realtime_datas' +cursor.execute(sql) +results = cursor.fetchall() +print(results) diff --git a/N.ipynb b/N.ipynb new file mode 100644 index 0000000..acccd6c --- /dev/null +++ b/N.ipynb @@ -0,0 +1,136 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "id:74894\n", + "pubDate:2020-08-12 17:17:01\n", + "pubDateStr:9分钟前\n", + "title:以色列新增366例新冠肺炎确诊病例 累计86959例\n", + "summary:当地时间8月12日上午,以色列卫生部公布的疫情通报显示,11日23时至12日11时,以色列新增366例新冠肺炎确诊病例,累计达86959例,无新增死亡病例,累计死亡622人。截至目前,现存确诊病例24761例,有377人病情危重,其中110人使用呼吸机,已有61576人治愈康复。\n", + "infoSource:央视新闻app\n", + "\n", + "\n", + "id:74891\n", + "pubDate:2020-08-12 17:14:28\n", + "pubDateStr:11分钟前\n", + "title:巴林新增407例新冠肺炎确诊病例 累计44804例\n", + "summary:巴林卫生部当地时间12日上午发布通告,确认境内新增407例新型冠状病毒肺炎确诊病例,同时新增2例死亡病例。至此巴林境内累计已发现44804例新型冠状病毒肺炎确诊病例,其中41504名患者已经治愈,165名患者病重不治去世。3135名仍在医院接受治疗的患者中38人病情较重。\n", + "infoSource:央视新闻app\n", + "\n", + "\n", + "id:74884\n", + "pubDate:2020-08-12 16:46:46\n", + "pubDateStr:39分钟前\n", + "title:香港新增62例新冠肺炎确诊病例 连续第十日新增病例少于100例\n", + "summary:8月12日下午,香港特区政府卫生署卫生防护中心举行发布会。据介绍,截至12日零时,香港新增62例新冠肺炎确诊病例。这是连续第十日新增确诊病例少于100例。香港累计报告新冠肺炎确诊病例4243例。  新增确诊者中,有1例境外输入病例,剩余61例均为本地感染病例,当中有28例病例暂未查明感染源。12日,香港新增四例死亡病例,累计死亡63例。\n", + "infoSource:央视新闻app\n", + "\n", + "\n", + "id:74878\n", + "pubDate:2020-08-12 16:30:22\n", + "pubDateStr:55分钟前\n", + "title:菲律宾新增4444例新冠肺炎确诊病例 累计确诊143749例\n", + "summary:8月12日,菲律宾卫生部发布消息称,截至12日下午4点,菲律宾新增4444例新冠肺炎确诊病例,确诊病例累计达143749例。此外,新增死亡病例93例,累计死亡2404例。同时,新增治愈病例636例,累计治愈人数为68997人。\n", + "infoSource:央视新闻app\n", + "\n", + "\n", + "id:74869\n", + "pubDate:2020-08-12 15:52:13\n", + "pubDateStr:1小时前\n", + "title:捷克新增288例新冠肺炎确诊病例 累计18783例\n", + "summary:当地时间8月12日,捷克卫生部公布的新冠肺炎疫情数据显示,11日全天捷克新增288例新冠肺炎确诊病例,累计确诊18783例;治愈病例和死亡病例分别为13222例和391例。\n", + "infoSource:央视新闻app\n", + "\n", + "\n" + ] + } + ], + "source": [ + "import requests\n", + "from bs4 import BeautifulSoup\n", + "import re\n", + "import json\n", + "import time\n", + "#爬取页面\n", + "class NEWS:\n", + " def __init__(self):\n", + " self.id=0\n", + " self.pubDate=''\n", + " self.pubDateStr=''\n", + " self.title=''\n", + " self.summary=''\n", + " self.infoSource=''\n", + " \n", + " def __str__(self):\n", + " return 'id:%d\\npubDate:%s\\npubDateStr:%s\\ntitle:%s\\nsummary:%s\\ninfoSource:%s\\n'%(self.id,self.pubDate,self.pubDateStr,self.title,self.summary,self.infoSource)\n", + " \n", + " \n", + "res=requests.get('http://ncov.dxy.cn/ncovh5/view/pneumonia')\n", + "#重新解码\n", + "res=res.content.decode('utf-8')\n", + "#构建对象\n", + "soup=BeautifulSoup(res,'html.parser')\n", + "#打标签\n", + "tag = soup.find('script', attrs={'id':'getTimelineService1'})\n", + "#转换为字符串\n", + "tagstr = tag.string\n", + "#使用正则表达式提取信息\n", + "results = re.findall('(\\\\{\\\"id\\\".*?\\\"provinceId\\\".*?\\\\})', tagstr)\n", + "\n", + "all_New=[]\n", + "for item in results:\n", + " New=NEWS()\n", + " obj=json.loads(item)\n", + " New.id=obj['id']\n", + " New.pubDate=time.strftime('%Y-%m-%d %H:%M:%S',time.localtime(float(obj['pubDate'])/1000))\n", + " New.pubDateStr=obj['pubDateStr']\n", + " New.title=obj['title']\n", + " New.summary=obj['summary']\n", + " New.infoSource=obj['infoSource']\n", + " all_New.append(New)\n", + "for item in all_New:\n", + " print(item)\n", + " print()\n", + "\n", + "\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/O.ipynb b/O.ipynb new file mode 100644 index 0000000..35fd70a --- /dev/null +++ b/O.ipynb @@ -0,0 +1,164 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 7, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "executemany() missing 1 required positional argument: 'args'\n", + "+++ save_country_datas, data len: 214\n", + "+++ save_country_datas is over.\n" + ] + } + ], + "source": [ + "import datetime\n", + "import requests\n", + "from bs4 import BeautifulSoup\n", + "import re\n", + "import json\n", + "import pymysql\n", + "\n", + "# 定义实体类\n", + "def Outside(ds):\n", + " class Country:\n", + " def __init__(self):\n", + " self.countryName = ''\n", + " self.currentConfirmedCount = 0 # 现有确诊病例数\n", + " self.confirmedCount = 0 # 累计确诊\n", + " self.confirmedCountRank = 0 # 累计确诊排名\n", + " self.curedCount = 0 # 累计治愈\n", + " self.deadCount = 0 # 累计死亡\n", + " self.deadCountRank = 0 # 累计死亡排名\n", + " self.deadRate = 0.0 # 死亡率\n", + " self.deadRateRank = 0 # 死亡率排名\n", + " self.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + " def get_info_tuple(self):\n", + " return (self.countryName, self.currentConfirmedCount, self.confirmedCount, self.confirmedCountRank, self.curedCount, self.deadCount, self.deadCountRank, self.deadRate, self.deadRateRank,self.updatedTime)\n", + " def __str__(self):\n", + " return 'countryName:%s,currentConfirmedCount:%d,confirmedCount:%d,\\\n", + " confirmedCountRankt:%d,curedCount:%d,deadCount:%d,deadCountRank:%d,deadRate:%d,deadRateRank:%d,updatedTime:%s' % (self.countryName, self.currentConfirmedCount, self.confirmedCount, self.confirmedCountRank, self.curedCount, self.deadCount, self.deadCountRank, self.deadRate, self.deadRateRank,self.updatedTime)\n", + "\n", + " class MyDB:\n", + " def __init__(self, host, user, passwd, db):\n", + "\n", + " self.conn = pymysql.connect(host, user, passwd, db)\n", + " self.cursor = self.conn.cursor()\n", + "\n", + "\n", + "\n", + " def get_country_list_tuple(self, all_country):\n", + " info_tuple = []\n", + " for item in all_country:\n", + " info_tuple.append(item.get_info_tuple())\n", + " return info_tuple\n", + "\n", + " # 保存数据\n", + " def save_country_datas(self, all_country):\n", + " date=datetime.datetime.now().strftime('%Y-%m-%d')\n", + " sql='delete from country_daily_datas where updatedTime like \"%s\"'%(date+\"%\")\n", + " try:\n", + " self.cursor.executemany(sql)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + "\n", + " sql = 'insert into country_daily_datas(countryName,currentConfirmedCount,\\\n", + " confirmedCount,confirmedCountRank,curedCount,deadCount,deadCountRank,deadRate,deadRateRank,pub_time) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_country_list_tuple(all_country)\n", + "\n", + " print('+++ save_country_datas, data len: %d' % len(res))\n", + " try:\n", + " self.cursor.executemany(sql, res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print('+++ save_country_datas is over.')\n", + " def show_country_datas(self):\n", + " self.cursor.execute('select * from country_daily_datas')\n", + "\n", + "\n", + " def __del__(self):\n", + " if self.conn is not None:\n", + " self.conn.close()\n", + "\n", + "\n", + " def forign_data_search(ds):\n", + " db = MyDB(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + " res = requests.get('https://ncov.dxy.cn/ncovh5/view/pneumonia')# 爬取页面\n", + " res = res.content.decode('utf-8') # 重新解码\n", + " soup = BeautifulSoup(res, 'html.parser')# 构建soup对象\n", + " tag = soup.find('script', attrs={'id':'getListByCountryTypeService2true'}) # Tag# 使用soup对象查找实时播报新闻标签\n", + " tagStr = tag.string# 获取内容\n", + " results = re.findall('\\{\"id\".*?\"showRank\".*?\\}', tagStr) # length: 34, [str, str, ....]# 使用正则表达式匹配\n", + " all_country = []\n", + " for item in results:\n", + " country=Country() \n", + " obj = json.loads(item) # obj -> dict\n", + " country.countryName = obj['provinceName']\n", + " country.currentConfirmedCount = int(obj['currentConfirmedCount'])\n", + " country.confirmedCount = int(obj['confirmedCount'])\n", + " country.curedCount = int(obj['curedCount'])\n", + " country.deadCount = int(obj['deadCount'])\n", + " country.deadRate = float(obj['deadRate'])\n", + " country.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + " try:\n", + " country.deadCountRank = int(obj['deadCountRank'])\n", + " country.deadRateRank = int(obj['deadRateRank'])\n", + " country.confirmedCountRank = int(obj['confirmedCountRank'])\n", + " except KeyError:\n", + " country.deadCountRank = 0\n", + " country.deadRateRank = 0\n", + " country.confirmedCountRank = 0\n", + " finally:\n", + " all_country.append(country)\n", + "\n", + " db.save_country_datas(all_country)\n", + " \n", + " forign_data_search(ds)\n", + "\n", + "ds=['localhost','root','20Z00t10x28_my','covid19']\n", + "Outside(ds)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/OS.ipynb b/OS.ipynb new file mode 100644 index 0000000..0d7a056 --- /dev/null +++ b/OS.ipynb @@ -0,0 +1,202 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 定义实体类" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "+++ [MyDB] delete from outsideSummary_realtime_datas\n", + "+++ save_outsideSummary_datas, data len: 1\n", + "+++ save_outsideSummary_datas is over.\n" + ] + } + ], + "source": [ + "# 国外疫情实时概况\n", + "def OutsideSummary(dsin):\n", + " class OutsideSummary:\n", + " def __init__(self):\n", + " self.currentConfirmedCount = 0\n", + " self.confirmedCount = 0\n", + " self.suspectedCount = 0\n", + " self.curedCount = 0\n", + " self.deadCount = 0\n", + " self.suspectedIncr = 0\n", + " self.currentConfirmedIncr = 0\n", + " self.confirmedIncr = 0\n", + " self.curedIncr = 0\n", + " self.deadIncr = 0\n", + " self.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + "\n", + "\n", + " def get_info_tuple(self):\n", + " return (self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount,\n", + " self.deadCount, self.suspectedIncr, self.currentConfirmedIncr, self.confirmedIncr, self.curedIncr,\n", + " self.deadIncr, self.updatedTime)\n", + "\n", + "\n", + " def __str__(self):\n", + " return 'currentConfirmedCount:%s, confirmedCount:%s, suspectedCount:%s, curedCount:%s, deadCount:%s, suspectedIncr:%s, currentConfirmedIncr:%s, confirmedIncr:%s, curedIncr:%s, deadIncr:%s, updatedTime:%s' % (\n", + " self.currentConfirmedCount, self.confirmedCount, self.suspectedCount, self.curedCount, self.deadCount,\n", + " self.suspectedIncr, self.currentConfirmedIncr, self.confirmedIncr, self.curedIncr, self.deadIncr, self.updatedTime)\n", + "\n", + " # 数据库实体类\n", + "\n", + " #数据库实体类\n", + " import pymysql\n", + " class MyDB:\n", + " def __init__(self, host, user, passwd, db):\n", + " self.conn = pymysql.connect(host, user, passwd, db)\n", + " self.cursor = self.conn.cursor()\n", + "\n", + "\n", + " def get_outsideSummary_list_tuple(self, outsideSummary):\n", + " info_tuple = []\n", + " info_tuple.append(outsideSummary.get_info_tuple())\n", + " return info_tuple\n", + "\n", + "\n", + " # 保存数据\n", + " def save_outsideSummary_datas(self, outsideSummary):\n", + " print('+++ [MyDB] delete from outsideSummary_realtime_datas') \n", + " self.cursor.execute('delete from outsideSummary_realtime_datas') \n", + " self.conn.commit()\n", + "\n", + " sql = 'insert into outsideSummary_realtime_datas(currentConfirmedCount,confirmedCount,suspectedCount,curedCount,deadCount,suspectedIncr,currentConfirmedIncr,confirmedIncr,curedIncr,deadIncr,updatedTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " res = self.get_outsideSummary_list_tuple(outsideSummary)\n", + " print('+++ save_outsideSummary_datas, data len: %d' % len(res))\n", + " try:\n", + " self.cursor.executemany(sql, res)\n", + " self.conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print('+++ save_outsideSummary_datas is over.')\n", + "\n", + "\n", + " def __del__(self):\n", + " if self.conn is not None:\n", + " self.conn.close()\n", + "\n", + " # 业务逻辑类\n", + "\n", + " #业务逻辑类\n", + " import datetime\n", + " import requests\n", + " import re\n", + " from bs4 import BeautifulSoup\n", + " import json\n", + "\n", + "\n", + "\n", + " class DataService:\n", + " def __init__(self,ds):\n", + " self.db = MyDB(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + "\n", + "\n", + " # 爬取页面\n", + " res = requests.get('https://ncov.dxy.cn/ncovh5/view/pneumonia')\n", + "\n", + " # 重新解码\n", + " res = res.content.decode('utf-8')\n", + "\n", + " # 构建soup对象\n", + " soup = BeautifulSoup(res, 'html.parser')\n", + "\n", + " # 使用soup对象查找国外疫情数据标签\n", + " tag = soup.find('script', attrs={'id': 'getStatisticsService'})\n", + "\n", + " # 转成字符串\n", + " tagstr = tag.string\n", + " # 使用正则表达式查找所有内容\n", + " result = re.findall('\\{\"currentConfirmedCount\".*?\"deadIncr\".*?\\}', tagstr)\n", + "\n", + " # 获取国外疫情数据\n", + " #print(result[0])\n", + " obj = json.loads(result[0])\n", + "\n", + "\n", + "\n", + " #print(obj)\n", + " def fetch_outside_summary(obj):\n", + " outsideSummary = OutsideSummary()\n", + " outsideSummary.currentConfirmedCount = int(obj['currentConfirmedCount'])\n", + " outsideSummary.confirmedCount = int(obj['confirmedCount'])\n", + " outsideSummary.suspectedCount = int(obj['suspectedCount'])\n", + " outsideSummary.curedCount = int(obj['curedCount'])\n", + " outsideSummary.deadCount = int(obj['deadCount'])\n", + " outsideSummary.suspectedIncr = int(obj['suspectedIncr'])\n", + " outsideSummary.currentConfirmedIncr = int(obj['currentConfirmedIncr'])\n", + " outsideSummary.confirmedIncr = int(obj['confirmedIncr'])\n", + " outsideSummary.curedIncr = int(obj['curedIncr'])\n", + " outsideSummary.deadIncr = int(obj['deadIncr'])\n", + " outsideSummary.updatedTime = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')\n", + " return outsideSummary\n", + "\n", + "\n", + "\n", + " # 创建Dataservice对象\n", + " ds = DataService(dsin)\n", + " outsideSummary=fetch_outside_summary(obj)\n", + " ds.db.save_outsideSummary_datas(outsideSummary)\n", + " \n", + "ds=['localhost','root','20Z00t10x28_my','covid19']\n", + "OutsideSummary(ds)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/Untitled.ipynb b/Untitled.ipynb new file mode 100644 index 0000000..68396b4 --- /dev/null +++ b/Untitled.ipynb @@ -0,0 +1,173 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "2020-08-14\n", + "The update was successful\n", + "+++ save_province_datas is over.\n", + "((1614, -125, 309, 28, 5, 1, 39, -2, 89673, 99, 2249, 22, 83352, 269, 4707, 3, '2020-08-14 16:53:26'),)\n" + ] + } + ], + "source": [ + "import re\n", + "import json\n", + "import requests\n", + "import pymysql\n", + "import datetime\n", + "##################################################################################################\n", + " #爬取数据\n", + "# 国内疫情数据概况\n", + "def InsideSummary(ds):\n", + " class InsideSummary:\n", + " def __init__(self):\n", + " self.curConfirm = 0 #现有确诊\n", + " self.curConfirmRelative = 0#较昨日新增确诊\n", + " self.asymptomatic = 0 #无症状感染\n", + " self.asymptomaticRelative = 0 #较昨日新增无症状感染\n", + " self.unconfirmed = 0 #现有疑似\n", + " self.unconfirmedRelative = 0#较昨日疑似新增\n", + " self.icu = 0 #现有重症\n", + " self.icuRelative = 0 #较昨日重症病例新增\n", + " self.confirmed = 0 #累计确诊\n", + " self.confirmedRelative = 0 #较昨日累计确诊新增\n", + " self.overseasInput = 0 #累计境外输入\n", + " self.overseasInputRelative = 0#较昨日累计境外输入新 增\n", + " self.cured = 0 #累计治愈\n", + " self.curedRelative = 0 #较昨日累计治愈新增\n", + " self.died = 0 #累计死亡\n", + " self.diedRelative = 0#较昨日累计死亡新增\n", + " self.updatedTime = 0 #发布时间\n", + " # 数据库接口\n", + " def get_inside_summary_tuple(self):\n", + " return ((self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, \\\n", + " self.unconfirmed, self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, \\\n", + " self.confirmedRelative, self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, \\\n", + " self.died, self.diedRelative, self.updatedTime))\n", + " # 输出接口\n", + " def __str__(self):\n", + " return '%s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s %s' % (\n", + " self.curConfirm, self.curConfirmRelative, self.asymptomatic, self.asymptomaticRelative, self.unconfirmed,\n", + " self.unconfirmedRelative, self.icu, self.icuRelative, self.confirmed, self.confirmedRelative,\n", + " self.overseasInput, self.overseasInputRelative, self.cured, self.curedRelative, self.died, self.diedRelative,\n", + " self.updatedTime)\n", + " #######################################################################################################\n", + " #业务逻辑类\n", + "\n", + " # 爬取国内疫情数据\n", + " res=requests.get('https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5')\n", + " #解码\n", + " res=res.content.decode('utf-8')\n", + "\n", + " dict=json.loads(res) #str->dict\n", + "\n", + " #规范数据\n", + " for key in dict:\n", + " try:\n", + " dict[key] = dict[key].replace('\\\\', '')\n", + " key=key.replace('\\\\','')\n", + " except:\n", + " pass\n", + " #新生成data字典\n", + " data=json.loads(dict['data'])\n", + "\n", + " # 国内疫情数据实例化\n", + " # # #赋值\n", + " def fetch_inside_summary(data):\n", + " insideSummary = InsideSummary()\n", + " insideSummary.curConfirm = int(data['chinaTotal']['nowConfirm'])\n", + " insideSummary.curConfirmRelative = int(data['chinaAdd']['nowConfirm'])\n", + " insideSummary.asymptomatic = int(data['chinaTotal']['noInfect'])\n", + " insideSummary.asymptomaticRelative = int(data['chinaAdd']['noInfect'])\n", + " insideSummary.unconfirmed = int(data['chinaTotal']['suspect'])\n", + " insideSummary.unconfirmedRelative = int(data['chinaAdd']['suspect'])\n", + " insideSummary.icu = int(data['chinaTotal']['nowSevere'])\n", + " insideSummary.icuRelative = int(data['chinaAdd']['nowSevere'])\n", + " insideSummary.confirmed = int(data['chinaTotal']['confirm'])\n", + " insideSummary.updatedTime = data['lastUpdateTime']\n", + " insideSummary.confirmedRelative = int(data['chinaAdd']['confirm'])\n", + " insideSummary.overseasInput = int(data['chinaTotal']['importedCase'])\n", + " insideSummary.overseasInputRelative = int(data['chinaAdd']['importedCase'])\n", + " insideSummary.cured = int(data['chinaTotal']['heal'])\n", + " insideSummary.curedRelative = int(data['chinaAdd']['heal'])\n", + " insideSummary.died = int(data['chinaTotal']['dead'])\n", + " insideSummary.diedRelative = int(data['chinaAdd']['dead'])\n", + " return insideSummary\n", + " ##########################################################################################################\n", + " #存储数据于数据库\n", + "\n", + " #保存国内疫情概况数据\n", + "\n", + " def insert(res,ds):\n", + "\n", + " # 创建连接,并且返回连接对象)\n", + " conn =pymysql.connect(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + " # 创建游标对象\n", + " cursor = conn.cursor()\n", + "\n", + " date = data['lastUpdateTime'].split(' ',1)[0]\n", + " print(date)\n", + " sql = 'delete from home_realtime_datas where updatedTime like \"%s\"'%(date+'%')\n", + " print('The update was successful')\n", + " try:\n", + " cursor.execute(sql)\n", + " conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + "\n", + " sql='insert into home_realtime_datas(curConfirm,curConfirmRelative,asymptomatic,asymptomaticRelative,unconfirmed,unconfirmedRelative,icu,icuRelative,confirmed,confirmedRelative,overseasInput,overseasInputRelative,cured,curedRelative,died,diedRelative,updatedTime) values(%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s,%s)'\n", + " try:\n", + " cursor.execute(sql, res)\n", + " conn.commit()\n", + " except Exception as e:\n", + " print(e)\n", + " print('+++ save_province_datas is over.')\n", + " cursor.close()\n", + " conn.close()\n", + "\n", + " insert(fetch_inside_summary(data).get_inside_summary_tuple(),ds)\n", + " conn = pymysql.connect(host = ds[0],user = ds[1],passwd = ds[2],db = ds[3])\n", + " cursor = conn.cursor()\n", + " sql = 'select * from home_realtime_datas'\n", + " cursor.execute(sql)\n", + " results = cursor.fetchall()\n", + " print(results)\n" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.3" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} diff --git a/request.py b/request.py new file mode 100644 index 0000000..b7887b2 --- /dev/null +++ b/request.py @@ -0,0 +1,171 @@ +import pymysql +from datetime import datetime, timedelta +import time + + +class MyDB: + def __init__(self, host, user, passwd, db): + self.conn = pymysql.connect(host, user, passwd, db) + self.cursor = self.conn.cursor() + + def __del__(self): + self.conn.close() + + # 获取当然日期 + def get_cur_date(self): + date = datetime.today() + curdate = date.strftime('%Y.%m.%d') + return curdate + + # 获取前N天的日期 + def get_pren_date(self, n=1): + predate = datetime.today() + timedelta(-n) + predate = predate.strftime('%Y.%m.%d') + return predate + + #获取国内疫情概况 + def get_home_realtime_datas(self): + curdate = self.get_cur_date() # 获取当天的日期 + sql = "select * from home_realtime_datas where updatedTime like '%s'" % (curdate + '%') + print('+++ sql: %s' % sql) + + results1 = [] + try: + self.cursor.execute(sql) + results1 = self.cursor.fetchone() + + n = 1 + + while len(results1) <= 0: + predate = self.get_pren_date(n) + sql = "select * from home_realtime_datas where updatedTime like '%s'" % (predate + '%') + print('+++ presql: %s' % sql) + + self.cursor.execute(sql) + results1 = self.cursor.fetchone() + n += 1 + + if n >= 30: + break + else: + time.sleep(1) + + except Exception as e: + print(e) + + return results1 + #返回国内每日确诊人数(折线图用 + def get_home_daily_datas(self): + sql = "select curConfirm,updatedTime from home_realtime_datas" + print('+++ sql: %s' % sql) + + results1 = [] + try: + self.cursor.execute(sql) + results1 = self.cursor.fetchall() + + except Exception as e: + print(e) + + return results1 + # 国内各省份累计确诊病例数柱状图Top15 + def get_province_confirmedCount_top15(self): + curdate = self.get_cur_date() # 获取当天的日期 + sql = "select provinceShortName,confirmedCount from province_daily_datas where pub_time like '%s' order by confirmedCount desc limit 15" % (curdate + '%') + print('+++ sql: %s' % sql) + + results1 = [] + try: + self.cursor.execute(sql) + results1 = self.cursor.fetchall() + + n = 1 + + while len(results1) <= 0: + predate = self.get_pren_date(n) + sql = "select provinceShortName,confirmedCount from province_daily_datas where pub_time like '%s' order by confirmedCount desc limit 15" % (predate + '%') + print('+++ presql: %s' % sql) + + self.cursor.execute(sql) + results1 = self.cursor.fetchall() + n += 1 + + if n >= 30: + break + else: + time.sleep(1) + + except Exception as e: + print(e) + + return results1 + #国内各省份现有确诊病例数饼图Top5 + def get_province_current_ConfirmedCount_top5(self): + curdate = self.get_cur_date() # 获取当天的日期 + sql = "select provinceShortName,currentConfirmedCount from province_daily_datas where pub_time like '%s' order by currentConfirmedCount desc limit 5" % (curdate + '%') + print('+++ sql: %s' % sql) + + results1 = [] + try: + self.cursor.execute(sql) + results1 = list(self.cursor.fetchall()) + + n = 1 + f = False + while len(results1) <= 0: + f = True + predate = self.get_pren_date(n) + sql = "select provinceShortName,confirmedCount from province_daily_datas where pub_time like '%s' order by confirmedCount desc limit 15" % (predate + '%') + print('+++ presql: %s' % sql) + + self.cursor.execute(sql) + results1 = list(self.cursor.fetchall()) + n += 1 + + if n >= 30: + break + else: + time.sleep(1) + if(f): + sql = "select curConfirm from home_realtime_datas where updatedTime like '%s'" % (predate + '%') + else: + sql = "select curConfirm from home_realtime_datas where updatedTime like '%s'" % (curdate + '%') + self.cursor.execute(sql) + results2 = self.cursor.fetchone() + results1.append(("其他",results2[0])) + except Exception as e: + print(e) + + return results1 + def get_province_daily_datas(self): + curdate = self.get_cur_date() # 获取当天的日期 + sql = "select * from province_daily_datas where pub_time like '%s'" % (curdate + '%') + print('+++ sql: %s' % sql) + + results1 = [] + try: + self.cursor.execute(sql) + results1 = self.cursor.fetchall() + + n = 1 + + while len(results1) <= 0: + predate = self.get_pren_date(n) + sql = "select * from province_daily_datas where pub_time like '%s'" % (predate + '%') + print('+++ presql: %s' % sql) + + self.cursor.execute(sql) + results1 = self.cursor.fetchall() + n += 1 + + if n >= 30: + break + else: + time.sleep(1) + + except Exception as e: + print(e) + + return results1 + + diff --git a/sql.sql b/sql.sql index ac3598a..4f54a71 100644 --- a/sql.sql +++ b/sql.sql @@ -1,14 +1,75 @@ +create database covid19; +use covid19; +create table province_daily_datas( + provinceName varchar(30), + provinceShortName varchar(10), + currentConfirmedCount int, + confirmedCount int, + suspectedCount int, + curedCount int, + deadCount int, + pub_time varchar(30) +); +create table city_daily_datas( +cityName varchar(30), +currentConfirmedCount int, +confirmedCount int, +suspectedCount int, +curedCount int, +deadCount int, +locationId int, +province varchar(30), +pub_time varchar(30) +); create table country_daily_datas( countryName varchar(30), -currentConfirmedCount varchar(10), -confirmedCount varchar(10), -confirmedCountRank varchar(10), -curedCount varchar(10), -deadCount varchar(10), -deadCountRank varchar(10), -deadRate varchar(10), -deadRateRank varchar(10), -updateTime varchar(20) -) -select * from country_daily_datas -drop table country_daily_datas \ No newline at end of file +currentConfirmedCount int, +confirmedCount int, +confirmedCountRank int, +curedCount int, +deadCount int, +deadCountRank int, +deadRate float, +deadRateRank int, +pub_time varchar(30) +); +create table home_realtime_datas + ( + curConfirm INT comment '现有确诊', + curConfirmRelative INT comment '较昨日新增确诊', + asymptomatic INT comment '无症状感染', + asymptomaticRelative INT comment '较昨日新增无症状感染', + unconfirmed INT comment '现有疑似', + unconfirmedRelative INT comment '较昨日疑似新增', + icu INT comment '现有重症', + icuRelative INT comment '较昨日重症病例新增', + confirmed INT comment '累计确诊', + confirmedRelative INT comment '较昨日累计确诊新增', + overseasInput INT comment '累计境外输入', + overseasInputRelative INT comment '较昨日累计境外输入新增', + cured INT comment '累计治愈', + curedRelative INT comment '较昨日累计治愈新增', + died INT comment '累计死亡', + diedRelative INT comment '较昨日累计死亡新增', + updatedTime VARCHAR(4000)comment'发布时间' + ) comment'国内实时疫情概况 该表中只保留当前最新的一条数据记录'; + create table home_realtime_datas + ( + curConfirm INT comment '现有确诊', + curConfirmRelative INT comment '较昨日新增确诊', + asymptomatic INT comment '无症状感染', + asymptomaticRelative INT comment '较昨日新增无症状感染', + unconfirmed INT comment '现有疑似', + unconfirmedRelative INT comment '较昨日疑似新增', + icu INT comment '现有重症', + icuRelative INT comment '较昨日重症病例新增', + confirmed INT comment '累计确诊', + confirmedRelative INT comment '较昨日累计确诊新增', + overseasInput INT comment '累计境外输入', + overseasInputRelative INT comment '较昨日累计境外输入新增', + cured INT comment '累计治愈', + curedRelative INT comment '较昨日累计治愈新增', + died INT comment '累计死亡', + diedRelative INT comment '较昨日累计死亡新增', + updatedTime VARCHAR(4000)comment'发布时间' + ) comment'国内实时疫情概况 该表中只保留当前最新的一条数据记录';