This repository contains R scripts for retrieving and analyzing company data from the U.S. Securities and Exchange Commission (SEC) filings. It provides a framework to access information about publicly traded companies and perform data analysis based on their SEC filings.
The primary purpose of this project is to retrieve company data from SEC filings and analyze it for educational and research purposes. Please note that the scripts provided here are not intended for making investment decisions, and their use is at your own risk.
-
main_script.R: The main script that orchestrates data retrieval and analysis.
- Author: gp1981
- Disclaimer: This script is intended for educational purposes only and should not be used for investment decisions. Use at your own risk.
-
Functions/data_retrieval.R: Contains the script to retrieve company data from SEC filings.
- Author: gp1981
- Disclaimer: This script is intended for educational purposes only and should not be used for investment decisions. Use at your own risk.
-
Functions/data_analysis.R: Contains the script for processing and analyzing SEC data.
- Author: gp1981
- Disclaimer: This script is intended for educational purposes only and should not be used for investment decisions. Use at your own risk.
-
Functions/data_visualization.R: Contains the script for processing, analyzing and visualizing SEC data.
- Author: gp1981
- Disclaimer: This script is intended for educational purposes only and should not be used for investment decisions. Use at your own risk.
-
Functions/utils.R: Contains the script of utilities functions for processing, analyzing and visualizing SEC data.
- Author: gp1981
- Disclaimer: This script is intended for educational purposes only and should not be used for investment decisions. Use at your own risk.
-
Clone the repository to your local machine:
git clone https://github.com/gp1981/SEC-Data-Analysis.git
-
Install the required R libraries by running the following command:
install.packages("httr") install.packages("jsonlite") install.packages("tidyverse") install.packages("dplyr")
-
Run the main_script.R script to retrieve and analyze SEC data.
Contributions are welcome! If you have any ideas for improvements or new features, please open an issue or submit a pull request. For major changes, please discuss the changes first by opening an issue.
This project is licensed under the MIT License. See the LICENSE file for details.
This project is for educational purposes only and should not be used for investment decisions. Use the scripts at your own risk.
For questions or feedback, feel free to contact gp1981.
Enjoy analyzing SEC data!