add query param to resample, closes #478
Merge pull request #479 from modilabs/resample-query-478

add query param to resample, closes #478