if (FALSE) {
template_dataset("b3-indexes-current-portfolio", layer = 2) |>
filter(index %in% c("SMLL", "IBOV", "IBRA")) |>
collect()
}
if (FALSE) {
template_dataset("b3-indexes-theoretical-portfolio", layer = 2) |>
filter(index == "IBOV") |>
collect()
}
Run the code above in your browser using DataLab