home / cp40x

names

6 rows where case_id = 2240677

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4631272 2240677 2240677 plaintiff Tapton Roger     Tapton, Roger 0
4631273 2240677 2240677 defendant Bell Robert   586778 586778 Bell, Robert, of Byngham 0
4631274 2240677 2240677 defendant Ludlowe John   766494 766494 Ludlowe, John, of Loughtburgh 1
4631275 2240677 2240677 defendant Bucher John   629213 629213 Bucher, John, of Rudyngton 2
4631276 2240677 2240677 defendant Clerkson William   609901 609901 Clerkson, William, of Selston 3
4631277 2240677 2240677 defendant Northwell William   596656 596656 Northwell, William, of Lamley 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 16.578ms