This is a collection of information on PostgreSQL and PostGIS for what I tend to use most often.
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(ggplot2) | |
library(dplyr) | |
library(tidyr) | |
library(stringr) | |
library(scales) | |
library(gridExtra) | |
library(grid) | |
# use the NPR story data file --------------------------------------------- | |
# and be kind to NPR's bandwidth budget |
Shiny app to highlight on a Leaflet map by brushing a Plotly chart. Run for yourself with (provided all of the packages are installed):
shiny::runGist('da941dac84f730adcdde')
To get this to work on another dataset, you're going to need to have a sequential ID variable that matches the pointNumber
column in the data frame generated by Plotly's event_data
. See the setup.R
script for how this was derived.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
# settings & libraries | |
library(r5r) | |
library(sf) | |
library(dplyr) | |
library(ggplot2) | |
# used but not loaded | |
# library(eurostat) | |
# library(here) | |
# library(rJava) | |
# library(osmextract) |