home / cp40x

names

6 rows where case_id = 2288918

✎ 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
4777377 2288918 2288918 plaintiff Avenell John, junior     Avenell, John, junior 0
4777378 2288918 2288918 defendant Loddenen or Loddeven Alexander husbandman 779673 779673 Loddenen or Loddeven, Alexander, of Churchehull, husbandman 0
4777379 2288918 2288918 defendant Sturbyen Thomas husbandman 586555 586555 Sturbyen, Thomas, of Lye, husbandman 1
4777380 2288918 2288918 defendant Knyght Thomas husbandman 801047 801047 Knyght, Thomas, of Nytherclyf, husbandman 2
4777381 2288918 2288918 defendant Veysy John husbandman 801048 801048 Veysy, John, of Pleynesfeld, husbandman 3
4777382 2288918 2288918 defendant Whitlegh Walter husbandman 801049 801049 Whitlegh, Walter, of Whitlegh, husbandman 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.704ms