Citation standards for datasets are still evolving. When citing data, you can use the format of a style manual (such as APA) or use the data repository's preferred citation.
DataCite, for example, recommends the following format for data citation:
Here's an example from the DataCite website: