home / cp40x

names

7 rows where case_id = 1869805

✎ 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
3606827 1869805 1869805 plaintiff Pellam John mercer   Pellam, John, mercer 0
3606828 1869805 1869805 defendant Pye Robert husbandman 592172 592172 Pye, Robert, of Folborn, Cams, husbandman 0
3606829 1869805 1869805 defendant Bower William husbandman 592173 592173 Bower, William, of Folborn, husbandman 1
3606830 1869805 1869805 defendant Rasur William laborer 592174 592174 Rasur, William, of Chepyng Walden, Essex, laborer 2
3606831 1869805 1869805 defendant Rasur Joan konswoman of Carland, William, of London, ironmonger   Joan his wife, konswoman of Carland, William, of London, ironmonger 3
3606832 1869805 1869805 defendant Hunt John   592175 592175 Hunt, John, of Wittesford, Cams, millwright 4
3606833 1869805 1869805 defendant Metcalf John weaver 592176 592176 Metcalf, John, of Lynton, Cams, weaver 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 13.851ms