home / cp40x

names

5 rows where case_id = 2429284

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5246991 2429284 2429284 plaintiff Skypwyth William knight   Skypwyth, William, knight 0
5246992 2429284 2429284 defendant Warter Thomas yeoman 863809 863809 Warter, Thomas, of Melton Ross, yeoman 0
5246993 2429284 2429284 defendant Lovell Thomas yeoman 624094 624094 Lovell, Thomas, of Wassyngburgh, yeoman 1
5246994 2429284 2429284 defendant Bardeney William husbandman 587207 587207 Bardeney, William, of Carleton Scrope, husbandman 2
5246995 2429284 2429284 defendant Kyng Roger husbandman 591013 591013 Kyng, Roger, of Staynton, husbandman 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 9.182ms