home / cp40x

names

6 rows where case_id = 2315010

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4861629 2315010 2315010 plaintiff Crowethorn John     Crowethorn, John 0
4861630 2315010 2315010 defendant Hayton Thomas gent 586545 586545 Hayton, Thomas, of Napton, Warks, gent 0
4861631 2315010 2315010 defendant Comford William dauber 585869 585869 Comford, William, of London, dauber 1
4861632 2315010 2315010 defendant Mason Thomas dyer 585869 585869 Mason, Thomas, of London, dyer 2
4861633 2315010 2315010 defendant Ympyngham William skinner 814164 814164 Ympyngham, William, of Seynt Jone Strete, Middx, skinner 3
4861634 2315010 2315010 defendant Roberd John husbandman 814165 814165 Roberd, John, of Wyllesdon, Middx, husbandman 4

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