home / cp40x

names

10 rows where case_id = 2528560

✎ 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
5579168 2528560 2528560 plaintiff Belsire George     Belsire, George 0
5579169 2528560 2528560 defendant Hoker John innholder 589329 589329 Hoker, John, of Milton juxta Gravesend, innholder 0
5579170 2528560 2528560 defendant Laurence Richard husbandman 593171 593171 Laurence, Richard, of Milton, husbandman 1
5579171 2528560 2528560 defendant Nun John laborer 593171 593171 Nun, John, of Milton, laborer 2
5579172 2528560 2528560 defendant Dochet Mark laborer 593171 593171 Dochet, Mark, of Milton, laborer 3
5579173 2528560 2528560 defendant Lyall William laborer 588779 588779 Lyall, William, of Gravesend, laborer 4
5579174 2528560 2528560 defendant Trywyn Richard laborer 593171 593171 Trywyn, Richard, of Milton, laborer 5
5579175 2528560 2528560 defendant Snere John tailor 588779 588779 Snere, John, of Gravesend, tailor 6
5579176 2528560 2528560 defendant Mathue Thomas carpenter 588779 588779 Mathue, Thomas, of Gravesend, carpenter 7
5579177 2528560 2528560 defendant Broun Thomas waterman 588779 588779 Broun, Thomas, of Gravesend, waterman 8

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.055ms