Skip to content

Commit

Permalink
Add script to manually import annotations from analyst CSVs (#487)
Browse files Browse the repository at this point in the history
This adds a script that will read a CSV matching the format of our analysts’ current sheets and create annotations in the database for each row. Run it like:

    scripts/annotations_import <PATH_TO_CSV>

Add the `--is_important_changes` option if the sheet represents “important” changes. This mainly affects how the `significance` field is calculated.

This is a component of edgi-govdata-archiving/web-monitoring#141
  • Loading branch information
mrotondo authored and Mr0grog committed Nov 5, 2019
1 parent 2f5c3ce commit 9a4fd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ export ACCESS_CONTROL_ALLOW_ORIGIN_HEADER="*"

# Uncomment to enable logging. Set the level as any normal level.
# https://docs.python.org/3.6/library/logging.html#logging-levels
# LOG_LEVEL=INFO
# export LOG_LEVEL=INFO

0 comments on commit 9a4fd15

Please sign in to comment.