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
license: gpl-3.0 |
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
<html> | |
<head> | |
<title>Flow Visualization - Tapered, Curved</title> | |
<script type="text/javascript" src="http://d3js.org/d3.v2.min.js" type="text/javascript"></script> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script> | |
<style type="text/css"> | |
svg { | |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAMAAACKeiw+AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAZQTFRF////9fb3h/JDwQAAABtJREFUeNpiYMQLGBgZ8IJR6VHpUWnKpAECDACcGgA72QxfPgAAAABJRU5ErkJggg==); | |
} | |
svg .circle { |
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(dplyr) | |
library(sf) | |
library(sp) | |
library(RColorBrewer) | |
library(rmapshaper) | |
#### communities | |
cm <- st_read("CR/communities/Communities_CR.shp") | |
# st_crs(cm) <- p4s |
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
"Geography","Income concepts","Income groups","year","income" | |
"British Columbia","Market income (11)","Top 1 percent income group","1982",7.5 | |
"British Columbia","Market income (11)","Top 10 percent income group","1982",31.2 | |
"British Columbia","Market income (11)","Bottom 99 percent income group","1982",92.5 | |
"British Columbia","Market income (11)","Bottom 50 percent income group","1982",14.7 | |
"British Columbia","Market income (11)","All tax filers","1982",100 | |
"British Columbia","Total income (11)","Top 1 percent income group","1982",7 | |
"British Columbia","Total income (11)","Top 10 percent income group","1982",29.4 | |
"British Columbia","Total income (11)","Bottom 99 percent income group","1982",93 | |
"British Columbia","Total income (11)","Bottom 50 percent income group","1982",18.2 |
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
license: gpl-3.0 |
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
license: mit | |
border: no |
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
license: gpl-3.0 | |
height: 960 | |
border: no |
We can't make this file beautiful and searchable because it's too large.
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
"npp" | |
255 | |
255 | |
255 | |
255 | |
255 | |
255 | |
255 | |
255 | |
255 |
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
length(outdata[2,]) | |
length(outdata[2,1]) | |
outdata[2,] | |
outdata[2] | |
outdata[,2] | |
outdata[,2][1] | |
nrow(outdata) | |
View(outdata) | |
full.game.database(extra.seasons=0) | |
full.game.database(extra.seasons="20172018") |
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
lng | lat | bio_flux_opt | yymm | |
---|---|---|---|---|
-85.5 | 82.5 | 0.01 | 1501 | |
-71.5 | 82.5 | 0.04 | 1501 | |
-70.5 | 82.5 | 0.56 | 1501 | |
-69.5 | 82.5 | 0.63 | 1501 | |
-68.5 | 82.5 | 1.18 | 1501 | |
-67.5 | 82.5 | 1.37 | 1501 | |
-66.5 | 82.5 | 0.98 | 1501 | |
-65.5 | 82.5 | 0.11 | 1501 | |
-92.5 | 81.5 | 0.07 | 1501 |