home / cp40x

names

5 rows where case_id = 2276920

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4737774 2276920 2276920 plaintiff Warcop Thomas   793832 793832 Warcop, Thomas, of Lambersete 0
4737775 2276920 2276920 defendant Syll Thomas yeoman 784995 784995 Syll, Thomas, of Hoton in Kendale, yeoman 0
4737776 2276920 2276920 defendant Redemane Thomas de yeoman 753729 753729 Redemane, Thomas de, of Kirkeby in Kendale, yeoman 1
4737777 2276920 2276920 defendant Rodemane Ralph de yeoman 755684 755684 Rodemane, Ralph de, of Kirkeby in Lonesdale, yeoman 2
4737778 2276920 2276920 defendant Jonson Richard yeoman 793833 793833 Jonson, Richard, of Kynges Meburn, yeoman 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 13.258ms