home / cp40x

names

8 rows where case_id = 2500121

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5483873 2500121 2500121 plaintiff Lyghtfote William (legal representative) 593647 593647 Lyghtfote, William, of Stebbyng, executors of 0
5483874 2500121 2500121 plaintiff Lyghtfote Richard     (Lyghtfote, Richard 1
5483875 2500121 2500121 plaintiff Lyghtfote Henry     Lyghtfote, Henry 2
5483876 2500121 2500121 defendant Wayte William yeoman 586312 586312 Wayte, William, of Walden, yeoman 0
5483877 2500121 2500121 defendant Garold William fuller 602700 602700 Garold, William, of Rokkeswell, fuller 1
5483878 2500121 2500121 defendant Pre John husbandman 619345 619345 Pre, John, of Typtre, husbandman 2
5483879 2500121 2500121 defendant Pre John husbandman 828402 828402 Pre, John, of Harfordstok, husbandman 3
5483880 2500121 2500121 defendant Coldam William husbandman 595826 595826 Coldam, William, of Radwynter, husbandman 4

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