GithubHelp home page GithubHelp logo

insightcoding's Introduction

Insight Coding Challenge

Problem

This project creates metrics to analyze past years data of H1B program, specificially it calculates two metrics: Top 10 Occupations and Top 10 States for certified visa applications.

I/O

Input:

h1b_input.csv: statistics from the US Department of Labor and its Office of Foreign Labor Certification Performance Data, include information for all h1b applications in a given time period.

Output:

top_10_occupations.txt: Top 10 occupations for certified visa applications

top_10_states.txt: Top 10 states for certified visa applications

Approach

1.Read input and generate a list containing relevant information of all certified applications,

2.count frequency and store it in a dictionary,

3.convert dictionary to a list and sort the list by number of applications and alphabet.

4.output the top 10 items on the list.

Run instructions

You need to have python3 installed in order to run the project.

You can run the project with the following command from within the insightCoding folder:

./run.sh

You can run the test with the following command from within the insight_testsuite folder:

insight_testsuite~$ ./run_tests.sh

Author

Nancy Zhang

Version

Version 1.0 Oct 29,2018

insightcoding's People

Contributors

nancy506 avatar

Stargazers

 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.