GithubHelp home page GithubHelp logo

wr-earthquakes's Introduction

This script prepares the dataset to be used for showing the earthquakes in Perú.

What it does?

  • Format the dataset to be used with geo libraries like d3.geo and turf.
  • The dataset delivered by IGP doesn't have references like the name of city or district of the location of the earthquake. Therefore in case the coordinates point of an earthquake is in the sea, the script computes the district which is closer to the point. For that it computes the centroid of each polygon and select the id district which is the closest to that point.

How to update the dataset?

  • Clone the repo.
  • Download the data from IGP and move your new files to ./data/*.csv. Keep the names of the files.
  • Up your local server.
  • Wait a few seconds until the page shows Click to Download (it processes more than +24k rows) and then download the file.
  • Use this dataset to your own analysis and visualizations.

Application

wr-earthquakes's People

Contributors

ccalobeto 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.