home / cp40x

names

7 rows where place_id = 685008

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4060619 2046201 2046201 defendant Brawnthwayte Richard yeoman 685008 685008 Brawnthwayte, Richard, of Sedbargh, yeoman 0
4060620 2046201 2046201 defendant Wylkynson Robert yeoman 685008 685008 Wylkynson, Robert, of Sedbargh, yeoman 1
4060621 2046201 2046201 defendant Wilkynson Richard yeoman 685008 685008 Wilkynson, Richard, of Sedbargh, yeoman 2
4060623 2046201 2046201 defendant Robynson Edward yeoman 685008 685008 Robynson, Edward, of Sedbargh, yeoman 4
4551388 2216373 2216373 defendant Lupton Thomas   685008 685008 Lupton, Thomas, of Sedbargh 0
5043253 2369602 2369602 defendant Depedale Richard laborer 685008 685008 Depedale, Richard, of Sedbargh, laborer 0
5043254 2369602 2369602 defendant Depdale Alexander laborer 685008 685008 Depdale, Alexander, of Sedbargh, laborer 1

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 13.876ms