Adapting d3.geo.tile to show OpenStreetMap vector tiles. See also the static example.
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
## Note: we're assuming each grade should be weighted equally here. | |
dropmean <- function(x, drop=2) { | |
count <- length(x)-drop | |
round(sum(sort(x, decreasing=TRUE)[seq(1, count)], na.rm=T)/count, 2) | |
} | |
## Same formula for multiple sections; note list.files uses a regex pattern, not a glob pattern | |
infiles <- list.files(pattern='^gradebook-quizzes-[0-9]+\\.csv$') | |
for(filename in infiles) { |
NewerOlder