home / cp40x

names

7 rows where case_id = 2321809

✎ 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
4883676 2321809 2321809 plaintiff Hampden John esq   Hampden, John, esq 0
4883677 2321809 2321809 defendant Burgh William chandler 586079 586079 Burgh, William, of Bedford, chandler 0
4883678 2321809 2321809 defendant atte Lane Thomas butcher 741967 741967 atte Lane, Thomas, of Colmorthe, butcher 1
4883679 2321809 2321809 defendant Brewester William husbandman 817029 817029 Brewester, William, of Bekylyswade, husbandman 2
4883680 2321809 2321809 defendant Hermer William husbandman 817030 817030 Hermer, William, of Wroxhull, Merston, husbandman 3
4883681 2321809 2321809 defendant Glover Robert glover 586079 586079 Glover, Robert, of Bedford, glover 4
4883682 2321809 2321809 defendant Whitbroune John husbandman 601621 601621 Whitbroune, John, of Cramfeld, husbandman 5

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 21.26ms