home / cp40x

names

10 rows where case_id = 2364914

✎ 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
5027469 2364914 2364914 plaintiff Marshall Robert (legal representative) 585869 585869 Marshall, Robert, of London, grocer, executors of 0
5027470 2364914 2364914 plaintiff Lambard John mercer   (Lambard, John, mercer 1
5027471 2364914 2364914 plaintiff Bassynthwayte John grocer   Bassynthwayte, John, grocer 2
5027472 2364914 2364914 plaintiff Freman William     Freman, William 3
5027473 2364914 2364914 plaintiff Heyworth Robert     Heyworth, Robert 4
5027474 2364914 2364914 defendant Motte John (legal representative) 585937 585937 Motte, John, of Bylston, merchant, executors of 0
5027475 2364914 2364914 defendant Motte John merchant 585965 585965 (Motte, John, of Bylston, Suff, merchant 1
5027476 2364914 2364914 defendant Merssh Thomas merchant 585937 585937 Merssh, Thomas, of Bylston, merchant 2
5027477 2364914 2364914 defendant Whitecope William yeoman 585937 585937 Whitecope, William, of Bylston, yeoman 3
5027478 2364914 2364914 defendant Heynde Thomas goldsmith 601656 601656 Heynde, Thomas, of Doncastre, Yorks, goldsmith 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.591ms