esadocs: A Search Engine for Endangered Species Act Documents

Description About Document source Author(s)

Description

A Search Engine for Endangered Species Act Documents

About

Thousands of documents are created under the U.S. Endangered Species Act each year, and thousands already exist. But too many are only available as image-based PDFs that cannot be indexed and searched. This package creates a Shiny app (and some helpers) for an Elastic-based search engine for ESA documents.

Document source

The documents in the Elastic database come first from ECOS (Fish and Wildlife Service; FWS) and from National Marine Fisheries Service (NMFS) Office of Protected Resources (OPR) websites. Most of these documents were acquired using ecosscraper. In addition, we actively browse the internet looking for other sites or pages with ESA-related documents.

All of the documents we acquire are analyzed using pdftext, which either extracts text from the text layer (if available) or performs optical character recognition (OCR) using Tesseract. The extracted text is loaded into Elastic using this package, and links to the PDFs (which contain tables and figures not in the plain text extraction) are provided in the app.

Author(s)

Jacob Malcom jmalcom@defenders.org


jacob-ogre/esadocs documentation built on May 18, 2019, 8 a.m.