home / cp40x

names

7 rows where case_id = 2345742

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4962666 2345742 2345742 plaintiff Bryan John vicar of Burton Annas, or of Kirkby in Londisdale   Bryan, John, vicar of Burton Annas, or of Kirkby in Londisdale 0
4962667 2345742 2345742 defendant Betonson Thomas husbandman 817068 817068 Betonson, Thomas, of Burton Annas, husbandman 0
4962668 2345742 2345742 defendant Clerke Peter husbandman 817068 817068 Clerke, Peter, of Burton Annas, husbandman 1
4962669 2345742 2345742 defendant Pereson Robert husbandman 817068 817068 Pereson, Robert, of Burton Annas, husbandman 2
4962670 2345742 2345742 defendant Canon Edmund husbandman 817068 817068 Canon, Edmund, of Burton Annas, husbandman 3
4962671 2345742 2345742 defendant Gudalhous John husbandman 817068 817068 Gudalhous, John, of Burton Annas, husbandman 4
4962672 2345742 2345742 defendant Gilson Thomas husbandman 817068 817068 Gilson, Thomas, of Burton Annas, 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 13.604ms