home / cp40x

names

6 rows where place_id = 704018

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, occupation, raw_segment

id ▼ case_id role surname forename occupation place_id raw_segment seq
4150614 2078349 2078349 defendant Puleston Edward gent 704018 704018 Puleston, Edward, of Flambrough, gent 0
4259132 2116028 2116028 defendant Crosse Thomas yeoman 704018 704018 Crosse, Thomas, of Flambrough, yeoman 0
4259338 2116098 2116098 defendant Foster John gent 704018 704018 Foster, John, of Flambrough, gent 0
4259340 2116099 2116099 defendant Foster John yeoman 704018 704018 Foster, John, of Flambrough, yeoman 0
4259342 2116100 2116100 defendant Foster John yeoman 704018 704018 Foster, John, of Flambrough, yeoman 0
4315280 2135458 2135458 defendant Constable Robert esq 704018 704018 Constable, Robert, of Flambrough, esq 0

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