ftmq
Usage:
aggregate
In-memory aggregation of entities, allowing to merge entities with a common
parent schema (as opposed to standard ftm aggregate)
Usage:
apply-dataset
Uplevel an entity stream to nomenklatura entities and apply dataset(s) property
Usage:
catalog
Usage:
generate
Convert catalog YAML specification into json and fetch dataset metadata
Usage:
iterate
Usage:
dataset
Usage:
generate
Convert dataset YAML specification into json and optionally calculate statistics
Usage:
iterate
Usage:
fragments
Usage:
iterate
Iterate all entities from a fragments dataset
Usage:
iterate-fragments
Iterate all fragments from a dataset, unsorted and not aggregated. Useful for streaming into another storage that does dedupe by itself.
Usage:
list-datasets
List datasets within a fragments store
Usage:
q
Apply ftmq filter to a json stream of ftm entities.
Writes the matching entities - or, instead of them, their coverage
statistics (--stats) or the result of an aggregating query.
Usage:
search
Search stores for followthemoney entities
Usage:
autocomplete
Autocomplete based on entities captions
Usage:
index
Index a stream of search documents to a store
Usage:
search
Simple search against the store
Usage:
transform
Create search documents from a stream of followthemoney entities
Usage:
statements
Usage:
cast-types
Cast statement values into the canonical format of their property type
(number, date), moving the raw value into the original_value column.
This is the format the read side (in particular the SQL backends) assumes, as followthemoney doesn't normalize these types on write.
Usage:
read
Dump the raw statements of a store into a statement stream.
The rows come back as stored, external statements included and in no
particular order, so the dump loads back verbatim via ftmq statements
write. Only the SQL family of backends can do this.
Usage:
write
Load a statement stream into a store.
Each statement keeps the canonical_id it carries - it is never
re-derived from a resolver - so a stream stamped by nomenklatura
apply-statements stays resolved. A SQL store upserts on the statement id,
so loading a dump back into the store it came from updates it in place.
Usage:
store
Usage:
iterate
Iterate all entities from in to out
Usage:
list-datasets
List datasets within a store
Usage: