home / cp40x

names

7 rows where case_id = 2285565

✎ 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
4766663 2285565 2285565 plaintiff Lisle John   779684 779684 Lisle, John, of Wodyton 0
4766664 2285565 2285565 defendant Gurmond John laborer 595781 595781 Gurmond, John, of Atherton, laborer 0
4766665 2285565 2285565 defendant Rammesdon Richard husbandman 595781 595781 Rammesdon, Richard, of Atherton, husbandman 1
4766666 2285565 2285565 defendant Tracy Richard laborer 767543 767543 Tracy, Richard, of Newecherche, laborer 2
4766667 2285565 2285565 defendant Coule Thomas husbandman 799311 799311 Coule, Thomas, of Roucle, husbandman 3
4766668 2285565 2285565 defendant Stopard Thomas laborer 595781 595781 Stopard, Thomas, of Atherton, laborer 4
4766669 2285565 2285565 defendant Samburgh Thomas laborer 595781 595781 Samburgh, Thomas, of Atherton, laborer 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 14.375ms