Announcements, Tips & Tutorials

Data Journalism Resources

0

A collection of online resources about data journalism:

The Data Journalism Handbook

 Jonathan Stray’s Computational Journalism Class. Journalism and Media Studies Center at the University of Hong Kong, Spring 2013

+ Brian Boyer, Hacker Journalism 101

+ Online Book: The New Precision Journalism, Philip Meyer

The Tech Data Journalism Bootcamp, Civic Media Lab, MIT

The School of Data

+ The Data Journalism Developer Studio. The Google Group and on GitHub

The Reporters Lab, Tools, Techniques and Research for Public Affairs Reporting. Sarah Cohen’s and now Tyler Dukes’

+ Facts Are Sacred: The Power of Data, Simon Rogers

+ Journalism in the Age of Data

+ ProPublica’s News App and Data Guides

Announcements, How It's Made, Tips & Tutorials

News App and Data Guides from ProPublica

0

Coding the news now has a manifesto. ProPublica’s developers launched a series of news application guides, including a coding manifesto, this morning. The guides, which all live on GitHub, are intended to give insight into the programming ethos of the non-profit investigative journalism outfit. As the manifesto says, “We’re not making any general statements about anything beyond the environment we know: Doing journalism on deadline with code.”

Scott Klein, Jeff Larson and Jennifer LaFleur wrote the guides, which include a news app style guide, a data check-list and a design guide. These resources add to the ever-growing community of news application developers, many of whom are actively blogging about and sharing their working processes.

Read all the guides here.

Tips & Tutorials

Google Fusion Tables Map Manager

0

A tool for creating and managing, exploring and publishing Google Fusion Tables maps that have one or more layers.

(more…)

Tips & Tutorials

#stealthis: Security Essentials for Journalists

0

The following is an abridged version of “Steal this Digital Security Toolbox”, which I presented at the 2012 Online News Association conference. Please note that while the below is only a brief overview of security techniques, there are two major takeaways. (1) Encrypt your devices. (2) Set yourself up with a Virtual Private Network (VPN) to protect your wireless activity. Get in the habit; these practices are important no matter where or with whom you are working. The CUJ community can learn more on October 18, when Jeff Sieben, Columbia Journalism School’s head of IT, will be leading a Tow Tea on digital security. (more…)

Tips & Tutorials

Embedding Google Visualizations in WordPress and Tumblr

0

The Google Code Playground is a good place to play around and experiment with many of Google’s Visualization widgets; you can even sign in with your Google account at the top right and save your work as you go (once logged in click the small dropdown arrow just to the right of the “Edit HTML” button in order to save).

Once your visualization is complete, however, you’ll want to be able to publish it. Both WordPress and Tumblr can display these visualizations – all that’s required is updating a few plugins and settings first.

To embed a visualization in WordPress


By default, WordPress will essentially erase any complex code that is simply pasted into a regular post; if it didn’t, a little bit of bad code would easily break a whole blog. Instead, WordPress requires that any custom code be put into a “Custom Field” container, which separates and protects the rest of the page from whatever code it contains. In most basic WordPress installs, Custom Fields aren’t activated by default – first, you must choose “Screen Options” at the top right of the dashboard page, and check off the “Custom Fields” option. You’ll then see a Custom Fields area appear below your post on the edit page. To add your visualization, click “Enter new” and type a name (no spaces or special characters) for your visualization in the Name input box; in the Value area paste the code that the playground generates once you’ve hit the “Edit HTML” button. To save it, click the “Add Custom Field” button.

Now that your field is created, you need to actually insert it into your post. Though Custom Fields were originally intended for widgets that would appear on every post, their usefulness for adding arbitrary code has made them popular for embedding unique content in a single post as well – content like Google Visualizations and other multimedia. The easiest way to do this is by using a so-called “shortcode” – an HTML-like tag that works specifically in WordPress. To activate these, you’ll need first to install and activate the Custom Fields Shortcode plugin. Then, to insert your visualization in a post, simply switch to HTML editing mode (as opposed to “Visual”) and use the code:

[cf]_Your_Visualization_Custom_Field_Name_[/cf]

