home / cp40x

names

7 rows where case_id = 2061412

✎ 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
4103146 2061412 2061412 plaintiff Mallyard Roger (legal representative)   Mallyard, Roger, executors of 0
4103147 2061412 2061412 plaintiff Hill William     (Hill, William 1
4103148 2061412 2061412 plaintiff Dowdeswell John     Dowdeswell, John 2
4103149 2061412 2061412 defendant Knowles John yeoman 694138 694138 Knowles, John, of Kineton, Herefs, or of Tewkesburye, Glos, yeoman 0
4103150 2061412 2061412 defendant Hill John husbandman 694139 694139 Hill, John, of le Miethe, husbandman 1
4103151 2061412 2061412 defendant Grene Alexander glover 694140 694140 Grene, Alexander, of Burtes Morton, Worcs, glover 2
4103152 2061412 2061412 defendant Wilshere Thomas   603136 603136 Wilshere, Thomas, of Tewkesburye, sailor 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.714ms