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
# DeviantArt Friend Scraper | |
# Uses BeautifulSoup to scrape Friends pages recursively and writes edges to a CSV file. | |
from urllib2 import urlopen, URLError | |
from BeautifulSoup import BeautifulSoup | |
import csv | |
def get_friends(username): | |
#Return a list of the named user's friends. | |
friends_list = [] #The list of the friends. |
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(ggmap) | |
# Load data: | |
Aleppo_points <- read.delim("Aleppo_points.csv") | |
Aleppo_points$LogCount = log(Aleppo_points$Count) | |
# Load map: | |
aleppo.map <- get_map(location="aleppo", zoom=12, source="google", maptype="terrain", color="bw") | |
aleppo.map <- ggmap(aleppo.map) |
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
{ | |
"metadata": { | |
"name": "" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
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 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
''' | |
GARBAGE CAN MODEL OF ORGANIZATIONAL CHOICE | |
Replicating Cohen et al., 1972 | |
Note: Choices are actually *opportunities* for decisions. | |
''' | |
import numpy as np |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer