home / cp40x

names

8 rows where case_id = 2256692

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
4671357 2256692 2256692 plaintiff Carlisle Robert, junior     Carlisle, Robert, junior, on his own account 0
4671358 2256692 2256692 defendant Lancastre John   590660 590660 Lancastre, John, of Carlisle, knight 0
4671359 2256692 2256692 defendant Thomson John husbandman 781137 781137 Thomson, John, of Skirwith, husbandman 1
4671360 2256692 2256692 defendant Dunnyng Thomas husbandman 781137 781137 Dunnyng, Thomas, of Skirwith, husbandman 2
4671361 2256692 2256692 defendant Broune John yeoman 781138 781138 Broune, John, of Bochardby, yeoman 3
4671362 2256692 2256692 defendant Page Richard yeoman 781139 781139 Page, Richard, of Partane, yeoman 4
4671363 2256692 2256692 defendant Bocherdby Nicholas of of Bochardby yeoman   Bocherdby, Nicholas of of Bochardby, yeoman 5
4671364 2256692 2256692 defendant gildredale Robert husbandman 775511 775511 gildredale, Robert, of Wyganby, husbandman 6

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