home / cp40x

names

7 rows where case_id = 2017870

✎ View and edit SQL

This data as json, CSV (advanced)

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

id ▼ case_id role surname forename occupation place_id raw_segment seq
3980726 2017870 2017870 plaintiff Pollen John     Pollen, John 0
3980727 2017870 2017870 defendant Pyne Richard yeoman 586812 586812 Pyne, Richard, of St Lawrence, Isle of Thanet, yeoman 0
3980728 2017870 2017870 defendant Hylles Robert clerk 627364 627364 Hylles, Robert, of Crundall, clerk 1
3980729 2017870 2017870 defendant Moone Michael husbandman 588392 588392 Moone, Michael, of Elmested, husbandman 2
3980730 2017870 2017870 defendant Clement William yeoman 586799 586799 Clement, William, of Ewell, yeoman 3
3980731 2017870 2017870 defendant Cowper William laborer 666356 666356 Cowper, William, of Stodmershe, laborer 4
3980732 2017870 2017870 defendant Elsted William laborer 666356 666356 Elsted, William, of Stodmershe, laborer 5

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