home / cp40x

names

6 rows where case_id = 1874506

✎ 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
3622289 1874506 1874506 plaintiff Poney or Povey Walter tailor 585869 585869 Poney or Povey, Walter, of London, tailor 0
3622290 1874506 1874506 defendant Cheven or Chenen Thomas gent 591452 591452 Cheven or Chenen, Thomas, of Brentwode, Essex, gent 0
3622291 1874506 1874506 defendant Wybbe William parson of Leybourn, Kent   Wybbe, William, parson of Leybourn, Kent 1
3622292 1874506 1874506 defendant Jakson William draper 593911 593911 Jakson, William, of Penreth, Cumber, draper 2
3622293 1874506 1874506 defendant Yorke John alderman 586067 586067 Yorke, John, of York, gent, son of York, Richard, of York, alderman 3
3622294 1874506 1874506 defendant Cokkys William cordwainer 585869 585869 Cokkys, William, of London, cordwainer 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 7.885ms