home / cp40x

names

6 rows where case_id = 2498604

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5478530 2498604 2498604 plaintiff Bore John     Bore, John 0
5478531 2498604 2498604 defendant Reve Lawrence husbandman 586249 586249 Reve, Lawrence, of Est Mallyng, husbandman 0
5478532 2498604 2498604 defendant Wykys Thomas husbandman 586422 586422 Wykys, Thomas, of Lynton, husbandman 1
5478533 2498604 2498604 defendant Wodelond Richard of West Mallyng tailor   Wodelond, Richard of West Mallyng, tailor 2
5478534 2498604 2498604 defendant Turnur John husbandman 586451 586451 Turnur, John, of Asshe juxta Mepeham, husbandman 3
5478535 2498604 2498604 defendant Teneker or Teveker Robert husbandman 845650 845650 Teneker or Teveker, Robert, of Trottysclyf, husbandman 4

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.616ms