home / cp40x

names

9 rows where case_id = 2032546

✎ 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
4021851 2032546 2032546 plaintiff Alford John attorney of the bench   Alford, John, attorney of the bench 0
4021852 2032546 2032546 defendant Knapman William yeoman 599269 599269 Knapman, William, of Throwlegh, yeoman 0
4021853 2032546 2032546 defendant Locke John husbandman 630585 630585 Locke, John, of Uploman, husbandman 1
4021854 2032546 2032546 defendant Churley John husbandman 630585 630585 Churley, John, of Uploman, husbandman 2
4021855 2032546 2032546 defendant Chamberleyne John husbandman 630585 630585 Chamberleyne, John, of Uploman, husbandman 3
4021856 2032546 2032546 defendant Kerswell John husbandman 630585 630585 Kerswell, John, of Uploman, husbandman 4
4021857 2032546 2032546 defendant Knapman George yeoman 676196 676196 Knapman, George, of Throwleigh, yeoman 5
4021858 2032546 2032546 defendant Knapman James yeoman 609401 609401 Knapman, James, of Throwley, yeoman 6
4021859 2032546 2032546 defendant Haywood Robert husbandman 614300 614300 Haywood, Robert, of North Tawton, husbandman 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 11.012ms