Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
ae2f24e
test files added
Abuton Jul 5, 2021
aaa1ce3
Merge branch 'main' of https://github.com/10xac/Twitter-Data-Analysis
Abuton Jul 5, 2021
6cc3961
fix file added
Abuton Jul 5, 2021
5bde8af
fixed clean tweet file
Abuton Jul 5, 2021
7b31f1e
Merge pull request #114 from 10xac/unittest
Abuton Jul 5, 2021
9c3af04
added additional test module
Abuton Sep 2, 2021
1d02cf7
Update Readme
10acad Apr 23, 2022
0385e2b
Update requirements
10acad Apr 23, 2022
74452d5
Data set on economy (KE, NG, SA)
jbkwizera Apr 24, 2022
8660625
Merge pull request #120 from jbkwizera/main
yabebalFantaye Apr 24, 2022
7e1c762
Removed covid19 data and added economic data
Kiiru-Anastasia Apr 24, 2022
8af7d38
Delete extract_dataframe.py
jbkwizera Apr 25, 2022
4b26126
Delete clean_tweets_dataframe.py
jbkwizera Apr 25, 2022
d874a2f
Fixed files removed
jbkwizera Apr 26, 2022
524bc20
Merge branch '10xac:main' into main
bwibokhaabi Apr 28, 2022
ec17a85
Create main.yml
bwibokhaabi Apr 28, 2022
f471da9
Merge pull request #1 from bwibokhaabi/bwibokhaabi-github-actions
bwibokhaabi Apr 28, 2022
6ca3363
cleaned_tweets
May 1, 2022
12c8723
changes on extract
May 1, 2022
5c9778e
tests
May 1, 2022
b3c9497
final changes
May 1, 2022
6c089dd
notebook
May 1, 2022
a674699
notebook
May 1, 2022
94eca0f
edits 2
May 2, 2022
807eb3e
edits 2
May 2, 2022
d09931a
notebook
May 2, 2022
8487568
edits on clean_data
May 2, 2022
3423f7e
clean_data
May 2, 2022
89fcc9d
notebook2
May 2, 2022
79f54f9
checkpoint
May 2, 2022
26e4e30
final changes
May 3, 2022
0a67122
initial notebook
May 3, 2022
b4b97a5
touchups
May 4, 2022
4a7f925
reviewed changes
bwibokhaabi Sep 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is a basic workflow to help you get started with Actions

name: run_tests

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main ]


# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: windows

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
name: Checkout repo
uses: actions/checkout@v3
# Runs a single command using the runners shell
name: Set Up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
# Display the Python version being use
name: Display Python version
run: python -c "import sys; print(sys.version)"
# Install the package using the setup.py
name: Run tests
run: python -m unittest tests/test_extract_dataframe.py











8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
__pycache__/
__pycache__/
requirements.txt
Economic_Twitter_Data.json
Economic_Twitter_Data.zip
merged-ke-ng-sa.json
merged-ke-ng-sa.zip
env/
357 changes: 357 additions & 0 deletions .ipynb_checkpoints/twitter_data_analysis-checkpoint.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ cache:
# Command to run tests, e.g. python setup.py test
script:
- python -m unittest tests.test_extract_dataframe
- python -m unittest tests.test_clean_tweets_dataframe
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
6. Create a new branch called `make_unittest` for creating a new unit test for extract_dataframe.py code.
7. After completing the unit test writing, merge “make_unittest” to main branch
8. In all cases when you merge, make sure you first do Pull Request, review, then accept the merge.
9. Setup Travis CI to your repository such that when you git push new code (or merge a branch) to the main branch, the unit test in tests/*.py runs automatically. 10. All tests should pass.
9. Setup Github Actions CI to your repository such that when you git push new code (or merge a branch) to the main branch, the unit test in tests/*.py runs automatically. 10. All tests should pass.

After Completing this Challenge, you would have explore

Expand Down
Binary file added data/Economic_Twitter_Data.zip
Binary file not shown.
30,280 changes: 30,280 additions & 0 deletions data/Processed_train.csv

Large diffs are not rendered by default.

6,532 changes: 0 additions & 6,532 deletions data/covid19.json

This file was deleted.

Binary file added data/merged-ke-ng-sa.zip
Binary file not shown.
46,722 changes: 46,722 additions & 0 deletions data/processed_tweet_data.csv

Large diffs are not rendered by default.

58 changes: 0 additions & 58 deletions fix_clean_tweets_dataframe.py

This file was deleted.

138 changes: 0 additions & 138 deletions fix_extract_dataframe.py

This file was deleted.

Loading