Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rake task for importing annotations #233

Merged
merged 2 commits into from
Feb 28, 2018
Merged

Commits on Feb 23, 2018

  1. Add rake task for importing annotations

    Use the import_annotations_from_sheet to import all the annotations an analyst has created in a given Google Sheet. This can be used to solve #61.
    
    Arguments are:
    1. Google sheet ID, e.g. 1-Rq-AclS2GI_yxLmkYVY7FvTfN21KoJtxXtOXXXXXX
    2. E-mail of user to attribute the annotation to
    3. (optional) Name of spreadsheet tabs to import (comma-separated). If unset, all tabs will be imported.
    4. (optional) Row to start at (defaults to 7)
    5. (optional) Row to end at. If unset, reads all rows.
    
    When done, it'll output summary information of how many rows were added, skipped, or errored across how many tabs.
    Mr0grog committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    5810b3f View commit details
    Browse the repository at this point in the history
  2. Obey Rubocop

    Mr0grog committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    3de03ad View commit details
    Browse the repository at this point in the history