home / cp40x

names

6 rows where case_id = 2379402

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5076259 2379402 2379402 plaintiff Baker William     Baker, William 0
5076260 2379402 2379402 defendant Elys Robert husbandman 751078 751078 Elys, Robert, of Gonalston, husbandman 0
5076261 2379402 2379402 defendant Gausell or Gansell Robert glover 587948 587948 Gausell or Gansell, Robert, of Newerk, glover 1
5076262 2379402 2379402 defendant Wychenell William husbandman 592748 592748 Wychenell, William, of Bulcote, husbandman 2
5076263 2379402 2379402 defendant Gryce John butcher 622686 622686 Gryce, John, of Shelforth, butcher 3
5076264 2379402 2379402 defendant Elys Peter husbandman 843526 843526 Elys, Peter, of Gorton, 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 15.337ms