home / cp40x

names

6 rows where case_id = 2211886

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4537135 2211886 2211886 plaintiff Sudbury William draper 585869 585869 Sudbury, William, of London, draper 0
4537136 2211886 2211886 defendant Lyttelbury John   689060 689060 Lyttelbury, John, of Lincolnshire, knight 0
4537137 2211886 2211886 defendant Hathan Robert   599587 599587 Hathan, Robert, of East Depyng, Lincs, parson of the church of St Guthlac 1
4537138 2211886 2211886 defendant Toly John esq 606482 606482 Toly, John, of Norfolk, esq 2
4537139 2211886 2211886 defendant Faryngton Hugh de clerk   Faryngton, Hugh de, clerk 3
4537140 2211886 2211886 defendant Appulton John   596238 596238 Appulton, John, of Suffolk 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 16.282ms