home / cp40x

names

16 rows where case_id = 2201994

✎ 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
4504627 2201994 2201994 plaintiff Saman John     Saman, John 0
4504628 2201994 2201994 defendant Grenelef William     Grenelef, William 0
4504629 2201994 2201994 defendant Knotte William     Knotte, William 1
4504630 2201994 2201994 defendant Shepherd John     Shepherd, John 2
4504631 2201994 2201994 defendant Heyward Thomas     Heyward, Thomas 3
4504632 2201994 2201994 defendant Heyward John     Heyward, John 4
4504633 2201994 2201994 defendant Hamond Thomas     Hamond, Thomas 5
4504634 2201994 2201994 defendant Tybenham John     Tybenham, John 6
4504635 2201994 2201994 defendant Tybenham Walter   606671 606671 Tybenham, Walter, of Peldon 7
4504636 2201994 2201994 defendant Martell Richard     Martell, Richard 8
4504637 2201994 2201994 defendant Bussh Richard, junior     Bussh, Richard, junior 9
4504638 2201994 2201994 defendant (illegible) John     ----, John 10
4504639 2201994 2201994 defendant Galand John     Galand, John 11
4504640 2201994 2201994 defendant Stephene John     Stephene, John 12
4504641 2201994 2201994 defendant Stephene Richard   757035 757035 Stephene, Richard, of West Merseye 13
4504642 2201994 2201994 defendant Cook John   763078 763078 Cook, John, of East Merseye 14

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