home / cp40x

names

7 rows where place_id = 847954

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, surname, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
5113845 2390438 2390438 defendant Mershall Robert yeoman 847954 847954 Mershall, Robert, of Plesley, yeoman 1
5113846 2390438 2390438 defendant Shirbrooke John husbandman 847954 847954 Shirbrooke, John, of Plesley, husbandman 2
5113847 2390438 2390438 defendant Shirbrook John yeoman 847954 847954 Shirbrook, John, of Plesley, yeoman 3
5113848 2390438 2390438 defendant Warde John husbandman or yeoman 847954 847954 Warde, John,of Plesley, husbandman or yeoman 4
5237165 2426454 2426454 defendant Warde John   847954 847954 Warde, John, of Plesley, cartwright 2
5247129 2429317 2429317 defendant Warde William   847954 847954 Warde, William, of Plesley, cartwright 0
5264555 2434666 2434666 defendant Marshall Robert husbandman 847954 847954 Marshall, Robert, of Plesley, husbandman 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 18.828ms