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
#! /usr/bin/env racket | |
#lang racket | |
;;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
;; pivotal | |
;; | |
;; what it does: pulls the current iteration, | |
;; echoes short story summary | |
;; binned by the first owner's name | |
;; |
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
;; assumes that you have a JSON file | |
;; corresponding to /api/v1/user/exercises?username=<your-username> | |
(ns khan.core | |
(:require [clojure.data.csv :as csv] | |
[clojure.java.io :as io] | |
[clojure.data.json :as json])) | |
(defn get-json | |
[filepath] | |
(with-open [in-file (io/reader filepath)] |
OlderNewer