Skip to content
프로젝트

datasets/s-and-p-500-companies

GitHub에서 보기

소개

S&P 500 기업 및 관련 재무 정보 목록

학습 및 교육

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
+1
in 15 days
+1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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.

관련 프로젝트 살펴보기

불러오는 중…