home / cp40x

names

7 rows where case_id = 2339962

✎ 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
4943585 2339962 2339962 plaintiff Gorges Theobald knight   Gorges, Theobald, knight 0
4943586 2339962 2339962 defendant Long John husbandman 817627 817627 Long, John, of Puxton, husbandman 0
4943587 2339962 2339962 defendant Andrewe Thomas husbandman 817627 817627 Andrewe, Thomas, of Puxton, husbandman 1
4943588 2339962 2339962 defendant Clerke John husbandman 642365 642365 Clerke, John, of Congesbury, husbandman 2
4943589 2339962 2339962 defendant More John clerk 588754 588754 More, John, of Predy, clerk 3
4943590 2339962 2339962 defendant Hancok John husbandman 695181 695181 Hancok, John, of South Cheriton, husbandman 4
4943591 2339962 2339962 defendant Stevyns William husbandman 825490 825490 Stevyns, William, of North Cheriton, 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.823ms