home / cp40x

names

7 rows where case_id = 2312430

✎ 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
4853235 2312430 2312430 plaintiff Willesthorp William esq   Willesthorp, William, esq 0
4853236 2312430 2312430 defendant Trussebote John husbandman 774211 774211 Trussebote, John, of Acclom, husbandman 0
4853237 2312430 2312430 defendant Clauxton John husbandman 812966 812966 Clauxton, John, of Clauxton, husbandman 1
4853238 2312430 2312430 defendant Skepper John husbandman 638136 638136 Skepper, John, of Harton, husbandman 2
4853239 2312430 2312430 defendant Clerk Ralph husbandman 812965 812965 Clerk, Ralph, of Barnby by Bossall, husbandman 3
4853240 2312430 2312430 defendant Wright William husbandman 638136 638136 Wright, William, of Harton, husbandman 4
4853241 2312430 2312430 defendant Clerk William husbandman 614481 614481 Clerk, William, of Bossall, 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 6.787ms