home / cp40x

names

8 rows where case_id = 1940782

✎ 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
3746365 1940782 1940782 plaintiff Cokesey John     Cokesey, John 0
3746366 1940782 1940782 defendant Grenehyll John husbandman 622327 622327 Grenehyll, John, of Pynben, husbandman 0
3746367 1940782 1940782 defendant Mylward John husbandman 620937 620937 Mylward, John, of Pypleton, husbandman 1
3746368 1940782 1940782 defendant Lircok Thomas yeoman 608020 608020 Lircok, Thomas, of Clent, Staffs, yeoman 2
3746369 1940782 1940782 defendant Lyrcok John weaver 607999 607999 Lyrcok, John, of Kemsey, weaver 3
3746370 1940782 1940782 defendant Payne Robert tailor 620937 620937 Payne, Robert, of Pypleton, tailor 4
3746371 1940782 1940782 defendant Butler William tailor 597261 597261 Butler, William, of Byrlyngham, tailor 5
3746372 1940782 1940782 defendant Hare Roger husbandman 622328 622328 Hare, Roger, of Muckuyll, 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 12.869ms