home / cp40x

names

7 rows where case_id = 2285316

✎ 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
4765845 2285316 2285316 plaintiff Knottyngley of London mercer   Knottyngley, of London, mercer, administrator of 0
4765846 2285316 2285316 plaintiff Nyoll John Exeter diocese 589661 589661 Nyoll, John, of Modbury, Exeter diocese 1
4765847 2285316 2285316 defendant Breuhous William chapman 792311 792311 Breuhous, William, of Perteney, Lincs, chapman 0
4765848 2285316 2285316 defendant Lobton Kerton Devon, chapman   Lobton, Kerton, Devon, chapman 1
4765849 2285316 2285316 defendant Grene John chapman 607136 607136 Grene, John, of Kynges Clere, Hants, chapman 2
4765850 2285316 2285316 defendant Goionne William chapman 585978 585978 Goionne, William, of St Neots, Hunts, chapman 3
4765851 2285316 2285316 defendant Brynyng John   601657 601657 Brynyng, John, of Doncaster, Yorks, spice seller 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 11.917ms