home / cp40x

names

8 rows where case_id = 2375470

✎ 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
5063009 2375470 2375470 plaintiff Hoo Thomas esq   Hoo, Thomas, esq 0
5063010 2375470 2375470 plaintiff Elyngbrigge John     Elyngbrigge, John 1
5063011 2375470 2375470 plaintiff Skerne William     Skerne, William 2
5063012 2375470 2375470 defendant Uphold John cooper 775089 775089 Uphold, John, of Okle, cooper 0
5063013 2375470 2375470 defendant Constable John carpenter 775089 775089 Constable, John, of Okle, carpenter 1
5063014 2375470 2375470 defendant Hyller John laborer 775089 775089 Hyller, John, of Okle, laborer 2
5063015 2375470 2375470 defendant Claresmore Robert laborer 601693 601693 Claresmore, Robert, of Capell, laborer 3
5063016 2375470 2375470 defendant Colyer Edward laborer 775089 775089 Colyer, Edward, of Okle, laborer 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 6.443ms