Questions tagged [sec]
39 questions
3
votes
2 answers
JSONDecodeError: Expecting value: line 1 column 1 (char 0) when scaping SEC EDGAR
My codes are as follows:
import requests
import urllib
from bs4 import BeautifulSoup
year_url = r"https://www.sec.gov/Archives/edgar/daily-index/2020/index.json"
year_content = requests.get(year_url)
decoded_year_url = year_content.json()
I could…

Julie
- 57
- 4
2
votes
3 answers
How to get data from SEC Edgar python and a json
on the following page below there is as Data source a json link:
https://www.sec.gov/edgar/browse/?CIK=1067983&owner=exclude
Data source: CIK0001067983.json -> https://data.sec.gov/submissions/CIK0001067983.json
This is my code (it works…

JKR
- 51
- 4
2
votes
2 answers
How to Web scraping SEC Edgar 10-K Dynamic data
we are trying to parse SEC Edgar filing using Python .
I'm trying to get this table "Sales By Segment Of Business" at line 21 .
This is the link to the…

Tarun teja
- 59
- 3
- 7
1
vote
1 answer
No output for 13 f scraping, how do I get the program to scrape a 13 f filing in colab research
Complete starter so sorry in advance, I'm getting "Request successful!" and "Number of filings found: 0"
Goal to scrape a 13 F and output the text, but instead I get results successful but no aactul output
I tried this code, It's possible that the…

P A
- 11
- 1
1
vote
2 answers
SQL Server Bulk Insert Text File SEC Data
I am trying to do a bulk insert from the SEC text file named tag. A picture is shown below which includes several columns. I have a table that I am trying to insert the data into but it inserts a single row and so somehow I think the delimiters or…

TenkMan
- 27
- 4
1
vote
2 answers
Can ExtractorApi in sec-api module be used for 10-Q filings?
I am trying to extract specific sections from the 10-Q report using ExtractorApi from sec-api module. The module works for 10-K, however, it fails with certain sections for the 10-Q. For example, if I want to extract item 3 from 10-Q, the following…

Maneet Singh
- 21
- 2
1
vote
1 answer
How should I scrape an idx file on EDGAR?
I have an idx file:
https://www.sec.gov/Archives/edgar/daily-index/2020/QTR4/master.20201231.idx
I could open the idx file with following codes one year ago, but the codes don't work now. Why is that? How should I modify the code?
import…

Julie
- 57
- 4
1
vote
1 answer
Getting 403 error while accessing "https://www.sec.gov/" from AWS even after specifying user agent
Response from SEC.GOV for GET request:
Your request has been identified as part of a network of automated
tools outside of the acceptable policy and will be managed until
action is taken to declare your traffic.Please declare your traffic…

hbk_92
- 11
- 2
1
vote
1 answer
Python Edgar asks for useragent
I ran the following command:
import edgar
import pandas as pd
edgar.download_index('/Users/myusername/Desktop/Desktop', 2010,skip_all_present_except_last=False)
It's throwing the following error asking for user_agent. Please clarify where can I get…

Thayyib PV
- 11
- 2
1
vote
1 answer
Android AR sceneform vertical rotation
Trying to rotate sceneform 3d model to focus on camera and vertical rotation, it should not change angle based on camera angle, using TransformableNode for rotation with Quaternion
node.localRotation = Quaternion.axisAngle(Vector3(0f,0f,1f),…

Brendon
- 1,368
- 1
- 12
- 28
1
vote
2 answers
Is there a way in python to delete several rows in an csv file?
I'm currently working on the download of the form.idx file from sec.gov for the first quarter of 2016. Since I'm only interested in the 10-Ks, I wanted to download the file as a .csv file and delete the useless rows. I tried to filter by the form…

Elena
- 13
- 2
1
vote
0 answers
XBRL / Finstr issue with SEC data in R
I am trying to download the XBRL data from the SEC site, using the finstr package in R.
The vignette references Apple financial statements from 2013-14. I am going after Abbott (CIK 1800) for mine. I've looked through the data records on the SEC…

Foothill_trudger
- 73
- 7
1
vote
1 answer
How trustworthy are polls by pinpoll
I was recently looking at security issues from online-polls and the problem with online-elections and how they can sometimes very easily be tampered with.
Now it sprung to my eye that a lot of websites that I visit and even local newspapers in my…

Xenox
- 147
- 1
- 2
- 6
1
vote
0 answers
Data seems to be missing in Bigquery SEC Filing Dataset
I was pleased recently to discover that Bigquery hosts a dataset of SEC filings. I am unable to find the actual text of the filings in the dataset however! This seems so obvious I must be missing something.
As an example, the 2018 Microsoft 10-K…

T. Shaffner
- 359
- 1
- 5
- 22
1
vote
2 answers
How to cut all Lines/Characters in R after specific Characters
I am currently taking a course that teaches textual analysis in R. As I am fairly new to R, I could not figure out yet how to cut all Lines after a specific set of characters.
For example, I have the following given:
documentName <- "Hello my name…

Johann
- 23
- 4