home / cp40x

names

8 rows where case_id = 1968948

✎ 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
3835194 1968948 1968948 plaintiff Pelham William knight   Pelham, William, knight 0
3835195 1968948 1968948 plaintiff Hales Christopher esq, attorney general   Hales, Christopher, esq, attorney general 1
3835196 1968948 1968948 plaintiff Fynys Giles esq   Fynys, Giles, esq 2
3835197 1968948 1968948 plaintiff Forster Thomas gent   Forster, Thomas, gent 3
3835198 1968948 1968948 defendant Holloke John yeoman 637227 637227 Holloke, John, of Ikylsham, yeoman 0
3835199 1968948 1968948 defendant Skynnar John husbandman 637228 637228 Skynnar, John, of Borough Aysshe, husbandman 1
3835200 1968948 1968948 defendant Holbem Robert laborer 637227 637227 Holbem, Robert, of Ikylsham, laborer 2
3835201 1968948 1968948 defendant Carsey Thomas laborer 637227 637227 Carsey, Thomas, of Ikylsham, laborer 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 16.165ms