home / cp40x

names

6 rows where place_id = 811777

✎ 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
4846048 2310268 2310268 defendant Herreson William husbandman 811777 811777 Herreson, William, of Wheldryk, husbandman 0
4846049 2310268 2310268 defendant Herreson John husbandman 811777 811777 Herreson, John, of Wheldryk, husbandman 1
4847959 2310839 2310839 defendant Heryson John husbandman 811777 811777 Heryson, John, of Wheldryk, husbandman 0
5526399 2512831 2512831 defendant Haxby William yeoman 811777 811777 Haxby, William, of Wheldryk, yeoman 0
5628360 2552830 2552830 defendant Batman John husbandman 811777 811777 Batman, John, of Wheldryk, husbandman 0
5628361 2552830 2552830 defendant Welton Thomas husbandman 811777 811777 Welton, Thomas, of Wheldryk, husbandman 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 16.494ms