home / cp40x

names

7 rows where case_id = 2223015

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4572742 2223015 2223015 plaintiff atte Wode Richard   611254 611254 atte Wode, Richard, of Bedeford 0
4572743 2223015 2223015 defendant Bocher John   667058 667058 Bocher, John, of Blounham 0
4572744 2223015 2223015 defendant Bernard John maltman 667058 667058 Bernard, John, of Blounham, maltman 1
4572745 2223015 2223015 defendant Sterlyng Richard butcher 590512 590512 Sterlyng, Richard, of Welyngton, butcher 2
4572746 2223015 2223015 defendant Bocher Robert   597996 597996 Bocher, Robert, of Roxston 3
4572747 2223015 2223015 defendant Bailly Thomas smith 594655 594655 Bailly, Thomas, of Houghton Conquest, smith 4
4572748 2223015 2223015 defendant Walssheman Gilbert laborer 770923 770923 Walssheman, Gilbert, of Amptyll, 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 13.868ms