home / cp40x

names

6 rows where case_id = 2384939

✎ 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
5094969 2384939 2384939 plaintiff Scauseby Thomas mercer 586067 586067 Scauseby, Thomas, of York, mercer 0
5094970 2384939 2384939 defendant Ronkan or Roukan Alexander chapman 826526 826526 Ronkan or Roukan, Alexander, of Kyrkeby Stephan, Westmor, chapman 0
5094971 2384939 2384939 defendant Scotte John yeoman or draper 592186 592186 Scotte, John, of North Allerton, or of Sutton Ograve, yeoman or draper 1
5094972 2384939 2384939 defendant Browen Henry baker 585932 585932 Browen, Henry, of Kingston on Hull, baker 2
5094973 2384939 2384939 defendant Gyrsmyre alias Mercer Thomas chapman 589816 589816 Gyrsmyre alias Mercer, Thomas, of Kyrkeby Kendale, Westmor, or of Kirkeby Moreside, Yorks, chapman 3
5094974 2384939 2384939 defendant Kynge John chapman 845724 845724 Kynge, John, of Dalton in Fournesse, Lancs, chapman 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 13.366ms