home / cp40x

names

5 rows where case_id = 2366629

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5033332 2366629 2366629 plaintiff Slory Thomas gent 837552 837552 Slory, Thomas, of Colwyk Noers, Notts, gent 0
5033333 2366629 2366629 defendant Darley John   593955 593955 Darley, John, of London, bladesmith 0
5033334 2366629 2366629 defendant Powe John yeoman 585869 585869 Powe, John, of London, yeoman 1
5033335 2366629 2366629 defendant Cokke William brewer 585869 585869 Cokke, William, of London, brewer 2
5033336 2366629 2366629 defendant Bown or Bowen Thomas gent or auditor 585869 585869 Bown or Bowen, Thomas, of London, gent or auditor 3

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.225ms