home / cp40x

names

8 rows where case_id = 2522190

✎ 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
5557630 2522190 2522190 plaintiff Newport John (legal representative) 586926 586926 Newport, John, of Russheden, executors of 0
5557631 2522190 2522190 plaintiff Newport Robert   589769 589769 (Newport, Robert, of Sandon 1
5557632 2522190 2522190 plaintiff Gobyon Richard     Gobyon, Richard 2
5557633 2522190 2522190 defendant Sewall William gent 682264 682264 Sewall, William, of Wrytell, Essex, gent 0
5557634 2522190 2522190 defendant Austen William maltman 608154 608154 Austen, William, of Cotered, Herts, maltman 1
5557635 2522190 2522190 defendant Smyth William laborer 631539 631539 Smyth, William, of Russheden, Herts, laborer 2
5557636 2522190 2522190 defendant Throssher Thomas husbandman 591966 591966 Throssher, Thomas, of Buntyngford, Herts, husbandman 3
5557637 2522190 2522190 defendant Alyn Robert husbandman 586926 586926 Alyn, Robert, of Russheden, husbandman 4

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 7.511ms