Dataset Licensing and Copyright

2018-02-17 16:44:20

I am looking to publish some R code on github analyzing a dataset that I could freely download from a book's website. My analysis is original and is not a blatant copy of the author's analysis of the same dataset.

My main purpose for developing and publishing the repo on github is to build an online portfolio of work showcasing my competencies. I am not financially compensated in any way whatsoever and neither am I looking for something like that. I am more that willing to clearly mention the source of the dataset and the author in the analysis.

Will I be sued by the author for copyright infringement because of this?