Giter Site home page Giter Site logo

nihonken's Introduction

県の日本 Personalized travel history by Japanese Prefecture

Python and Tableau project to display travel history while living in Japan (2022 - present).

Data Source: Japan - Subnational Administrative Boundaries - The Humanitarian Data Exchange, OCHA Regional Office for Asia and the Pacific (ROAP)

This project includes data (description). The project does the following: scrapes the web to pull in data table of Japanese prefectures; modifies and drops columns from the scraped data; uses a (something) to assign values to a new column (visit history); exports the final table to .csv for ease of import into Tableau.

After the data is scraped, cleaned and exported, the dataset is imported into Tableau Public. The final project is available here.

Start-up instructions

Before starting, you need to download/install the following extensions in VS Code for Jupyter Notebook:

Juypter Notebook

Clone the repo to your computer.

Package requirements are listed in the requirements.txt file. Install the libraries in the requirements.txt file using the following command:

pip install -r requirements.txt

Packages used in this project include:

  • numpy
  • pandas

Create and activate your virtual environment utilizing Command Prompt (more information available here: venv set up and activation. Be sure to cd into your correct directory prior to setting up and activating your venv!

To create venv:

python -m venv env

To activate venv:

env/Scripts/activate.bat

Navigate to the folder and open main.ipynb with VS Code. Be sure to update the kernel in the upper right of VS Code (as shown in the screenshot below).The file imports uses public CSVs saved in my Google Sheets account, a work around for users utilizing different operating systems (not having to adjust the import statement/file path).

Juypter Notebook

nihonken's People

Contributors

elfbread avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.