There's a dot in a script that refers to something, but I can't figure out what on earth it is.
Here's the line that contains the dot I'm talking about:
filter_target <- . %>%
inner_join(target_student_ids) %>%
filter(
school_year_id == SCHOOL_YEAR,
date >= START_WINDOW,
date <= END_WINDOW
)
I found this other code block that references filter_target
:
referrals <- tbl(db, "data_table") %>%
mutate(
date = as.Date(timestamp_create)
) %>%
filter(is_com) %>%
filter_target() %>%
group_by(a, b) %>%
summarise(Refs = n())
Any idea what the dot is doing? What's it called? filter_target
gets evaluated and stored as a function, which I'm not sure if that's the expected output.