home / cp40x

names

6 rows where case_id = 1917254

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3672030 1917254 1917254 plaintiff Cotton William clerk   Cotton, William, clerk 0
3672031 1917254 1917254 defendant Burwell William mercer 585869 585869 Burwell, William, of London, mercer 0
3672032 1917254 1917254 defendant Gegge Robert scrivener 585869 585869 Gegge, Robert, of London, scrivener 1
3672033 1917254 1917254 defendant (not given) Robert churchwardens of Pakyngton 585869 585869 Pakyngton, Robert, of London, mercer, churchwardens of London St Pancras 2
3672034 1917254 1917254 defendant Smart Robert abbot of Wimore Abbey   Smart, Robert, abbot of Wimore Abbey 3
3672035 1917254 1917254 defendant Hyde Nicholas chapman 587775 587775 Hyde, Nicholas, of Redyng, Berks, chapman 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 15.532ms