home / cp40x

names

6 rows where case_id = 2442065

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5289946 2442065 2442065 plaintiff Mote Walter     Mote, Walter 0
5289947 2442065 2442065 defendant Kyng Lawrence husbandman 591949 591949 Kyng, Lawrence, of Thorp, husbandman 0
5289948 2442065 2442065 defendant Aslak Thomas gent 603228 603228 Aslak, Thomas, of Sprouston, gent 1
5289949 2442065 2442065 defendant Lews Thomas husbandman 603228 603228 Lews, Thomas, of Sprouston, husbandman 2
5289950 2442065 2442065 defendant Brende Thomas thatcher 587182 587182 Brende, Thomas, of Blakeney, thatcher 3
5289951 2442065 2442065 defendant Chapman William husbandman 587210 587210 Chapman, William, of Merston, 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 14.825ms