home / cp40x

names

6 rows where case_id = 2022026

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3992334 2022026 2022026 plaintiff Burrell Edmund grocer 585869 585869 Burrell, Edmund, of London, grocer 0
3992335 2022026 2022026 defendant Havens Robert merchant 599345 599345 Havens, Robert, of Stratford, Suff, merchant 0
3992336 2022026 2022026 defendant Garthe Ralph scrivener 634301 634301 Garthe, Ralph, of Bewers, Suff, gent, or of London, scrivener 1
3992337 2022026 2022026 defendant Sudbery Nicholas yeoman 595527 595527 Sudbery, Nicholas, of Rayle, Essex, yeoman 2
3992338 2022026 2022026 defendant Andrewe or Andrewe Thomas yeoman 635892 635892 Andrewe or Andrewe, Thomas, of Rayle, yeoman 3
3992339 2022026 2022026 defendant Kynge Alexander yeoman 669241 669241 Kynge, Alexander, of Moche Baddowe, Essex, yeoman 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 6.671ms