home / cp40x

names

10 rows where case_id = 2172506

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4424515 2172506 2172506 plaintiff Joce William     Joce, William 0
4424516 2172506 2172506 defendant Raunde John   607914 607914 Raunde, John, of Wrangle 0
4424517 2172506 2172506 defendant Raunde William   607914 607914 Raunde, William, of Wrangle 1
4424518 2172506 2172506 defendant Wilot Alan   607914 607914 Wilot, Alan, of Wrangle 2
4424519 2172506 2172506 defendant Wyse Baldrick   607914 607914 Wyse, Baldrick, of Wrangle 3
4424520 2172506 2172506 defendant Wyse Alan   607914 607914 Wyse, Alan, of Wrangle 4
4424521 2172506 2172506 defendant Stave Hugh   607914 607914 Stave, Hugh, of Wrangle 5
4424522 2172506 2172506 defendant Mordon Richard   607914 607914 Mordon, Richard, of Wrangle, son of Alan 6
4424523 2172506 2172506 defendant Campion Richard   607914 607914 Campion, Richard, of Wrangle 7
4424524 2172506 2172506 defendant Capman Aldous   607914 607914 Capman, Aldous, of Wrangle 8

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 14.824ms