home / cp40x

names

6 rows where place_id = 590169

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: surname, forename, raw_segment, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
3600137 1867694 1867694 defendant Norys William   590169 590169 Norys, William, of Yatynden, Berks, knight 0
3600139 1867695 1867695 defendant Norys William   590169 590169 Norys, William, of Yatynden, Berks, knight 0
3745086 1940370 1940370 defendant Norreys John esq 590169 590169 Norreys, John, of Yatynden, Berks, esq 0
5339992 2457079 2457079 defendant Clerk Philip smith 590169 590169 Clerk, Philip, of Yatynden, Berks, smith 2
5522967 2512011 2512011 defendant Norres William   590169 590169 Norres, William, of Yatynden, Berks, knight 0
5522969 2512012 2512012 defendant Norres William   590169 590169 Norres, William, of Yatynden, Berks, knight 0

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.132ms