R/urls.R

# uses a bash script to shorten urls with google url shortener

shorturl <- function(url){
	out <- system(paste("shorturl", url), intern=TRUE)
#	out <- strsplit(out, "\"")[[1]][1]
	out
}
cboettig/socialR documentation built on May 13, 2019, 2:11 p.m.