home / cp40x

names

5 rows where case_id = 2166074

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4404503 2166074 2166074 plaintiff Quyer William clerk of Hugh Browker, esq, Prothonotary   Quyer, William, clerk of Hugh Browker, esq, Prothonotary 0
4404504 2166074 2166074 defendant Edes John carrier 671207 671207 Edes, John, of Crewkerne, Soms, carrier 0
4404505 2166074 2166074 defendant Basterd Thomas husbandman 666839 666839 Basterd, Thomas, of Staple Fytzpayne, or of Curland, Soms, husbandman 1
4404506 2166074 2166074 defendant Coxe John chapman 585925 585925 Coxe, John, of Bristol, or of Horton, Soms, chapman 2
4404507 2166074 2166074 defendant Devenell Richard yeoman 691095 691095 Devenell, Richard, of Wyvelscombe, Soms, yeoman 3

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