Courses
R で地理空間データを可視化する
中級スキルレベル
更新 2025/11無料でコースを始める
含まれるものプレミアム or チーム
RData Visualization4時間15 videos58 Exercises5,000 XP29,532達成証明書
数千社の学習者に愛用されています
2人以上をトレーニングしますか?
DataCamp for Businessを試すコースの説明
限られた予算で一番お得に家を買うには、どこを選べばよいでしょうか。まずは地図を作ることから始めたくなりますが、R の空間解析は、データがしばしば複雑なオブジェクトに格納されているため、ハードルが高く感じられるかもしれません。
このコースでは、まずはおなじみのデータフレームから始め、R で空間データを解析する際に使用される sp パッケージや raster パッケージの専用オブジェクトを紹介します。これらのオブジェクトを読み込み、探索し、操作する方法を学び、最終的には tmap パッケージで地図を作成できるようになります。
コースの終わりには、小さな町の不動産売買、世界各国の人口、米国北東部の人口分布、そしてニューヨーク市の地域別世帯収入の地図を作成できるようになります。
前提条件
Introduction to RIntroduction to Data Visualization with ggplot21
Basic mapping with ggplot2 and ggmap
We'll dive in by displaying some spatial data -- property sales in a small US town -- using ggplot2 and we'll introduce you to the ggmap package as a quick way to add spatial context to your plots. We'll talk about what makes spatial data special and introduce you to the common types of spatial data we'll be working with throughout the course.
2
Point and polygon data
You can get a long way with spatial data stored in data frames, but it makes life easier if they are stored in special spatial objects. In this chapter we'll introduce you to the spatial object classes provided by the sp package, particularly for point and polygon data. You'll learn how to explore and subset these objects by exploring a world map. The reward for learning about these object classes: we'll show you the package tmap which requires spatial objects as input, but makes creating maps really easy! You'll finish up by making a map of the world's population.
3
Raster data and color
While the sp package provides some classes for raster data, the raster package provides more useful classes. You'll be introduced to these classes and their advantages and then learn to display them. The examples continue with the theme of population from Chapter 2, but you'll look at some much finer detail datasets, both spatially and demographically. In the second half of the chapter you'll learn about color -- an essential part of any visual display, but especially important for maps.
4
Data import and projections
In this chapter you'll follow the creation of a visualization from raw spatial data files to adding a credit to a map. Along the way, you'll learn how to read spatial data into R, more about projections and coordinate reference systems, how to add additional data to a spatial object, and some tips for polishing your maps.
R で地理空間データを可視化する
コース完了