This site contains in-depth tutorials for working with Library collections data via APIs and code. If you have ideas for additional tutorials, please email LC-Labs@loc.gov.

Introduction

The Library of Congress data-exploration GitHub includes several Jupyter notebooks and example scripts using openly available Library of Congress digital collections or records. Nearly all of these notebooks use the APIs available through https://www.loc.gov. For more information on how to use the loc.gov APIs, see https://www.loc.gov/apis/ .

This accompanying site contains more information about how to use the Jupyter notebooks available in this repository and are loosely categorized by topic: General Query, Images, Geographic Data, Historic Newspapers, and other scripts. Contact LC-labs@loc.gov for questions about these notebooks, or to suggest a new addition.