Google Visualization API Sample




To embed a visualization in Tumblr

Embedding a Google Visualization in Tumblr is even easier than adding it in WordPress, though overall it can be less flexible. The first step is to switch your editing mode to HTML.

On your dashboard, click on the gear-shaped “Preferences” icon at top right. On the third option – “Edit posts using” – select the “plain text/HTML” option. To add your visualization to a post, simply paste the code that the Google Visualization Playground generates once you’ve hit the “Edit HTML” button wherever you want the visualization to appear.

Tips & Tutorials

Google Fusion Tables Basics: Uploading, Editing, Visualizing

0

Google Fusion Tables (now incorporated into Google Docs as “tables”) is a tool that allows quick previews and publishing of interactive data-driven visualizations, including maps, charts, and graphs. Once you have your data set selected, you simply need to edit it in your favorite spreadsheet program, upload it to Google Docs as a new “Table”, and then choose the visualization you want to preview from a dropdown menu. You can even refine and manipulate exactly what data given visualization displays, and, to limited extent, customize its look and feel. If you decide you want to publish it live on the web, Fusion Tables will also generate code for you.

Step 1: Choose your data source


The interface for tables is similar to that of a spreadsheet program, so your data should be in some kind of spreadsheet-compatible format, such as .xls(x), .csv, or tab-delimted .txt.

Step 2: Upload and edit metadata

Log in to your gmail account, and go to the “Documents” tab. Select Create >> Table(beta). In the dialog box that appears, click Browse, and select your data file. If your data is in a .txt file, you may need to change the “Separator character” to Tab; otherwise click Next.

The next dialog offers a preview of your data as it will appear in the table; it will assume that column titles are in the first row, though this can be changed in the dropdown. By default, all columns and rows will be imported, but columns can be removed by unchecking the box at the top. Once you’ve made your selections, click Next.

The final import screen allows you to edit the metadata for the table: name, attribution, attribution link, and description. Remember: you cannot use or publish data without a source, so fill out this section as thoroughly as possible, especially the attribution and page link. You will save yourself time down the line by recording the relevant metadata, so you don’t have to go hunting for it later.


Click Finish.


Step 3: Editing the 'schema'

“Schema” is a database term that describes the type of information in each column of a table. In Fusion Tables, columns may contain text, numbers, locations, or date/times. In general, the program makes fairly good guesses automatically about what type of information is in each column, but you can always edit this by choosing Edit >> Modify columns. In the dialog box, you can select each column and use the Type dropdown to modify the data type.

Data highlighted in yellow indicates which columns the table assume to be “location” information (such as street addresses, city, state or country names, latitude and longitude information or KML). Although multiple “location” columns are allowed, it is recommended that you edit the table to have only one. If you have latitude and longitude information in two separate columns, this will be detected by the table and it will use both when mapping. For best results with street addresses, these should be in a single column.


Step 4: Editing the data

Although column names and data points can be edited directly in Fusion Tables, this is not generally recommended. Fusion Tables does not support many common spreadsheet functions, such as “find and replace” or mathematical formulas. In general, information should be uploaded to Fusion Tables only after it has been “cleaned up.”

If you need to make individual edits, simply click on a data cell, wait for it to change to an “input” box, and type in your changes.


Step 5: Visualizing the data

One of the great strengths of Fusion Tables is the ease of visualizing data; it can quickly generate maps, line charts, bar charts and pie charts. Simply choose Visualize >> and select the visualization you want to use.

Tips & Tutorials

LibX Firefox Plugin

0

Want to search the Columbia University libraries that much faster? Install the LibX plugin for Firefox and your browser window becomes an instant search space for the CUL system.

Once you have the toolbar installed, choose your preferred search parameter to the left of the input box (Title, Keywod, Author, Journal Title, Subject, ISBN, ISSN, Call Number), type in your search terms, and hit Enter. A new tab or window will automatically open with your search results.

 

 

 

 

 

 

You can also refine your search by selecting a particular type of resource (articles, databases &c.) by opening the “Search CLIO” dropdown to the right of the input bar.

 

 

 

 

 

 

 

Questions or suggestions? Leave a comment below.