Skip to content

Commit ef11508

Browse files
Merge pull request #122 from miceli/main
Update scraper-cotahist.R
2 parents 3e870b1 + fd6f523 commit ef11508

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎R/scraper-cotahist.R‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,16 @@ cotahist_filter_index_options <- function(x) {
216216
.filter_option_data(x, "IND")
217217
}
218218

219+
#' @rdname cotahist-extracts
220+
#' @examples
221+
#' \dontrun{
222+
#' df <- cotahist_get() |> cotahist_filter_etf_options()
223+
#' }
224+
#' @export
225+
cotahist_filter_etf_options <- function(x) {
226+
.filter_option_data(x, "CTF")
227+
}
228+
219229
#' @rdname cotahist-extracts
220230
#' @examples
221231
#' \dontrun{

0 commit comments

Comments
 (0)