home / cp40x

names

7 rows where case_id = 2520998

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5553279 2520998 2520998 plaintiff Gelhampton Joan widow   Gelhampton, Joan, widow, executor of 0
5553280 2520998 2520998 plaintiff Howse John     Howse, John 1
5553281 2520998 2520998 defendant Latheryge John husbandman 587426 587426 Latheryge, John, of Canyngton, husbandman 0
5553282 2520998 2520998 defendant Pylcorne John mariner 705922 705922 Pylcorne, John, of Otherhampton, mariner 1
5553283 2520998 2520998 defendant Dygyn John husbandman 899393 899393 Dygyn, John, of Stokeland Gaunte, husbandman 2
5553284 2520998 2520998 defendant Kyttenor John mariner 588017 588017 Kyttenor, John, of Comwyche, mariner 3
5553285 2520998 2520998 defendant Body William husbandman 668360 668360 Body, William, of Willescombe, husbandman 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 15.149ms