-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
83 lines (59 loc) · 4.37 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# r-tips
<!-- badges: start -->
![](https://img.shields.io/badge/Language-R-blue)
<!-- badges: end -->
This repository contain R-tips covering varied topics such as data wrangling, data visualization, mapping and more to help me learn R stuff.
```{r illustration, echo=FALSE, fig.alt='Illustrated line plot of "How much I think I know about R" on the y-axis, and "Time" on the x-axis. Along the line are emoji-style faces, showing the non-linear progression of R knowledge over time. At first, a nervous face becomes a happy face early on in learning, then a "grimace" face at an intermediate peak before a steep decline (with an exhausted face at the local minimum). Then, a determined face charges back up a hill, reaching another peak with a "mind blown" face and text annotation "join R community on twitter" followed by another decline, but this time the faces look happy even though their "How much I think I know about R" value is declining.', fig.cap="Artwork by @allison_horst"}
knitr::include_graphics("https://cdn.myportfolio.com/45214904-6a61-4e23-98d6-b140f8654a40/d65eb83f-66e4-4760-8c1f-29d336d1d6df.png?h=9b917065e8502455cd1c4791492b2199")
```
Thanks to [erikaduan](https://github.com/erikaduan/r_tips) for the inspiration of making a clean repo to help me learn more effectively.
## Tutorials
### Data wrangling
- [`tidyverse` booster](tutorials/dw-tidyverse-booster-ChristianBurkhart) by Christian Burkhart
### Data visualisation
- [`ggplot2` fundamentals](tutorials/viz-ggplot2-fundamentals-ChristianBurkhart/) by Christian Burkhart
- [`ggplot2` graphic design](tutorials/viz-ggplot2-graphic-design-CedricScherer/) by Cedric Scherer
- [Hands–On Data Visualization with `{ggplot2}`: Concepts](tutorials/viz-ggplot2-hands-on-CedricScherer/) by Cedric Scherer
- [Hands–On Data Visualization with `{ggplot2}`: Custom Design](tutorials/viz-ggplot2-hands-on-advanced-CedricScherer/) by Cedric Scherer
- [`ggplot2` print ready graphic](tutorials/viz-ggplot2-print-ready-graphic-MaartenLambrechts/) by Maarten Lambrechts
- [The Glamour of Graphics](tutorials/viz-glamour-graphics-WillChase) by Will Chase
### Mapping
- [Mapping Geographic Data in R, with `ggplot2`](tutorials/map-geodata-ggplot2-MaartenLambrechts/) by Maarten Lambrechts
- [Mapping with R](tutorials/map-mapping-with-r-CharlieHadley/) by Charlie Hadley
### Reports
- [`Quarto` workshop](tutorials/qmd-quarto-workshop-ThomasMock/) by Thomas Mock
## Tips
- [Fill area between lines](examples/viz_fill_area_between_lines.r) - **viz**
- [Call Refugee Data Finder API](tips/api_rafeugee_data.R) - **api** - **Update needed**
- [Call ArcGIS REST API](tips/map-arcgis-rest-api) - **map**/**api**
- [Call Activity Info API](tips/api_activityinfo_call.R) - **api**
- [Bind multiple excel doc](tips/doc_excel_bind_doc.R) - **doc**
- [Download sharepoint files](tips/doc_sharepoint_files_download.R) - **doc**
- [ArcGIS Bridge example](tips/doc_arcgis_bridge.R) - **doc**
## Packages
- [sf](https://github.com/r-spatial/sf), simple Features - **map**
- [terra](https://github.com/rspatial/terra), raster data - **map**
- [countrycode](https://github.com/vincentarelbundock/countrycode), standardize country names - **map**
- [spData](https://github.com/Nowosad/spData) / spDataLarge, data for maps - **map**
- [tmap](https://github.com/r-tmap/tmap), thematic maps - **map**
- [mapsf](https://github.com/riatelab/mapsf/), thematic maps - **map**
- [layer](https://github.com/marcosci/layer), multi layer maps - **map**
- [esri2sf](https://github.com/yonghah/esri2sf), import esri webservice - **map**
- [leaflet](https://github.com/rstudio/leaflet), interactive maps / [leaflet.mapboxgl](https://github.com/rstudio/leaflet.mapboxgl), include mapbox in leaflet - **map**
- [geofacet](https://github.com/hafen/geofacet/), create facet by geo location - **map**
- [qgisprocess](https://github.com/paleolimbot/qgisprocess) - **map**
## Resources
- [Awesome `ggplot2`](https://github.com/erikgahner/awesome-ggplot2)
- [Geocomputation with R](https://geocompr.robinlovelace.net/)
- [Cartographie avec R](https://rcarto.github.io/cartographie_avec_r/) & [Geomatique avec R](https://rcarto.github.io/geomatique_avec_r/)
- [Awesome `quarto`](https://github.com/mcanouil/awesome-quarto)