Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: edgar
Type: Package
Title: Tool for the U.S. SEC EDGAR Retrieval and Parsing of Corporate Filings
Version: 2.0.3
Date: 2020-05-20
Version: 2.0.4
Date: 2021-06-05
Author: Gunratan Lonare <lonare.gunratan@gmail.com>, Bharat Patil
<bharatspatil@gmail.com>
Maintainer: Gunratan Lonare <lonare.gunratan@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion R/getFilingInfo.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ getFilingInfo <- function(firm.identifier, filing.year, quarter = c(1, 2, 3, 4),

load(filepath) # Import master Index

if(form.type == "ALL"){
if((length(form.type) == 1) && (form.type == "ALL")){
form.type <- unique(year.master$form.type)
}

Expand Down
4 changes: 2 additions & 2 deletions R/getFilings.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ getFilings <- function(cik.no = "ALL", form.type = "ALL", filing.year, quarter =

load(filepath) # Import master Index

if(form.type == "ALL"){
if((length(form.type) == 1) && (form.type == "ALL")){
form.type <- unique(year.master$form.type)
}

if( cik.no == "ALL" ){
if(length(cik.no) == 1) && (cik.no == "ALL" )){
year.master <- year.master[which(year.master$form.type %in% form.type
& year.master$quarter %in% quarter), ]
} else {
Expand Down