home / cp40x

names

7 rows where case_id = 2505508

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5501859 2505508 2505508 plaintiff Storke John grocer 585869 585869 Storke, John, of London, grocer 0
5501860 2505508 2505508 defendant Banke Peter chapman 599335 599335 Banke, Peter, of Ledys, Yorks, chapman 0
5501861 2505508 2505508 defendant Alberde Thomas   585936 585936 Alberde, Thomas, of Norwich, apothecary 1
5501862 2505508 2505508 defendant Jopson Hugh clothier 593778 593778 Jopson, Hugh, of Ledys, clothier 2
5501863 2505508 2505508 defendant Webbe John tailor 588643 588643 Webbe, John, of Walden, Essex, tailor 3
5501864 2505508 2505508 defendant Brune John (legal representative)   Brune, John, executors of 4
5501865 2505508 2505508 defendant Salle John yeoman 685285 685285 (Salle, John, of Tavestoke, Devon, 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 14.696ms