home / cp40x

names

5 rows where case_id = 2337037

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4934064 2337037 2337037 plaintiff Ansty or Austy John, senior   644986 644986 Ansty or Austy, John, senior, of Stowe Quy 0
4934065 2337037 2337037 defendant Garnon Thomas husbandman 625132 625132 Garnon, Thomas, of Frekenham, Suff, husbandman 0
4934066 2337037 2337037 defendant Dunche Richard Fordham, husbandman   Dunche, Richard, Fordham, husbandman 1
4934067 2337037 2337037 defendant Waryn Walter husbandman 586305 586305 Waryn, Walter, of Fordham, husbandman 2
4934068 2337037 2337037 defendant Jemes John, junior husbandman 607316 607316 Jemes, John, junior, of Reche, husbandman 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 7.268ms