home / cp40x

names

8 rows where place_id = 774602

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: case_id, forename, occupation, seq

id ▼ case_id role surname forename occupation place_id raw_segment seq
4614064 2235413 2235413 defendant Cook Thomas   774602 774602 Cook, Thomas, of Bishop's Lydyard 3
4670336 2256425 2256425 defendant Smert John, junior husbandman 774602 774602 Smert, John, junior, of Bishop's Lydyard, husbandman 1
4670423 2256436 2256436 defendant Shete John husbandman 774602 774602 Shete, John, of Bishop's Lydyard, husbandman 0
4670424 2256436 2256436 defendant atte Brigge Robert husbandman 774602 774602 atte Brigge, Robert, of Bishop's Lydyard, husbandman 1
4670427 2256436 2256436 defendant Dale William   774602 774602 Dale, William, of Bishop's Lydyard, mason 4
4695619 2264111 2264111 defendant Cokkes John husbandman 774602 774602 Cokkes, John, of Bishop's Lydyard, husbandman 2
4702643 2266233 2266233 defendant atte Fenne John husbandman 774602 774602 atte Fenne, John, of Bishop's Lydyard, husbandman 0
4712395 2269192 2269192 defendant Bole John smith 774602 774602 Bole, John, of Bishop's Lydyard, smith 0

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