Toggle dark or light mode

Lars Steggink · Personal website

Tools

These are small scripts or applications that I've created/used before and that you may find helpful.

Calculations in medical research

clinicalr: Calculations for medical research in R

I've created a few R functions to perform basic clinical calculations in medical research, e.g. presence of the metabolic syndrome, corrected QT interval (QTc) in an electrocardiogram, body mass index, or body surface area.

Install this in R from GitHub using devtools::install_github("ls31/clinicalr").

GitHubRMIT license

QRScan: recognition of QR codes in PDF files of scanned documents

QRScan: recognition of QR codes in PDF files of scanned documents

Initially created to sort a large set of scanned documents during my PhD period, QRScan recognizes QR codes in PDF files of scanned documents and then reports these QR codes in a CSV file. QRScan can move and rename the PDF files according to their QR code.

The QR codes can be stored as a file attribute (for faster future reference). If automatic QR code recognition fails (for very low quality scans), you can manually add the file attribute to the PDF file. To add QR codes to your documents (so you can scan them later), QRScan can generate GIF image files with QR codes if you provide a simple text file with the codes you want to be used (with one code at each line). See for example this guide on how to use Microsoft Word's mail merge feature to add the images: Microsoft Word's mail merge feature to add the images.

The provided executable JAR is ready to use.

A big thanks to the following projects: PDFBox by The Apache Software Foundation, Java Advanced Imaging Image I/O Tools API, and the ZXing project.

GitHubDownload executableJavaMIT license