home / cp40x

names

7 rows where case_id = 2043015

✎ 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
4051661 2043015 2043015 plaintiff Wood George     Wood, George 0
4051662 2043015 2043015 defendant Parker William yeoman 594541 594541 Parker, William, of Ecclesfeld, yeoman 0
4051663 2043015 2043015 defendant Bell John yeoman 586573 586573 Bell, John, of Barnesley, yeoman 1
4051664 2043015 2043015 defendant Brigge William yeoman 587104 587104 Brigge, William, of South Kyrkby, yeoman 2
4051665 2043015 2043015 defendant Beverley Robert yeoman 634440 634440 Beverley, Robert, of Whitkirke, yeoman 3
4051666 2043015 2043015 defendant Wyke Robert yeoman 682895 682895 Wyke, Robert, of Whitkyrke, yeoman 4
4051667 2043015 2043015 defendant Stokden George yeoman 586887 586887 Stokden, George, of Wakefeld, yeoman 5

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