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
| set.seed(10) | |
| lm.power <- c() | |
| spd.power <- c() | |
| for (n in range) { | |
| spd.pvalue <- c() | |
| lm.pvalue <- c() | |
| for (j in 1:1E2) { | |
| mat <- c() | |
| samplesize <- 1E2 | |
| for (i in 1:samplesize) { |
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
| # event (M3mSB, W3mSB, M10mPF, W10mPF) | |
| # round (prelim, semi, final) | |
| # diver (diver names) | |
| # dcountry (hopefully the 3-character country code like USA) | |
| # difficulty (this is a number like 3.2) | |
| # score (scores range from 0 to 10) | |
| # judge (the judge names, not numbers) | |
| # jcountry (same comment applies as above) | |
| dir <- setwd("/Volumes/HDD/Documents/Work/Current/625/Diving") |
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
| import lxml.html | |
| from lxml import etree | |
| import requests | |
| import csv | |
| import os | |
| import datetime | |
| base_url = 'https://gg.com/racing/' | |
| def get_dates_interval(start,finish,format): |
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
| import lxml.html | |
| import requests | |
| import csv | |
| import os | |
| base_url = 'http://fantasyfootballcalculator.com/' | |
| folder = "./Drafts" | |
| num = 1 | |
| verbose = True |
NewerOlder