home / cp40x

names

7 rows where case_id = 2185035

✎ 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
4450241 2185035 2185035 plaintiff Hampton Richard de   604869 604869 Hampton, Richard de, of Coventre, on his own account 0
4450242 2185035 2185035 defendant Huwet John   757978 757978 Huwet, John, of Stuchale 0
4450243 2185035 2185035 defendant Gilles William   757979 757979 Gilles, William, of Stuchale or Stivichall 1
4450244 2185035 2185035 defendant Marton John     Marton, John 2
4450245 2185035 2185035 defendant Cardemaker Walter   757980 757980 Cardemaker, Walter, of Stuchdale 3
4450246 2185035 2185035 defendant Stuchale Stephen de     Stuchale, Stephen de 4
4450247 2185035 2185035 defendant Crall John of Stuchale     Crall, John of Stuchale 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 16.328ms