home / cp40x

names

8 rows where case_id = 2436143

✎ 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
5269388 2436143 2436143 plaintiff Cappis Robert esq   Cappis, Robert, esq 0
5269389 2436143 2436143 defendant Sprynghole Thomas yeoman 866458 866458 Sprynghole, Thomas, of Mersshfelde, Gloucs, yeoman 0
5269390 2436143 2436143 defendant Mody William smith 866459 866459 Mody, William, of Mersshefelde, smith 1
5269391 2436143 2436143 defendant Irysshe Richard laborer 661780 661780 Irysshe, Richard, of Castlecombe, Wilts, laborer 2
5269392 2436143 2436143 defendant Tayllour William tailor 736616 736616 Tayllour, William, of Castlecombe, tailor 3
5269393 2436143 2436143 defendant Lillyngeston Richard weaver 736616 736616 Lillyngeston, Richard, of Castlecombe, weaver 4
5269394 2436143 2436143 defendant Walflete Robert weaver 736616 736616 Walflete, Robert, of Castlecombe, weaver 5
5269395 2436143 2436143 defendant Cary William or Walter yeoman 587346 587346 Cary, William or Walter, of Malmesbury, Wilts, yeoman 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 16.718ms