home / cp40x

names

7 rows where case_id = 1908125

✎ 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
3642588 1908125 1908125 plaintiff Chancy William     Chancy, William 0
3642589 1908125 1908125 defendant Corderey Thomas, senior gent 595004 595004 Corderey, Thomas, senior, of Chute, gent 0
3642590 1908125 1908125 defendant Lynton Luke gent 595004 595004 Lynton, Luke, of Chute, gent 1
3642591 1908125 1908125 defendant Hasell Thomas laborer 595004 595004 Hasell, Thomas, of Chute, laborer 2
3642592 1908125 1908125 defendant Goldyng Thomas laborer 595004 595004 Goldyng, Thomas, of Chute, laborer 3
3642593 1908125 1908125 defendant Vyncent John laborer 595004 595004 Vyncent, John, of Chute, laborer 4
3642594 1908125 1908125 defendant Morant William   595004 595004 Morant, William, of Chute, groom 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.149ms