home / cp40x

names

8 rows where case_id = 2201653

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: role, surname, forename, place_id, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4503457 2201653 2201653 plaintiff Percehay Robert knight   Percehay, Robert, knight 0
4503458 2201653 2201653 defendant Boweman William   764148 764148 Boweman, William, of Neweton by Pykeryng 0
4503459 2201653 2201653 defendant Wyresdale William   585995 585995 Wyresdale, William, of Neweton 1
4503460 2201653 2201653 defendant Boweman John   585995 585995 Boweman, John, of Neweton 2
4503461 2201653 2201653 defendant Lyverton Thomas   585995 585995 Lyverton, Thomas, of Neweton 3
4503462 2201653 2201653 defendant Sawyer John   585995 585995 Sawyer, John, of Neweton 4
4503463 2201653 2201653 defendant Pyndere Thomas   585995 585995 Pyndere, Thomas, of Neweton 5
4503464 2201653 2201653 defendant Poydell John   585995 585995 Poydell, John, of Neweton 6

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