R语言做地理分析:数据导入,合并,绘图,导出 |
您所在的位置:网站首页 › shp文件导出excel › R语言做地理分析:数据导入,合并,绘图,导出 |
学习笔记,原文链接🔗:https://andrewmaclachlan.github.io/CASA0005repo/geographic-information.htmlhttps://andrewmaclachlan.github.io/CASA0005repo/geographic-information.htmlhttps://andrewmaclachlan.github.io/CASA0005repo/geographic-information.html 0 数据准备伦敦边界数据 (.shp) 伦敦2008-2020垃圾乱丢事件统计数据 (.csv) https://pan.baidu.com/s/1mBrixUEux0QWDXa0H9whRQhttps://pan.baidu.com/s/1mBrixUEux0QWDXa0H9whRQhttps://pan.baidu.com/s/1mBrixUEux0QWDXa0H9whRQ提取码:YYQX 1 基本设置 1.1 设置工作路径(数据所在路径) setwd("C:/Users/Desktop/GIS/wk1") 1.2 采用pacman的p_load批量安装包 install.packages('pacman') pacman::p_load(sf,tidyverse,RSQLite,tmap,tmaptools) 2 读取shp文件 2.1 sf包st_read函数读取shp文件 shape |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |