home / cp40x

names

7 rows where case_id = 2390735

✎ 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
5114775 2390735 2390735 plaintiff Marten Thomas     Marten, Thomas 0
5114776 2390735 2390735 defendant Couper William husbandman 597745 597745 Couper, William, of Kymbolton, husbandman 0
5114777 2390735 2390735 defendant Pette Simon cordwainer 597745 597745 Pette, Simon, of Kymbolton, cordwainer 1
5114778 2390735 2390735 defendant Farley John clerk 613229 613229 Farley, John, of Keston, clerk 2
5114779 2390735 2390735 defendant Burgelyn John husbandman 602994 602994 Burgelyn, John, of Conyngton, husbandman 3
5114780 2390735 2390735 defendant Bruys Henry   590227 590227 Bruys, Henry, of Shelton, notary 4
5114781 2390735 2390735 defendant Babraham John butcher 594218 594218 Babraham, John, of St Neots, butcher 5

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