- Eurostat, World Bank and others: https://ikashnitsky.github.io/2017/data-acquisition-two/
- Star Wars data: in dplyr, http://dplyr.tidyverse.org/reference/starwars.html
- Baby names data: babynames package, https://cran.r-project.org/web/packages/babynames/index.html
- Movies data: https://cran.r-project.org/web/packages/ggplot2movies/index.html ggplot2movies package
- Game of Thrones screen time: https://github.com/Preetish/GoT_screen_time
- Open Bike Data: https://github.com/ropensci/bikedata
- Tons of data through 538: https://cran.r-project.org/web/packages/fivethirtyeight/vignettes/fivethirtyeight.html
- Public health data England: fingertipsR, https://cran.r-project.org/web/packages/fingertipsR/
- Financial data via Quandl: https://www.quandl.com/tools/r
- Cyclones: https://github.com/ropensci/rrricanesdat
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
# code to take a PDF and scrape address information. Note that this particular script will | |
# only work using the specific PDF formatting my PDF had so you can use as a guide but | |
# it will definitely not work on your PDF! | |
from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreter | |
from pdfminer.converter import HTMLConverter | |
from pdfminer.converter import TextConverter | |
from pdfminer.layout import LAParams | |
from pdfminer.pdfpage import PDFPage |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" /> | |
<script src="http://cdn.leafletjs.com/leaflet-0.7/leaflet.js"></script> | |
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' /> | |
<style> |
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
[{ | |
"id": 1, | |
"sex_code": 1, | |
"mortality_death_age": [{ | |
"mortality_death_age_id": 1, | |
"death_age": "death_age_00", | |
"death_num": "995" | |
}, { | |
"mortality_death_age_id": 2, | |
"death_age": "death_age_01", |
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
[ | |
{ | |
"name": "Germany", | |
"series": [ | |
{ | |
"name": "2010", | |
"value": 7300000 | |
}, | |
{ | |
"name": "2011", |
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
[{ | |
"name": "death_age_95", | |
"series": [{ | |
"name": "Females", | |
"value": -6517 | |
}, { | |
"name": "Males", | |
"value": 1891 | |
}] | |
}, { |
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
[{ | |
"results": [{ | |
"name": "death_age_95", | |
"series": [{ | |
"name": "Females", | |
"value": 6517 | |
}, { | |
"name": "Males", | |
"value": 1891 | |
}] |
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
# Grab the list of spatial packages from the R Task View (Bivand) | |
# and get the count of monthly downloads | |
library(rvest) | |
library(dplyr) | |
spatial_task_view <- read_html("https://cran.r-project.org/web/views/Spatial.html") | |
res <- spatial_task_view %>% | |
html_nodes(xpath = "/html/body/ul[1]") %>% | |
html_children() %>% |
Specifically I'm looking for web mapping applications that include multiple layers and don't look like an ArcGIS clone -- perhaps something that looks like it was designed by a designer rather than a GIS tech :) This is a list of responses from Twitter, many of which do look GIS-y so more suggestions are welcome...
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
library(knitr) | |
opts_chunk$set(collapse=TRUE, echo=TRUE, | |
error=FALSE, message=FALSE, | |
warning=FALSE, cache=FALSE) | |
s0 <- knitr::knit_hooks$get('source') | |
o0 <- knitr::knit_hooks$get('output') | |
p0 <- knitr::knit_hooks$get('plot') | |
knitr::knit_hooks$set( |