Some Views on the Hathi Corpus

Ben Schmidt, December 26, 2015

The D3 library makes it possible to explore the Hathi library geographically, among other things.

Number of total books in the Hathi Corpus over time

Just the USA

{
  "database": "hathipd",
  "plotType": "map",
  "method": "return_json",
  "search_limits": {
    "word": ["fishing"],
    "publication_place__id": {
    "$lte": 500},
	"date_year":{"$gte":1830,"$lte":2000},
    "publication_place_countryName":["United States"],
	"format":["book"]
  },
  "aesthetic": {
    "point": "publication_place_geo",
    "size": "TextCount",
	"time":"date_year"
  },
  "projection": "USA",
  "scaleType": "log"
}

Europe: choose language from the dropdown

{
  "database": "hathipd",
  "plotType": "map",
  "method": "return_json",
  "search_limits": {
    "word": ["fishing"],
    "publication_place__id": {
    "$lte": 500},
	"date_year":{"$gte":1789,"$lte":2000},
	"format":["book"],
	"languages":["German"]
  },
  "aesthetic": {
    "point": "publication_place_geo",
    "size": "TextCount",
	"time":"date_year"

  },"smoothingSpan":5,
  "projection": "europe",
  "scaleType": "log"
}

What is the geography of word use: type in to see where a word is used

(and click the map for example books).


{
  "database": "hathipd",
  "plotType": "map",
  "method": "return_json",
  "search_limits": {
    "word": ["government"],
    "publication_place__id": {
    "$lte": 300
    },"publication_place_countryName":["United States"],
	"format":["book"]
  },
  "aesthetic": {
    "point": "publication_place_geo",
    "size": "WordCount"
  },
  "projection": "USA",
  "scaleType": "log"
}