<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>排行榜 on 格物堂</title><link>https://gewutang.cn/tags/%E6%8E%92%E8%A1%8C%E6%A6%9C/</link><description>Recent content in 排行榜 on 格物堂</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Thu, 10 Feb 2011 00:00:00 +0000</lastBuildDate><atom:link href="https://gewutang.cn/tags/%E6%8E%92%E8%A1%8C%E6%A6%9C/index.xml" rel="self" type="application/rss+xml"/><item><title>2010年各地房价排行榜揭晓</title><link>https://gewutang.cn/2011/02/10/house-price/</link><pubDate>Thu, 10 Feb 2011 00:00:00 +0000</pubDate><guid>https://gewutang.cn/2011/02/10/house-price/</guid><description>&lt;p&gt;今日看到一篇新闻，该新闻称《2010年中国城市房价排行榜》近日揭晓，杭州房价跃居榜首。该文列出了2010年7月中国城市房价排行榜数据如下：&lt;/p&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;cities &amp;lt;- readRDS(&amp;quot;cities.rds&amp;quot;)&#10;print(cities)&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## city lon lat hours_eprice&#10;## 1 杭州 30.16 120.10 25840&#10;## 2 北京 39.55 116.24 22310&#10;## 3 温州 28.01 120.39 18854&#10;## 4 三亚 18.14 109.31 18319&#10;## 5 深圳 22.33 114.07 16978&#10;## 6 宁波 29.52 121.33 13438&#10;## 7 广州 23.08 113.14 12560&#10;## 8 南京 32.03 118.46 12016&#10;## 9 舟山 30.01 122.06 10500&#10;## 10 绍兴 30.00 120.34 10105&#10;## 11 珠海 22.17 113.34 9747&#10;## 12 大连 38.55 121.36 9678&#10;## 13 厦门 24.27 118.06 9660&#10;## 14 苏州 31.19 120.37 9103&#10;## 15 台州 28.41 121.27 8967&#10;## 16 青岛 36.03 120.18 8962&#10;## 17 天津 39.02 117.12 8958&#10;## 18 南通 32.01 120.51 8950&#10;## 19 福州 26.05 119.18 8666&#10;## 20 湖州 30.52 120.06 8220&#10;## 21 哈尔滨 45.44 126.36 7939&#10;## 22 无锡 31.34 120.18 7843&#10;## 23 佛山 23.02 113.06 7822&#10;## 24 济南 36.40 117.00 7760&#10;## 25 泉州 24.56 118.36 7680&#10;## 26 嘉兴 30.46 120.45 7587&#10;## 27 海口 20.02 110.20 7288&#10;## 28 东莞 23.02 113.45 7023&#10;## 29 成都 30.40 104.04 6630&#10;## 30 合肥 31.52 117.17 6255&#10;## 31 武汉 30.35 114.17 6196&#10;## 32 南宁 22.48 108.19 6137&#10;## 33 唐山 39.36 118.11 6098&#10;## 34 昆明 25.04 102.42 6006&#10;## 35 金华 29.07 119.39 6000&#10;## 36 中山 22.31 113.22 5988&#10;## 37 烟台 37.32 121.24 5835&#10;## 38 重庆 29.35 106.33 5720&#10;## 39 日照 35.23 119.32 5700&#10;## 40 郑州 34.46 11340.00 5689&#10;## 41 惠州 23.05 114.22 5649&#10;## 42 宜昌 30.42 111.17 5637&#10;## 43 太原 37.54 112.33 5635&#10;## 44 扬州 32.23 119.26 5630&#10;## 45 南昌 28.40 115.55 5573&#10;## 46 长春 43.54 125.19 5445&#10;## 47 兰州 36.04 103.51 5440&#10;## 48 西安 34.17 108.57 5398&#10;## 49 威海 37.31 122.07 5363&#10;## 50 长沙 28.12 112.59 5339&#10;## 51 常州 31.47 119.58 5302&#10;## 52 江门 22.35 113.04 5205&#10;## 53 鞍山 41.07 123.00 5150&#10;## 54 秦皇岛 39.55 119.35 5114&#10;## 55 漳州 24.31 117.39 5110&#10;## 56 泰安 36.11 117.08 5100&#10;## 57 镇江 32.11 119.27 5052&#10;## 58 承德 40.59 117.57 5016&#10;## 59 沈阳 41.48 123.25 4980&#10;## 60 呼和浩特 40.48 111.41 4920&#10;## 61 石家庄 38.02 114.30 4874&#10;## 62 桂林 25.17 110.17 4865&#10;## 63 泰州 32.30 119.54 4830&#10;## 64 柳州 23.19 109.24 4822&#10;## 65 大庆 46.36 125.01 4814&#10;## 66 湛江 21.11 110.24 4772&#10;## 67 九江 29.43 115.58 4771&#10;## 68 银川 38.27 106.16 4690&#10;## 69 徐州 34.15 117.11 4632&#10;## 70 贵阳 26.35 106.42 4534&#10;## 71 乌鲁木齐 43.45 87.36 4410&#10;## 72 东营 37.27 118.30 4370&#10;## 73 汕头 23.22 116.41 4330&#10;## 74 邯郸 36.36 114.28 4300&#10;## 75 包头 40.39 109.49 4225&#10;## 76 洛阳 34.41 112.27 4207&#10;## 77 延安 36.35 109.28 4135&#10;## 78 吉林 43.52 126.33 4008&#10;## 79 济宁 35.23 116.33 3950&#10;## 80 北海 21.28 109.07 3890&#10;## 81 开封 34.47 114.21 3737&#10;## 82 葫芦岛 40.45 120.51 3719&#10;## 83 潍坊 36.43 119.06 3689&#10;## 84 齐齐哈尔 47.20 123.57 3671&#10;## 85 清远 23.42 113.01 3625&#10;## 86 营口 40.39 122.13 3580&#10;## 87 锦州 41.07 121.09 3550&#10;## 88 西宁 36.38 101.48 3440&#10;## 89 襄樊 32.02 112.08 3432&#10;## 90 拉萨 29.39 91.08 3400&#10;## 91 淄博 36.48 118.03 3300&#10;## 92 丹东 40.08 124.22 3273&#10;## 93 喀什 39.30 75.59 3250&#10;## 94 张家口 40.48 114.53 3210&#10;## 95 克拉玛依 45.36 84.51 3200&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;p&gt;用R将其可视化：&lt;/p&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;# 安装包（如果未安装）&#10;# install.packages(c(&amp;quot;ggplot2&amp;quot;, &amp;quot;sf&amp;quot;, &amp;quot;dplyr&amp;quot;,&amp;quot;ggrepel&amp;quot;))&#10;&#10;# 加载包&#10;library(ggplot2)&#10;library(sf)&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## Linking to GEOS 3.13.0, GDAL 3.8.5, PROJ 9.5.1; sf_use_s2() is TRUE&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;library(dplyr)&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## &#10;## 载入程序包：'dplyr'&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## The following objects are masked from 'package:stats':&#10;## &#10;## filter, lag&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## The following objects are masked from 'package:base':&#10;## &#10;## intersect, setdiff, setequal, union&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;library(ggrepel)&#10;library(showtext)&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## 载入需要的程序包：sysfonts&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## 载入需要的程序包：showtextdb&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;# 下载中国地图数据（GADM级别0，全国）&#10;china_map &amp;lt;- st_read(&amp;quot;https://geodata.ucdavis.edu/gadm/gadm4.1/json/gadm41_CHN_0.json&amp;quot;)&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## Reading layer `gadm41_CHN_0' from data source &#10;## `https://geodata.ucdavis.edu/gadm/gadm4.1/json/gadm41_CHN_0.json' &#10;## using driver `GeoJSON'&#10;## Simple feature collection with 4 features and 2 fields&#10;## Geometry type: MULTIPOLYGON&#10;## Dimension: XY&#10;## Bounding box: xmin: 73.5577 ymin: 18.1593 xmax: 134.7739 ymax: 53.56&#10;## Geodetic CRS: WGS 84&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code class="language-r"&gt;cities &amp;lt;- readRDS(&amp;quot;cities.rds&amp;quot;)&#10;&#10;ggplot() +&#10; geom_sf(data = china_map, fill = &amp;quot;lightblue&amp;quot;, color = &amp;quot;gray40&amp;quot;) + # 绘制地图边界&#10; geom_point(data = cities[1:20,], aes(x = lat, y = lon), color = &amp;quot;red&amp;quot;, size = 2) + # 标记城市点&#10; geom_text_repel(data = cities[1:20,], aes(x = lat, y = lon, label = city), &#10; hjust = -0.1, vjust = 0.5, color = &amp;quot;darkred&amp;quot;, size = 3) + # 添加城市标签&#10; coord_sf(xlim = c(73, 135), ylim = c(18, 54)) + # 设置地图范围（中国区域）&#10; labs(title = &amp;quot;中国主要城市分布图&amp;quot;, x = &amp;quot;经度&amp;quot;, y = &amp;quot;纬度&amp;quot;) +&#10; theme_minimal() +&#10; theme(plot.title = element_text(hjust = 0.5, face = &amp;quot;bold&amp;quot;,family=&amp;quot;PingFang SC&amp;quot;))&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;pre&gt;&lt;code&gt;## Warning: ggrepel: 2 unlabeled data points (too many overlaps). Consider&#10;## increasing max.overlaps&#10;&lt;/code&gt;&lt;/pre&gt;&#10;&lt;img src="https://gewutang.cn/2011/02/10/house-price/index_files/figure-html/unnamed-chunk-2-1.png" width="672" /&gt;&#10;&lt;p&gt;果不其然，全都在沿海。&lt;/p&gt;&#10;</description></item></channel></rss>