home / cp40x

names

7 rows where case_id = 2357040

✎ 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
5000574 2357040 2357040 plaintiff Malleburgh David     Malleburgh, David 0
5000575 2357040 2357040 defendant Andrewe Ralph clerk 782614 782614 Andrewe, Ralph, of Tamerton Folyet, clerk 0
5000576 2357040 2357040 defendant Waryn John baker 782614 782614 Waryn, John, of Tamerton Folyet, baker 1
5000577 2357040 2357040 defendant Moreman Robert husbandman 782614 782614 Moreman, Robert, of Tamerton Folyet, husbandman 2
5000578 2357040 2357040 defendant Ponne Walter husbandman 782614 782614 Ponne, Walter, of Tamerton Folyet, husbandman 3
5000579 2357040 2357040 defendant Grenehill Ralph husbandman 609324 609324 Grenehill, Ralph, of Whitelegh, husbandman 4
5000580 2357040 2357040 defendant Bare Richard baker 782614 782614 Bare, Richard, of Tamerton Folyet, baker 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 12.416ms