This file contains 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
##Wikipedia querying from Noam Ross https://gist.github.com/noamross/88a51bb880f18da88e4b259eefdefe87 | |
library(tidyverse) | |
library(xml2) | |
library(rvest) | |
library(WikipediR) | |
library(urltools) | |
library(stringr) |
This file contains 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
# ====================================================================================== | |
# Pacific centered world map with ggplot | |
# Enhanced aspect with graticules and labels | |
# The central/prime meridian can be shifted with any positive value towards west | |
# Can use any project of known PROJ.4 string | |
# ====================================================================================== | |
# ~~~~~~~~~~~ Load needed libraries ~~~~~~~~~~~ # | |
library(data.table) | |
library(ggplot2) |