In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how the map of the United States in the R language data map is. The content is very detailed. Interested friends can refer to it for reference. I hope it can help you.
There was a period of time before, especially keen on data maps, but also shared a lot of tutorials on map making (involving various mapping software), but most of them were organized and pieced together, and not much was played by themselves.
Today's article mainly shares the drawing code of the map of the United States. It is also the code when we shared the world map and China map before (with minor changes in some places).
The geographical information data of the whole United States, which had not been found for a long time before, was finally found on a website. (Although there is a map of the United States available in the Map package of R language, I still like to do it in a custom way.)
Platform environment:
R x64 3.31/Rstudio 0.99.903/ggplot2 2.1.0
Yesterday's tutorial made it clear about package installation and loading updates.
Here are the code steps:
1. Load the environment package required for the code to run
library(ggplot2)
library(plyr)
library("maptools")
2. Read and convert geographic information data of all states in the United States (the data will be shared in QQ group of Rubik's Cube Academy)
American_map
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.