This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# some notes on installing minecraft to follow along the book. | |
# raspberryJuice is not updated anymore (stops at minecraft 1.12 or something) | |
# I got JuicyRaspberryPi instead. | |
# installation instructions here: | |
# https://github.com/wensheng/JuicyRaspberryPie/blob/master/doc/using-api-spigot.md | |
# steps that worked for me: | |
# Installed Java SDK 17 (exactly 17, not more, not less). Got it from adoptium: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.DS_Store | |
*.html | |
core* | |
*.png | |
# History files | |
.Rhistory | |
.Rapp.history |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#https://www.katiejolly.io/blog/2020-03-21/water-lines | |
library(sf) # spatial data | |
library(tidyverse) # wrangling/cleaning | |
library(colorspace) # for lightern() | |
library(showtext) # google fonts | |
library(osmdata) # to get shapes | |
library(polylabelr) # to get pole of inacessibility (point furthest from any edge, to give us an idea of the distance between water lines) | |
library(purrr) # to add a bunch of buffer lines automatically | |
font_add_google("Assistant", regular.wt = 300) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(magrittr) | |
library(dplyr) | |
library(sf) | |
#devtools::install_github("mountainMath/tongfen") | |
library(tongfen) | |
library(cancensus) | |
library(tidygeocoder) | |
get_utm_crs <- function(longitude){ 32600 + ceiling((longitude - -180)/ 6)} # pour calculer des buffers ronds en mètres comme dans le day 5 de https://gitlab.com/dickoa/30daymapchallenge/-/blob/master/day5/day5-blue.R |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(mapview) | |
library(sf) | |
library(tidyverse) | |
library(pdftools) | |
library(tabulizer) | |
library(tesseract) | |
library(janitor) | |
library(stringr) | |
library(cancensus) | |
library(sf) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(cancensus) | |
library(sf) | |
library(stringr) | |
library(mapview) | |
#options(cancensus.api_key = "your_api_key") | |
#options(cancensus.cache_path = "custom cache path") | |
list_census_regions('CA16') %>% | |
filter(level == "CMA", name %in% c("Vancouver","Toronto")) |
NewerOlder