Skip to content

Hacking Educational Planning - IIPE-UNESCO x Latitudes : follow up work

Notifications You must be signed in to change notification settings

alexisgourdol/IIPE-hackathon

Repository files navigation

Data analysis :

The approach

  1. Scrape the PDF reports
  2. Extract text from PDF
  3. Use LDA to extract topics
  4. Vizualize on a map

Startup the project

The initial setup.

Clone repo

mkdir ~/code/alexisgourdol
cd ~/code/alexisgourdol
git clone [email protected]:alexisgourdol/IIPE-hackathon.git

Create virtualenv and install the project

Using pyenv https://github.com/pyenv/pyenv#homebrew-on-macos

If you're on Windows, consider using @kirankotari's pyenv-win fork. (pyenv does not work on windows outside the Windows Subsystem for Linux)

pyenv virtualenv IIPE # create a new virtualenv for our project
pyenv virtualenvs           # list all virtualenvs
pyenv activate IIPE   # enable our new virtualenv
pip install --upgrade pip   # install and upgrade pip
pip list                    # list all installed packages

Install requirements.txt :

pip install -r https://raw.githubusercontent.com/alexisgourdol/IIPE-hackathon/master/requirements.txt
pip list

Process / Best practices

  1. Make sure your git status is clean git status

  2. Get latest master

git checkout master

git pull origin master

  1. 1 task = 1 branch

git checkout -b my-task

Work on the existing files, or create new ones

git add .

git commit -m "This is an informative message about my-task"

git push origin my-task

  1. Create a pull request

Use the website

Click on compare & pull request

  1. Someone else Reviews and Approves the pull request

  2. Remove unused branches locally

git sweep

About

Hacking Educational Planning - IIPE-UNESCO x Latitudes : follow up work

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •