home / cp40x

names

7 rows where case_id = 1918861

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3677043 1918861 1918861 plaintiff Lancastre Cristabella     Lancastre, Cristabella 0
3677044 1918861 1918861 defendant Lancastre Thomas gent 586779 586779 Lancastre, Thomas, of Brampton, gent 0
3677045 1918861 1918861 defendant Gollen Thomas yeoman 586779 586779 Gollen, Thomas, of Brampton, yeoman 1
3677046 1918861 1918861 defendant Clert Hugh yeoman 586779 586779 Clert, Hugh, of Brampton, yeoman 2
3677047 1918861 1918861 defendant Sheperd John, senior yeoman 586779 586779 Sheperd, John, senior, of Brampton, yeoman 3
3677048 1918861 1918861 defendant Sheperd Henry yeoman 586779 586779 Sheperd, Henry, of Brampton, yeoman 4
3677049 1918861 1918861 defendant Hill Thomas yeoman 608097 608097 Hill, Thomas, of Crakanthorp, yeoman 5

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.011ms