In some cases hosts of datasets will recommend a certain citation style. Producers of data may request that the publication where the data is found be cited.
As in citing publications, there are many styles of data citation, but the following is a basic guideline: include
author, creator(s) or contributor(s)
date of publication
title of dataset
publisher
identifier (e.g. Handle, ARK, DOI) or URL of source
The Dryad Digital Repository is a curated resource that makes research data discoverable, freely reusable, and citable. Dryad provides a general-purpose home for a wide diversity of data types.