Dryad dataset: Code from: Evolution of species' range and niche in changing environments https://datadryad.org/dataset/doi:10.5061/dryad.dncjsxmdx