I mean if it is your code, you should know the URL of your data. And if that is the case, you should provide it to the setUrl(...)
method.
Like Julien is saying BASE_PATH
is related to our infrastructure which get replaced automatically at compile time when the example get published.