home / cp40x

names

6 rows where case_id = 2378113

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5071999 2378113 2378113 plaintiff Sturdys John goldsmith 585869 585869 Sturdys, John, of London, goldsmith 0
5072000 2378113 2378113 defendant Laurance John gent 600116 600116 Laurance, John, of Wyboldeston, Beds, gent 0
5072001 2378113 2378113 defendant Halton John gent 843016 843016 Halton, John, of Castel Hounwyche, Warks, gent 1
5072002 2378113 2378113 defendant Faukoner Richard gent 843014 843014 Faukoner, Richard, of Botle, ,hants, gent 2
5072003 2378113 2378113 defendant Hamden Edmund   843015 843015 Hamden, Edmund, of Bekkeley, Oxon, knight 3
5072004 2378113 2378113 defendant Welderby George goldsmith 586067 586067 Welderby, George, of York, goldsmith 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 5.638ms