home / cp40x

names

6 rows where case_id = 2261593

✎ 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
4687169 2261593 2261593 plaintiff Stalworth Tristan     Stalworth, Tristan 0
4687170 2261593 2261593 defendant Pirler William   586067 586067 Pirler, William, of York, bow maker 0
4687171 2261593 2261593 defendant Albern Robert merchant 586067 586067 Albern, Robert, of York, merchant 1
4687172 2261593 2261593 defendant Normanton Roger   586067 586067 Normanton, Roger, of york, bow maker 2
4687173 2261593 2261593 defendant Rydesdale William chapman 784457 784457 Rydesdale, William, of Penreth, Cumbld, chapman 3
4687174 2261593 2261593 defendant Draycotes John tailor 592418 592418 Draycotes, John, of Tykhill, Yorks, tailor 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 12.478ms