Skip to content
Proyek

datasets/s-and-p-500-companies

Lihat di GitHub

Tentang

Daftar perusahaan dalam S&P 500 beserta data keuangannya.

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
+1
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

badge

What stands out

Industrials has the most constituent securities (83 of 503); Information Technology and Financials tie for second with 76 each. Counts are of securities, not market-cap weights.

List of S&P 500 (Standard and Poor's 500) constituent securities, sourced from Wikipedia; a GitHub Action checks Wikipedia daily and commits when the list changes. The data contains 503 securities representing 500 distinct SEC Central Index Keys (CIKs), because some companies have more than one share class in the index.

Data

Checked daily: a GitHub Action compares the data with Wikipedia and commits when membership changes (workflow).

The scraper extracts constituent information from Wikipedia's List of S&P 500 companies.

The Founded field preserves mixed-format founding information from Wikipedia, including single years, multiple years and explanatory notes. Entries such as 2013 (1888), 1939 (2015) and 1904/1946/1959 do not follow a uniform date ordering.

Sources

The index provider is S&P Dow Jones Indices (website). The extraction source for this dataset is Wikipedia's List of S&P 500 companies.

Note For aggregate information on the S&P (dividends, earnings, etc.) see Standard and Poor's 500 Dataset on GitHub.

General Financial Notes

US domestic reporting companies generally file Form 10-K annually and Form 10-Q for the first three fiscal quarters of their fiscal year. Other issuer categories may use different forms.

Development

The pipeline relies on Python, so you'll need to have it installed on your machine. Then:

  1. Create a virtual environment in a directory using Python's venv module: python3 -m venv .env
  2. Activate the virtual environment: source .env/bin/activate
  3. Install the dependencies: pip install -r scripts/requirements.txt
  4. Run the scripts: python scripts/scrape.py

Alternatively, you can use the provided Makefile to run the scraping with a simple make. It'll create a virtual environment, install the dependencies and run the script.

Source and licence

Source: Wikipedia's List of S&P 500 companies.

The data is derived from Wikipedia, whose text is available under the Creative Commons Attribution-ShareAlike 4.0 License, so this dataset is licensed under the same terms. When you reuse it, credit Wikipedia's "List of S&P 500 companies" and share derived data under the same licence. All code is licensed under the MIT/BSD license.

Trademark

S&P 500® is a trademark of S&P Dow Jones Indices LLC. DataHub is not affiliated with, sponsored by or endorsed by S&P Dow Jones Indices LLC.

Jelajahi proyek terkait

Memuat…