Skip to content

clanhr/reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClanHR's Reports Library Build Status

Clojars Project

Installation reports is available as a Maven artifact from Clojars

With Leiningen/Boot:

[clanhr/reports "0.1.0"]

Usage

The functionalities are provided by the reports.core namespace.

First, require it in the REPL:

(require '[reports.core :as reports])

Or in your application:

(ns my-app.core
  (:require [reports.core :as reports]))

Here's how to generate a new vacations balance report using the library:

(def data [["Superman" "30" "10" "20" "20"]
           ["Batman" "50" "2" "30" "29"]])

(def workbook "Report")
(def filename "reports.xlsx")

(defn create-spreadsheet-test
  (reports/vacations-balance-report {:data data
                                     :workbook workbook
                                     :filename filename}))

Releases

No releases published

Packages

No packages published