home / cp40x

names

9 rows where case_id = 2313733

✎ 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
4857493 2313733 2313733 plaintiff Bollyng Robert     Bollyng, Robert 0
4857494 2313733 2313733 defendant Brytby Richard husbandman 653451 653451 Brytby, Richard, of Byrell, husbandman 0
4857495 2313733 2313733 defendant Walker John husbandman 653451 653451 Walker, John, of Byrell, husbandman 1
4857496 2313733 2313733 defendant Walker Thomas husbandman 653451 653451 Walker, Thomas, of Byrell, husbandman 2
4857497 2313733 2313733 defendant Leper John husbandman 653451 653451 Leper, John, of Byrell, husbandman 3
4857498 2313733 2313733 defendant Watson Thomas husbandman 653451 653451 Watson, Thomas, of Byrell, husbandman 4
4857499 2313733 2313733 defendant Toftshagh Richard weaver 586349 586349 Toftshagh Richard, of Bradford, weaver 5
4857500 2313733 2313733 defendant Tomlynson William yeoman 586349 586349 Tomlynson, William, of Bradford, yeoman 6
4857501 2313733 2313733 defendant Thorneton Thomas yeoman 586349 586349 Thorneton, Thomas, of Bradford, yeoman 7

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