home / cp40x

names

6 rows where case_id = 2385697

✎ 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
5097490 2385697 2385697 plaintiff Thorp Thomas     Thorp, Thomas 0
5097491 2385697 2385697 defendant de la Launde Agnes widow 585869 585869 de la Launde, Agnes, of London, widow 0
5097492 2385697 2385697 defendant Constable Robert gent 845988 845988 Constable, Robert, of Cattefosse,Yorks, gent 1
5097493 2385697 2385697 defendant Smyth John gent 586134 586134 Smyth, John, of Ipswich, gent 2
5097494 2385697 2385697 defendant de la Laund Thomas esq 585869 585869 de la Laund, Thomas, of London, esq 3
5097495 2385697 2385697 defendant Mulso Thomas esq 617845 617845 Mulso, Thomas, of Newton, Nhants, esq 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 11.188ms