home / cp40x

names

6 rows where case_id = 2373810

✎ 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
5057489 2373810 2373810 plaintiff Colshull John knight   Colshull, John, knight 0
5057490 2373810 2373810 defendant Avery John gent 841251 841251 Avery, John, of Wolston juxta Leskyrd, gent 0
5057491 2373810 2373810 defendant Maunsell Walter yeoman 587287 587287 Maunsell, Walter, of Launceston, yeoman 1
5057492 2373810 2373810 defendant Mory John yeoman 587287 587287 Mory, John, of Launceston, yeoman 2
5057493 2373810 2373810 defendant Woo Stephen husbandman 590294 590294 Woo, Stephen, of Alternon, husbandman 3
5057494 2373810 2373810 defendant Moryshed Richard husbandman 598927 598927 Moryshed, Richard, of St Ives, husbandman 4

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.418ms