Skip to content

Trove newspapers

Assorted experiments and examples working with Trove’s digitised newspapers

Binder

Tips, tools, and examples

  • Map Trove newspaper results by state
    Uses the Trove state facet to create a choropleth map that visualises the number of search results per state.

  • Map Trove newspaper results by place of publication
    Uses the Trove title facet to find the number of results per newspaper, then merges the results with a dataset of geolocated newspapers to map where articles were published.

    Screen capture of heatmap

  • Map Trove newspaper results by place of publication over time
    Adds a time dimension to the examples in the previous notebook to create an animated heatmap.

  • Today’s news yesterday
    Uses the date index and the firstpageseq parameter to find articles from exactly 100 years ago that were published on the front page. It then selects one of the articles at random and downloads and displays an image of the front page.

  • Create a Trove OCR corrections ticker
    Uses the has:corrections parameter to get the total number of newspaper articles with OCR corrections, then displays the results, updating every five seconds.

    Screen capture

  • Save a Trove newspaper article as an image
    This notebook grabs the page on which an article was published, and then crops the page image to the boundaries of the article. The result is an image which presents the article as it was originally published.

    Screen capture

  • Upload Trove newspaper articles to Omeka-S
    This notebook steps through the process of uploading Trove newspaper articles to your own Omeka-S instance via the API. As well as uploading the article metadata, it attaches image(s) and PDFs of the articles, and creates a linked record for the publishing newspaper. The source of the articles can be a Trove search, a Trove list, a Zotero collection, or just a list of article ids.

Useful apps

These are Jupyter notebooks designed to run in ‘app mode’ with the code cells hidden. The Binder buttons will automatically open the notebooks in app mode, but you can always view and edit the code by clicking the ‘Edit App’ button.

  • Download a page image

    The Trove web interface doesn’t provide a way of getting high-resolution page images from newspapers. This simple app lets you download page images as complete, high-resolution JPG files.

    Binder

    Screen capture

  • Generate an article thumbnail

    Generate a nice square thumbnail image for a newspaper article.

    Binder

  • QueryPic Deconstructed
    QueryPic is a tool I created many years ago to visualise searches in Trove's digitised newspapers. It shows you the number of articles each year that match your query — instead of a page of search results, you see the complete result set. You can look for patterns and trends across time. This is a deconstructed, extended, and hackable version of QueryPic.

    Binder

    Screen capture