home / cp40x

names

12 rows where case_id = 2390585

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5114320 2390585 2390585 plaintiff Lucy William knight   Lucy, William, knight 0
5114321 2390585 2390585 plaintiff Hampden Edmund knight   Hampden, Edmund, knight 1
5114322 2390585 2390585 plaintiff Duram John     Duram, John 2
5114323 2390585 2390585 plaintiff Hampden John esq   Hampden, John, esq 3
5114324 2390585 2390585 plaintiff Rokes Thomas esq   Rokes, Thomas, esq 4
5114325 2390585 2390585 plaintiff Fouler Richard     Fouler, Richard 5
5114326 2390585 2390585 plaintiff Verney Ralph     Verney, Ralph 6
5114327 2390585 2390585 plaintiff Martyn John     Martyn, John 7
5114328 2390585 2390585 defendant Gilkyn John chapman 587176 587176 Gilkyn, John, of Aylesbury, chapman 0
5114329 2390585 2390585 defendant Glover Thomas glover 587176 587176 Glover, Thomas, of Aylesbury, glover 1
5114330 2390585 2390585 defendant Clerk Walter   587176 587176 Clerk, Walter, of Aylesbury, mason 2
5114331 2390585 2390585 defendant Sulesho Henry carpenter 597736 597736 Sulesho, Henry, of Wynge, carpenter 3

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.892ms