home / cp40x

names

8 rows where case_id = 2323760

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4890375 2323760 2323760 plaintiff Edlyngton William esq   Edlyngton, William, esq 0
4890376 2323760 2323760 defendant Halyngton John clerk 587620 587620 Halyngton, John, of Saltfletby, clerk 0
4890377 2323760 2323760 defendant Baret Thomas chaplain 587620 587620 Baret, Thomas, of Saltfletby, chaplain 1
4890378 2323760 2323760 defendant Spenser John   620728 620728 Spenser, John, of Grymolby, franklin 2
4890379 2323760 2323760 defendant Thorp John chapman 586981 586981 Thorp, John, of Louth, chapman 3
4890380 2323760 2323760 defendant Ferpeler or Feppeler Robert butcher 586981 586981 Ferpeler or Feppeler, Robert, of Louth, butcher 4
4890381 2323760 2323760 defendant Kelun John butcher 592312 592312 Kelun, John, of Saltflethaven, butcher 5
4890382 2323760 2323760 defendant Wynter Gilbert husbandman 591465 591465 Wynter, Gilbert, of Malberthorp, husbandman 6

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 14.604ms