home / cp40x

names

10 rows where case_id = 2322751

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4886882 2322751 2322751 plaintiff Danners or Danvers John     Danners or Danvers, John 0
4886883 2322751 2322751 defendant Broune Hugh butcher 587960 587960 Broune, Hugh, of Bannebury, butcher 0
4886884 2322751 2322751 defendant Broune Simon butcher 587960 587960 Broune, Simon, of Bannebury, butcher 1
4886885 2322751 2322751 defendant Swanlond Thomas painter 587960 587960 Swanlond, Thomas, of Bannebury, painter 2
4886886 2322751 2322751 defendant Taillour John tailor 590084 590084 Taillour, John, of Croprydy, tailor 3
4886887 2322751 2322751 defendant Grey John husbandman 817485 817485 Grey, John, of Grymesbury, Nhants, husbandman 4
4886888 2322751 2322751 defendant Sadeler Henry husbandman 587960 587960 Sadeler, Henry, of Bannebury, husbandman 5
4886889 2322751 2322751 defendant Sadeler Walter saddler 587960 587960 Sadeler, Walter, of Bannebury, saddler 6
4886890 2322751 2322751 defendant Valaunce John miller 590084 590084 Valaunce, John, of Croprydy, miller 7
4886891 2322751 2322751 defendant Boynde Thomas butcher 590084 590084 Boynde, Thomas, of Croprydy, butcher 8

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE names (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    case_id INTEGER NOT NULL REFERENCES cases(id) ON DELETE CASCADE,
    role TEXT NOT NULL CHECK (role IN ('plaintiff', 'defendant')),
    surname TEXT NOT NULL,
    forename TEXT,
    occupation TEXT,
    place_id INTEGER REFERENCES places(id),
    raw_segment TEXT NOT NULL,
    seq INTEGER NOT NULL DEFAULT 0
);
CREATE INDEX idx_names_case_id ON names(case_id);
CREATE INDEX idx_names_surname ON names(surname);
CREATE INDEX idx_names_place_id ON names(place_id);
CREATE INDEX idx_names_role_surname ON names(role, surname);
Powered by Datasette · Queries took 16.373ms