Fuzzy joining tables with multiple date ranges

Is it possible you're missing the rest of the tibble here? Right now the parentheses are unclosed, but you also reference variables that aren't in prices (if one tries to reproduce from this) in your subsequent steps. Using the reprex package will help you ensure that someone else can run your code in a fresh session, and help you out!

There's also a nice FAQ on how to do a minimal reprex for beginners, below: