home / cp40x

names

8 rows where case_id = 1939472

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3742329 1939472 1939472 plaintiff Tredynek William     Tredynek, William 0
3742330 1939472 1939472 defendant Hogge William husbandman 621584 621584 Hogge, William, of Nether Polglas, husbandman 0
3742331 1939472 1939472 defendant Serell John husbandman 621585 621585 Serell, John, of Trehere, husbandman 1
3742332 1939472 1939472 defendant Hobbe Richard husbandman 621586 621586 Hobbe, Richard, of Carwen, husbandman 2
3742333 1939472 1939472 defendant Bryand John, junior husbandman 621587 621587 Bryand, John, junior, of Tryncreke, husbandman 3
3742334 1939472 1939472 defendant Kest John husbandman 621588 621588 Kest, John, of Treworak, husbandman 4
3742335 1939472 1939472 defendant Wylcok John husbandman 621589 621589 Wylcok, John, of Trewellard, husbandman 5
3742336 1939472 1939472 defendant Wylcok Richard junor, of Tregynnowe, husbandman   Wylcok, Richard, junor, of Tregynnowe, 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.106ms