home / cp40x

names

6 rows where case_id = 2316013

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4864950 2316013 2316013 plaintiff Fuller William     Fuller, William 0
4864951 2316013 2316013 defendant Banham John chapman 588300 588300 Banham, John, of Dunstaple, chapman 0
4864952 2316013 2316013 defendant Proude John quarrier 738223 738223 Proude, John, of Toternho, quarrier 1
4864953 2316013 2316013 defendant Syere William baker 588300 588300 Syere, William, of Dunstaple, baker 2
4864954 2316013 2316013 defendant Bony or Bouy William   588300 588300 Bony or Bouy, William, of Dunstaple, fell buer 3
4864955 2316013 2316013 defendant Hutte William husbandman 600260 600260 Hutte, William, of Eyton, 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.405ms