home / cp40x

names

6 rows where case_id = 2284743

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4764042 2284743 2284743 plaintiff Hannygfeld William     Hannygfeld, William 0
4764043 2284743 2284743 defendant Alverton Robert husbandman 635393 635393 Alverton, Robert, of Stanesfeld, husbandman 0
4764044 2284743 2284743 defendant Pakenham John   589856 589856 Pakenham, John, of Pakenham, glass wright 1
4764045 2284743 2284743 defendant Gardyner Walter (legal representative)   Gardyner, Walter, executors of 2
4764046 2284743 2284743 defendant Clerk Geoffrey chapman 586180 586180 (Clerk, Geoffrey, of Bury St Edmunds, chapman 3
4764047 2284743 2284743 defendant Gardyner John husbandman 798818 798818 Gardyner, John, of Haustede, husbandman 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 21.333ms