home / cp40x

names

6 rows where case_id = 2442033

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5289831 2442033 2442033 plaintiff More Philip     More, Philip 0
5289832 2442033 2442033 defendant Legge John husbandman 761899 761899 Legge, John, of Chauton, husbandman 0
5289833 2442033 2442033 defendant Sendale John yeoman 754815 754815 Sendale, John, of Oterbourn, yeoman 1
5289834 2442033 2442033 defendant Frankeleyn William yeoman 616182 616182 Frankeleyn, William, of Gretham, yeoman 2
5289835 2442033 2442033 defendant Brampden Thomas yeoman 588748 588748 Brampden, Thomas, of Hunton, yeoman 3
5289836 2442033 2442033 defendant Shalmer John husbandman 710822 710822 Shalmer, John, of Selbourne, 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 14.582ms