home / cp40x

names

8 rows where case_id = 2487732

✎ 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
5442709 2487732 2487732 plaintiff Bonvyle John esq   Bonvyle, John, esq 0
5442710 2487732 2487732 defendant Fork John husbandman   Fork, John, husbandman 0
5442711 2487732 2487732 defendant Lambe John husbandman 800254 800254 Lambe, John, of Lavent, husbandman 1
5442712 2487732 2487732 defendant Adam John husbandman   Adam, John, husbandman 2
5442713 2487732 2487732 defendant Hanvile John husbandman 800254 800254 Hanvile, John, of Lavent, husbandman 3
5442714 2487732 2487732 defendant Roose John husbandman   Roose, John, husbandman 4
5442715 2487732 2487732 defendant Hardyng Richard husbandman 588084 588084 Hardyng, Richard, of Chichester, husbandman 5
5442716 2487732 2487732 defendant Ellis   husbandman   _, Ellis, husbandman 6

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