I hereby claim:
- I am benneely on github.
- I am benneely (https://keybase.io/benneely) on keybase.
- I have a public key ASB8sV7Hzga0dCEVbCirzM2dLLJQbbSr7HTk_dxaYmrbpQo
To claim this, I am signing this object:
Chapter 1 | |
Happy families are all alike; every unhappy family is unhappy in its own | |
way. | |
Everything was in confusion in the Oblonskys' house. The wife had | |
discovered that the husband was carrying on an intrigue with a French | |
girl, who had been a governess in their family, and she had announced to |
/** | |
* Duke Data Service API. | |
* REST API to the Duke Data Service. Some requests require Authentication. | |
* | |
*/ | |
(function(root, factory) { | |
if (typeof define === 'function' && define.amd) { | |
// AMD. Register as an anonymous module. | |
define(['axios'], factory); |
I hereby claim:
To claim this, I am signing this object:
unlockBinding("basehaz", as.environment("package:survival")) | |
assignInNamespace("basehaz", my_basehaz, ns="survival", envir=as.environment("package:survival")) | |
assign("basehaz", my_basehaz, "package:survival") | |
lockBinding("basehaz", as.environment("package:survival")) |
cat <-function(catvar,colvar,label){ | |
denoms <- tapply(!is.na(catvar),colvar,sum) | |
counts <- tapply(catvar,colvar,sum) | |
percen <- round(100*(counts/denoms),digits=2) | |
totals <- tapply(catvar,rep(1,length(catvar)),sum) | |
totalsden <- tapply(!is.na(catvar),rep(1,length(catvar)),sum) | |
totper <- round(100*(totals/totalsden),digits=2) | |
meatcols <- paste(counts,'/',denoms,'(',percen,'',')',sep="") | |
totcol <- paste(totals,'/',totalsden,'(',totper,'',')',sep="") |
# -*- coding: utf-8 -*- | |
""" | |
Created on Tue Aug 11 14:03:59 2015 | |
@author: nn31 | |
""" | |
import swiftclient | |
import swiftclient.service | |
from swiftclient.service import SwiftService | |
import time | |
import json |
library(httr) | |
#Usual cURL GET call | |
# curl https://api.github.com/users/defunkt | |
GET('https://api.github.com/users/defunkt') | |
#Pass custom header | |
# curl -i -H 'Authorization: token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' https://api.github.com/repos/benneely/trailR/issues?state=all | |
GET('https://api.github.com/repos/benneely/trailR/issues?state=all', add_headers('Authorization' = 'token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx')) |
<DerivedField name="sbp_130" | |
dataType="double" optype="continuous"> | |
<Apply function="max"> | |
<Constant dataType="integer">0</Constant> | |
<Apply function="-"> | |
<FieldRef field="sbp_imp"/> | |
<Constant dataType="integer">130</Constant> | |
</Apply> | |
</Apply> | |
</DerivedField> |