Skip to content

Commit

Permalink
Update Jupyter notebook links LibraryOfCongress#44
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrourke committed Oct 26, 2022
1 parent 8f370b4 commit 2f1ec33
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"And to actually display images, we'll follow the pattern laid out by the [LoC exploration demo for loc.gov](https://github.com/LibraryOfCongress/data-exploration/blob/master/LOC.gov%20JSON%20API.ipynb) and use `Image` from `IPython.display` library. "
"And to actually display images, we'll follow the pattern laid out by the [LoC exploration demo for loc.gov](https://github.com/LibraryOfCongress/data-exploration/blob/master/loc.gov%20JSON%20API/LOC.gov%20JSON%20API.ipynb) and use `Image` from `IPython.display` library. "
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion loc.gov JSON API/Accessing images for analysis.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"It can also be helpful to discuss with staff your intended analysis, as factors such as the sources of metadata and how items were digitized may affect your findings. The [Ask a Librarian](http://www.loc.gov/rr/askalib/) service can help you get in touch with staff who work with the collections.\n",
"\n",
"### More APIs for working with images\n",
"Some of the Library of Congress images, including those of newspapers in the [Chronicling America](https://chroniclingamerica.loc.gov/) collection, are available from an [IIIF API](http://iiif.io/). This is an API that allows you to zoom, rotate, resize, and work with images in more complex ways. For a brief intro to using the IIIF API, see [this Jupyter notebook on IIIF](https://github.com/LibraryOfCongress/data-exploration/blob/master/IIIF.ipynb). \n",
"Some of the Library of Congress images, including those of newspapers in the [Chronicling America](https://chroniclingamerica.loc.gov/) collection, are available from an [IIIF API](http://iiif.io/). This is an API that allows you to zoom, rotate, resize, and work with images in more complex ways. For a brief intro to using the IIIF API, see [this Jupyter notebook on IIIF](https://github.com/LibraryOfCongress/data-exploration/blob/master/loc.gov%20IIIF%20API/IIIF.ipynb). \n",
" "
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"\n",
"Getting up to speed with use of the loc.gov JSON API and Python to access the collection was a breeze, thanks to existing data exploration resources located on the LC for Robots page: https://labs.loc.gov/lc-for-robots/\n",
"\n",
"In specific, you can find tips on using the loc.gov JSON API from the 'Accessing images for analysis' notebook created by Laura Wrubel. We'll build on in the next steps. https://github.com/LibraryOfCongress/data-exploration/blob/master/Accessing%20images%20for%20analysis.ipynb\n"
"In specific, you can find tips on using the loc.gov JSON API from the 'Accessing images for analysis' notebook created by Laura Wrubel. We'll build on in the next steps. https://github.com/LibraryOfCongress/data-exploration/blob/master/loc.gov%20JSON%20API/Accessing%20images%20for%20analysis.ipynb\n"
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions loc.gov JSON API/maps/maps-downloading-querying.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"<div class=\"alert alert-info\">\n",
"<p class=\"lead\">More Resources</p>\n",
" \n",
"Other Jupyter notebooks and examples can be found at <a href=\"https://labs.loc.gov/lc-for-robots/#try\">LC for Robots</a>. In particular, be sure to check out <a href=\"https://github.com/LibraryOfCongress/data-exploration/blob/master/Accessing%20images%20for%20analysis.ipynb\">Accessing images for image analysis</a>, which this notebook builds on, and <a href=\"https://github.com/charlie-moffett/data-exploration/blob/master/Extracting%20location%20data%20for%20geovisualization.ipynb\">Extracting location data from the loc.gov API for geovisualization</a>. \n",
"Other Jupyter notebooks and examples can be found at <a href=\"https://labs.loc.gov/lc-for-robots/#try\">LC for Robots</a>. In particular, be sure to check out <a href=\"https://github.com/LibraryOfCongress/data-exploration/blob/master/loc.gov%20JSON%20API/Accessing%20images%20for%20analysis.ipynb\">Accessing images for image analysis</a>, which this notebook builds on, and <a href=\"https://github.com/charlie-moffett/data-exploration/blob/master/loc.gov%20JSON%20API/Extracting%20location%20data%20for%20geovisualization.ipynb\">Extracting location data from the loc.gov API for geovisualization</a>. \n",
"\n",
"</div>\n",
"\n",
Expand Down Expand Up @@ -455,7 +455,7 @@
"2. **get_image_urls** - Get a list of image URLs from those results. \n",
"3. **get_image_files** - Download all the image URLs. \n",
"\n",
"The code here borrows partially from [Accessing images for image analysis](https://github.com/LibraryOfCongress/data-exploration/blob/master/Accessing%20images%20for%20analysis.ipynb), which is another great resource.\n",
"The code here borrows partially from [Accessing images for image analysis](https://github.com/LibraryOfCongress/data-exploration/blob/master/loc.gov%20JSON%20API/Accessing%20images%20for%20analysis.ipynb), which is another great resource.\n",
"\n",
"The functions in this notebook are large and do many things. In the real world, best practice for Python functions is usually to break them up into multiple small functions, where each function does one thing.\n",
"\n",
Expand Down

0 comments on commit 2f1ec33

Please sign in to comment.