home / cp40x

names

8 rows where case_id = 2555034

✎ 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
5635388 2555034 2555034 plaintiff Wegge John     Wegge, John 0
5635389 2555034 2555034 defendant Mason Thomas yeoman 694584 694584 Mason, Thomas, of Gateshed, Durham, yeoman 0
5635390 2555034 2555034 defendant Boure Thomas yeoman 717273 717273 Boure, Thomas, of Stayndrope, Durham, yeoman 1
5635391 2555034 2555034 defendant Hanson Peter smith 586067 586067 Hanson, Peter, of York, smith 2
5635392 2555034 2555034 defendant Bristowe or Briscowe Hugh yeoman 604337 604337 Bristowe or Briscowe, Hugh, of Durham, yeoman 3
5635393 2555034 2555034 defendant Misterton Elias of York yeoman   Misterton, Elias of York, yeoman 4
5635394 2555034 2555034 defendant Jacson William mercer 650062 650062 Jacson, William, of Chapell in le Frith, Derbs, Derbs, mercer 5
5635395 2555034 2555034 defendant de Bouland John mercer 651277 651277 de Bouland, John, of Chapell in le Frith, mercer 6

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