Giter Club home page Giter Club logo

fortune500's People

Contributors

cmusam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fortune500's Issues

2020 Data

Here is 2020 data pulled from: https://fortune.com/fortune500/2020/search/

Data: https://pastebin.com/SPqSYk9n

Pulled all 1k using the code below by clicking through each 100 results and running the code below. Collected today.

// If text is not set initialize and add heading row.
if (typeof(text) == 'undefined' || !text.length){

    var text = ""
    // Add Headings
    var rowText = ""; 
    $$('.searchResults__columnTitle--1Brf4').forEach((e)=>{ rowText += e.textContent.replace(',', ' ') + ","; });
    text += rowText.slice(0, -1) + "\n";
};


// Loop through table adding rows.
$$('.rt-tr-group').forEach((e)=>{ var rowText = ""; 
                                  e.querySelectorAll('span').forEach((i) => {
                                      rowText += i.textContent.replace(',', '') + ","; 
                                      }); 

                                      text += rowText.slice(0, -1) + "\n"; 
                                      }
                           );

Inconsistent company name: trailing dot

Company names have trailing dot in some files but not others. For example:

  • fortune500-2007.csv has company State Farm Insurance Cos, but
  • fortune500-2008.csv has company State Farm Insurance Cos.

Different company names

Walmart is Wal-Mart Stores in 2014 and before, but is Walmart in 2015 and after.
Other examples include

  • Costco Wholesale to Costco
  • Hewlett-Packard to HP

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.