https://github.com/datamade/occrp-timeline-tool
Help reporters organize and analyze data about sequential events and related data
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.8%) to scientific vocabulary
Repository
Help reporters organize and analyze data about sequential events and related data
Basic Info
Statistics
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 4
- Releases: 0
Metadata Files
README.md
occrp-timeline-tool
The OCCRP Timeline Tool helps reporters capture, organize, and view sequences of events and how they relate to networks of organizations, people, and sources.
Get started
To get started, run the following commands in your shell:
```bash
Clone the repo
git clone git@github.com:datamade/occrp-timeline-tool.git cd occrp-timeline-tool ```
We recommend using virtualenv and virtualenvwrapper for working in a virtualized development environment. Learn about how to set up virtualenv.
Then, do the following in your bash profile:
bash
mkvirtualenv occrp
pip install -r requirements.txt
At this point, you successfully installed several packages onto your virtual environment. If you want to see what lives inside the "occrp" virtualenv, then simply type:
bash
pip freeze
And remember, whenever you want to use this virtual environment (and all its installed modules), run:
bash
workon occrp
Setup
We use DataMade's Flask App Template as a blueprint for the site framework.
Copy the app_config.py.example:
bash
cp app_config.py.example
app_config.py
Update these variables:
bash
DB_USER = ''
DB_PW = ''
DB_HOST = ''
DB_PORT = ''
DB_NAME = 'occrp'
The DBUSER and DBPW most likely will remain an empty string, for local development. Likewise, DBHOST might be "localhost," and DBPORT may be "5432."
Then, create your database, and run our custom script to generate tables:
bash
createdb occrp
python init_db.py
We use Alembic and SQLAlchemy to track migrations and to update the database.
You might make modifications to the model(s). If so, create a new migration:
bash
alembic revision --autogenerate -m "Add first_name first to Person model"
Then, run the migration:
bash
alembic upgrade head
Team
- Regina Compton
- Eric Van Zanten
Owner
- Name: datamade
- Login: datamade
- Kind: organization
- Email: info@datamade.us
- Location: Chicago, IL
- Website: http://datamade.us
- Twitter: datamadeco
- Repositories: 123
- Profile: https://github.com/datamade
We build open source technology using open data to empower journalists, researchers, governments and advocacy organizations.
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 22
- Total pull requests: 24
- Average time to close issues: about 1 month
- Average time to close pull requests: 7 days
- Total issue authors: 2
- Total pull request authors: 3
- Average comments per issue: 0.45
- Average comments per pull request: 0.92
- Merged pull requests: 18
- Bot issues: 0
- Bot pull requests: 2
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- reginafcompton (13)
- evz (1)
Pull Request Authors
- reginafcompton (10)
- evz (4)
- dependabot[bot] (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- Flask ==0.12.2
- alembic ==0.9.2
- coveralls *
- datetime-distance ==0.1.3
- flask_sqlalchemy ==2.2
- flask_wtf ==0.14.2
- gunicorn ==19.6.0
- psycopg2 ==2.7.1
- pytest ==3.0.5
- pytest-cov *
- pytest-flask ==0.10.0
- pytest-postgresql ==1.1.1
- pytz ==2017.2