home / cp40x

names

8 rows where case_id = 2400604

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, occupation, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5148144 2400604 2400604 plaintiff Courtenay Philip knight   Courtenay, Philip, knight 0
5148145 2400604 2400604 defendant Waleys John esq 846142 846142 Waleys, John, of East Raddon, esq 0
5148146 2400604 2400604 defendant More William yeoman 846142 846142 More, William, of East Raddon, yeoman 1
5148147 2400604 2400604 defendant Tounesend John husbandman 586997 586997 Tounesend, John, of Thornerton, husbandman 2
5148148 2400604 2400604 defendant Brounston Thomas husbandman 586997 586997 Brounston, Thomas, of Thornerton, husbandman 3
5148149 2400604 2400604 defendant Drake John jun, of Thornerton, husbandman   Drake, John, jun, of Thornerton, husbandman 4
5148150 2400604 2400604 defendant Brounston John husbandman 586997 586997 Brounston, John, of Thornerton, husbandman 5
5148151 2400604 2400604 defendant Draker John, sen husbandman 586997 586997 Draker, John, sen, of Thornerton, husbandman 6

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