# chiajung-yeh/spatial-analysis architecture

> Architecture diagram of the GitHub repository chiajung-yeh/spatial-analysis, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/chiajung-yeh/spatial-analysis
- Repository: https://github.com/chiajung-yeh/spatial-analysis

## Overview

This repository is an instructional book, not a GIS application: readers use its ordered R Markdown chapters to learn spatial analysis with R, from GIS fundamentals and geographic data through mapping, spatial operations, and quantitative geography. The tree also includes datasets for practical examples. Chapter topics and available data collections are clear from the filenames, but the chapter source was not sampled, so specific example-to-dataset links are not asserted.

Main entry points: [`index.Rmd`](https://github.com/chiajung-yeh/spatial-analysis/blob/master/index.Rmd) (Book entry), [`01-Basic-Knowledge-on-GIS.Rmd`](https://github.com/chiajung-yeh/spatial-analysis/blob/master/01-Basic-Knowledge-on-GIS.Rmd) (GIS foundations), [`02-Data-Visualization-with-Maps.Rmd`](https://github.com/chiajung-yeh/spatial-analysis/blob/master/02-Data-Visualization-with-Maps.Rmd) (Map visualization), [`03-Geographic-Data.Rmd`](https://github.com/chiajung-yeh/spatial-analysis/blob/master/03-Geographic-Data.Rmd) (Geographic data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_book["Learning chapters"]
  node_index["Book entry<br/>[index.Rmd]"]
  node_gis["GIS foundations"]
  node_maps["Map visualization"]
  node_geo["Geographic data"]
  node_spatial["Spatial operations"]
  node_quant["Quantitative geography"]
end

subgraph group_data["Example data"]
  node_taiwan[("Taiwan map data")]
  node_hsinchu[("Hsinchu spatial data")]
  node_transit[("Transit data")]
  node_house[("House price data")]
  node_cycle[("Cycle data")]
  node_convenience[("Store data")]
end

node_reader(("Reader"))

node_reader -->|"opens"| node_index
node_reader -->|"reads"| node_gis
node_reader -->|"reads"| node_maps
node_reader -->|"reads"| node_geo
node_reader -->|"reads"| node_spatial
node_reader -->|"reads"| node_quant

click node_index "https://github.com/chiajung-yeh/spatial-analysis/blob/master/index.Rmd"
click node_gis "https://github.com/chiajung-yeh/spatial-analysis/blob/master/01-Basic-Knowledge-on-GIS.Rmd"
click node_maps "https://github.com/chiajung-yeh/spatial-analysis/blob/master/02-Data-Visualization-with-Maps.Rmd"
click node_geo "https://github.com/chiajung-yeh/spatial-analysis/blob/master/03-Geographic-Data.Rmd"
click node_spatial "https://github.com/chiajung-yeh/spatial-analysis/blob/master/04-Spatial-Operations.Rmd"
click node_quant "https://github.com/chiajung-yeh/spatial-analysis/blob/master/05-Basic-Quantitative-Geography.Rmd"
click node_taiwan "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/taiwan_map"
click node_hsinchu "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/hsinchu_data"
click node_transit "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/TRA"
click node_house "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/house_price"
click node_cycle "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/taipei_cycle_path"
click node_convenience "https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/convenience_store"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_index,node_gis,node_maps,node_geo,node_spatial,node_quant toneBlue
class node_taiwan,node_hsinchu,node_transit,node_house,node_cycle,node_convenience toneAmber
class node_reader toneIndigo
```

## Components

### Learning chapters

- [Book entry](https://github.com/chiajung-yeh/spatial-analysis/blob/master/index.Rmd): `index.Rmd`
- [GIS foundations](https://github.com/chiajung-yeh/spatial-analysis/blob/master/01-Basic-Knowledge-on-GIS.Rmd): `01-Basic-Knowledge-on-GIS.Rmd`
- [Map visualization](https://github.com/chiajung-yeh/spatial-analysis/blob/master/02-Data-Visualization-with-Maps.Rmd): `02-Data-Visualization-with-Maps.Rmd`
- [Geographic data](https://github.com/chiajung-yeh/spatial-analysis/blob/master/03-Geographic-Data.Rmd): `03-Geographic-Data.Rmd`
- [Spatial operations](https://github.com/chiajung-yeh/spatial-analysis/blob/master/04-Spatial-Operations.Rmd): `04-Spatial-Operations.Rmd`
- [Quantitative geography](https://github.com/chiajung-yeh/spatial-analysis/blob/master/05-Basic-Quantitative-Geography.Rmd): `05-Basic-Quantitative-Geography.Rmd`

### Example data

- [Taiwan map data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/taiwan_map): `data/taiwan_map`
- [Hsinchu spatial data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/hsinchu_data): `data/hsinchu_data`
- [Transit data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/TRA): `data/TRA`
- [House price data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/house_price): `data/house_price`
- [Cycle data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/taipei_cycle_path): `data/taipei_cycle_path`
- [Store data](https://github.com/chiajung-yeh/spatial-analysis/tree/master/data/convenience_store): `data/convenience_store`

### Other components

- **Reader**

## Connections

- Reader → Book entry: opens
- Reader → GIS foundations: reads
- Reader → Map visualization: reads
- Reader → Geographic data: reads
- Reader → Spatial operations: reads
- Reader → Quantitative geography: reads
