Recording results¶
Flat files¶
Will record timestamped and namespaced files to the
ELEX_RECORDING_DIR
before parsing.
export ELEX_RECORDING=flat
export ELEX_RECORDING_DIR=/tmp
MongoDB¶
Will record a timestamped record to MongoDB, connecting via
ELEX_RECORDING_MONGO_URL
and writing to the
ELEX_RECORDING_MONGO_DB
database.
export ELEX_RECORDING=mongodb
export ELEX_RECORDING_MONGO_URL=mongodb://localhost:27017/ # Or your own connection string.
export ELEX_RECORDING_MONGO_DB=ap_elections_loader