home / cp40x

names

7 rows where case_id = 2555105

✎ 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
5635633 2555105 2555105 plaintiff Weston John   776445 776445 Weston, John, of Papeworth 0
5635634 2555105 2555105 plaintiff Westbrook William   586127 586127 Westbrook, William, of Godalmyng 1
5635635 2555105 2555105 defendant Crostrete Henry cooper 586127 586127 Crostrete, Henry, of Godalmyng, cooper 0
5635636 2555105 2555105 defendant Court Simon husbandman 776446 776446 Court, Simon, of Wytle, husbandman 1
5635637 2555105 2555105 defendant Court Thomas husbandman 908127 908127 Court, Thomas, of Thorsley, husbandman 2
5635638 2555105 2555105 defendant Flodman William husbandman 588924 588924 Flodman, William, of Farnham, husbandman 3
5635639 2555105 2555105 defendant Laurence John husbandman 588924 588924 Laurence, John, of Farnham, 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 13.615ms