home / cp40x

names

6 rows where case_id = 2293414

✎ 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
4791427 2293414 2293414 plaintiff Lyncolne William     Lyncolne, William 0
4791428 2293414 2293414 defendant Bakere John yeoman 589159 589159 Bakere, John, of Codenham, yeoman 0
4791429 2293414 2293414 defendant Harveys William husbandman 589159 589159 Harveys, William, of Codenham, husbandman 1
4791430 2293414 2293414 defendant Pole Alan fuller 589159 589159 Pole, Alan, of Codenham, fuller 2
4791431 2293414 2293414 defendant Lenesson or Levesson William husbandman 631064 631064 Lenesson or Levesson, William, of Hemyngston, husbandman 3
4791432 2293414 2293414 defendant Muspet Richard yeoman 589159 589159 Muspet, Richard, of Codenham, yeoman 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.447ms