Giter Site home page Giter Site logo

earthquakes's Introduction

U.S. Department of State – Data Scientist Position – Written Assessment

Below is a list of scripts including their inputs, outputs, and dependencies.

usembassy.py

Description: Scrapes https://www.usembassy.gov and collects a list of every U.S. Embassy and Consulate's Country, Full Name, and Google Map embed link.

Outputs:

  • usembassy.csv

Dependencies (pip packages):

  • pandas
  • urllib
  • beautifulsoup4
cleanup.py

Description: Creates a cleaned U.S. Embassy and Consulate dateset including the best approximation of their physical buidling's longitude and latitude. It uses two additional datasets: the cities dataset from wikipedia and a manual cleanup_references.csv dataset manually collected.

Inputs:

  • usembassy.csv
  • cleanup_references.csv
  • cities.csv

Outputs:

  • cleanup.py

Dependencies (pip packages):

  • pandas
analysis.py

Description: Collects a tables from (https://en.wikipedia.org/wiki/List_of_cities_by_elevation) listing major cities and their longitude and latitude.

Outputs:

  • cities.py

Dependencies (pip packages):

  • pandas
  • wikipedia
analysis.py

Description: Performs the necessary transformations to combine our resulting Embassy and Consulate dataset with the Earthquake dataset to calculate a risk factor as described in the written submission.

Inputs:

  • cleanup.csv
  • Data Set - Earthquakes.xlsx'

Outputs:

  • analysis.csv

Dependencies (pip packages):

  • pandas
  • geopy

earthquakes's People

Contributors

ryanbruno avatar

Watchers

James Cloos avatar  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.