home / cp40x

names

6 rows where case_id = 2431792

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5255358 2431792 2431792 plaintiff Colwiche Robert   585869 585869 Colwiche, Robert, of London 0
5255359 2431792 2431792 defendant Denys Walter esq 864793 864793 Denys, Walter, of Bodyngon, Surrey, esq 0
5255360 2431792 2431792 defendant Garth Thomas gent 597846 597846 Garth, Thomas, of Skypton in Craven, Yorks, gent 1
5255361 2431792 2431792 defendant Dacre George gent 620148 620148 Dacre, George, of Skypton in Craven, gent 2
5255362 2431792 2431792 defendant Frebody Henry gent 864794 864794 Frebody, Henry, of Colsill Halle, Warks, gent 3
5255363 2431792 2431792 defendant Grete Richard yeoman 695398 695398 Grete, Richard,of Severne Stoke, Worcs, yeoman 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 14.269ms