home / cp40x

names

7 rows where case_id = 2495357

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
5467943 2495357 2495357 plaintiff Bykcombe William     Bykcombe, William 0
5467944 2495357 2495357 plaintiff Bykcombe Eleanor     Eleanor, his wife 1
5467945 2495357 2495357 defendant Helyar Thomas yeoman 890651 890651 Helyar, Thomas, of Bishop's Taweton, yeoman 0
5467946 2495357 2495357 defendant Lateman John husbandman 898884 898884 Lateman, John, of Taweton Bishop, husbandman 1
5467947 2495357 2495357 defendant Mere John husbandman 898884 898884 Mere, John, of Taweton Bishop, husbandman 2
5467948 2495357 2495357 defendant Passemere John husbandman 593234 593234 Passemere, John, of Bratton, husbandman 3
5467949 2495357 2495357 defendant Dwele Hugh shoemaker 621678 621678 Dwele, Hugh, of Lankey, shoemaker 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 19.622ms