Category: development

Split data into multiple Excel worksheets based on column with VBA code

I regularly get a block of data with 45 different entries in the first collum, repeated for each time a month appears in column 2. I wanted to split the data based on column value quickly and automatically The following VBA code from extendoffice.com worked well 1. Open the Microsoft Visual Basic for Applications window. […]

Spreadsheet formulas: Remove characters from the right

Have had to delve into some formulas for processing text files so needed someplace to jot them down Remove 11 characters from the right of the string in a cell: =RIGHT(A1, LEN(A1)-11) How does this work? Le’s say you have a number of locations with Australia at the start, e.g. Australia: Brisbane, Australia: Sydney LEN(A1) […]

Data Journalism

Links used in recent lecture Definition: wikipedia Find: Searching for data on the web Clean: Process to filter and transform data, preparation for visualization Visualize: Displaying the pattern, either as a static or animated visual Publish: Integrating the visuals, attaching data to stories Distribute: Enabling access on a variety of devices, such as the web, […]

HTML5 audio

MP3 source file <audio src="/audio/straw bales.mp3" controls="controls" preload="metadata"></audio> This will show the audio and the controls but won’t autoplay or loop. It will preload the metadata only however some browsers may not take notice of this restriction. <audio src="/audio/straw bales.mp3" controls preload="metadata" autoplay loop></audio> This will add the autoplay and loop parameters to play the […]