home / cp40x

names

8 rows where case_id = 2427491

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5240697 2427491 2427491 plaintiff Kirbe Thomas     Kirbe, Thomas 0
5240698 2427491 2427491 plaintiff Bedford Henry clerk   Bedford, Henry, clerk 1
5240699 2427491 2427491 defendant Grene William barber 587532 587532 Grene, William, of Asshewell, barber 0
5240700 2427491 2427491 defendant Mychell John husbandman 849627 849627 Mychell, John, of Asshewll, husbandman 1
5240701 2427491 2427491 defendant Pilche Thomas scrivener 587532 587532 Pilche, Thomas, of Asshewell, scrivener 2
5240702 2427491 2427491 defendant Lecheworthe Richard (legal representative)   Lecheworthe, Richard, executors of 3
5240703 2427491 2427491 defendant Mertunge William husbandman 587532 587532 (Mertunge, William, of Asshewell, husbandman 4
5240704 2427491 2427491 defendant Lecheworthe John husbandman 587532 587532 Lecheworthe, John, of Asshewell, husbandman 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.15ms