-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #96 from yanlesin/Q42024_file
Q4 2024 file tested
- Loading branch information
Showing
5 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
test_that("Parsed row count equal to total row count per PDF list", { | ||
options(HTTPUserAgent="Yan Lyesin, SEC13Flist Package for R, [email protected] ") | ||
YEAR_ <- 2024 | ||
QUARTER_ <- 3 | ||
QUARTER_ <- 4 | ||
|
||
file_name <- paste0('13flist', YEAR_, 'q', QUARTER_, '.pdf') | ||
url_file <- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
test_that("list of possible values for HAS_LISTED_OPTION column", { | ||
options(HTTPUserAgent="Yan Lyesin, SEC13Flist Package for R, [email protected] ") | ||
list_all <- SEC13Flist::SEC_13F_list(2023, 3) | ||
list_all <- SEC13Flist::SEC_13F_list(2024, 4) | ||
list_all <- unique(list_all["HAS_LISTED_OPTION"]) | ||
list_HAS_LISTED_OPTION <- nrow(subset(list_all, !HAS_LISTED_OPTION %in% c("","*"))) | ||
expect_equal(list_HAS_LISTED_OPTION, 0) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters