How to Cite a Dataset in APA: Version and Source
To cite a dataset in APA, identify the data you actually analyzed and the version you used, then collect its creator, publication year, title, repository and persistent link. If you only repeat a statistic from a report or article, cite that publication instead. A repository homepage alone may not identify your data.
By plagiarism-checker-online.net Editorial Team | Published October 9, 2026
You downloaded a spreadsheet from a public repository, cleaned it and ran your analysis. Then the reference list needs an entry, and the quickest option is to cite the paper that introduced the data or paste the repository's homepage. Either choice breaks the link between your results and the file you actually used. A dataset reference exists to fix that link.
APA writes “data set” as two words in its own guidance, and the style treats it as a source type with its own format. This guide follows APA 7, shows how to read a repository record, and repairs three common mistakes. It's a citation guide, not a research-methods course.
Source typeDataset, codebook or published statistic?
The APA Style data set reference page sets the boundary. Provide a data set citation when you conducted secondary analyses of publicly archived data, or when you're archiving your own data and presenting it for the first time. If you're citing existing data or statistics, cite the publication in which they appeared, such as a journal article, report or webpage, rather than the data set itself.
A three-case source decision table
| What you did | Cite this | Reason | Evidence to keep |
|---|---|---|---|
| Downloaded a file and analyzed it yourself | The data set, in the version you used | Readers need the exact data behind your results | Repository record, version, DOI, download date, file name |
| Copied a number or a table from a report or article | That report or article | APA directs you to cite the publication for existing data or statistics | Page, table or section number |
| Used the codebook to understand the variables | The data set, with the codebook named in the bracket description if it ships with the data | APA's bracketed description is flexible, for example “Data set and code book” | The file list from the download |
If a codebook is a separate document with its own record, look at that record before deciding. The classic error runs the other way: someone analyzes a file and then cites only a summary article, so nobody can tell which release produced the numbers.
VersionFind the exact data version
DataCite's data citation guidance explains why this matters. Citing data supports access, transparency and reproducibility, gives researchers credit and makes the repository visible. DataCite isn't an APA authority, so use it for the reason, not the format.
Repository landing page
Open the page for your specific study or file, not the repository's front page. Look for a citation box or “cite this” section, the creator names, the publication year, the title, the version label, the repository name and a persistent link. A homepage address such as a repository's main domain tells readers where to start looking, not what you used.
DOI, version and download record
Write down four things on the day you download: the DOI or persistent URL, the version label, the date and the file name. Repositories update data, and a later release may differ from the one you analyzed. This record goes in your methods notes. It isn't part of the reference itself.
ReferenceBuild an APA reference from verified metadata
APA's page gives the pattern. Start with the creator, then the year in parentheses, then the title in italics. After the title, put any numerical identifier and the version in parentheses, not italicized and separated by a semicolon. Then comes a bracketed description such as [Data set], then the publisher, then the DOI or URL. Here's where each element comes from.
| Element | Take it from | Watch for |
|---|---|---|
| Creator | The record's creator or author field, or the organization | Use the organization when no person is listed. |
| Year | Publication year of the version you used | It isn't the download year. |
| Title | The record title, italicized | Don't swap in the related article's title. |
| Identifier and version | Study number and version label | Only include what the record shows. |
| Bracket description | Your choice of wording, such as Data set | APA says it's flexible. |
| Publisher | The repository or portal | Use its recognized short name when the record gives one. |
| DOI or URL | Persistent link on the record | Prefer the DOI link to a copied browser address. |
Worked example: metadata to generated reference
One verifiable archived dataset
APA's own example is a real ICPSR study. We checked its public DOI record on DataCite on October 9, 2026. ICPSR's landing page itself wouldn't load for our automated tools, so check the repository page before you copy anything for real work. The record lists the creator William O'Donohue, the title “Content Analysis of Undergraduate Psychology Textbooks,” a 2017 publication year, the publisher Inter-University Consortium for Political and Social Research, the DOI 10.3886/ICPSR36966.V1 and an ICPSR study number of 36966, with the version shown as Version 1.
APA's published reference for that record reads: O'Donohue, W. (2017). Content analysis of undergraduate psychology textbooks (ICPSR 36966; Version V1) [Data set]. ICPSR. https://doi.org/10.3886/ICPSR36966.v1
Notice what APA did. It shortened the publisher to ICPSR, wrote the title in sentence case, and joined the study number and version with a semicolon inside one set of parentheses. We ran the same metadata through the pinned citation engine behind our Citation Generator using its dataset type, and it printed: O’Donohue, W. (2017). Content analysis of undergraduate psychology textbooks (Version V1) [Dataset]. ICPSR. https://doi.org/10.3886/ICPSR36966.v1
That's close, but not identical. The generator's dataset type has a version field and no slot for a study number, and it prints [Dataset] where APA's page has [Data set]. So the study number, and the bracket wording, are yours to check against APA's page before you paste the entry into a paper. A generated reference is a draft.
One more difference turned up. A university library guide we read (USC Libraries, updated June 2026) shows a similar ICPSR example with a comma between the study number and the version, where APA's page uses a semicolon. When a campus guide and APA's own page disagree, follow APA's page and your instructor's preference.
A clearly fictional missing-field scenario
Fictional example: a city open-data portal offers a daily bike-count table. Everything below is invented, including the organization and the address.
| Field | What the portal shows | Decision |
|---|---|---|
| Creator | Riverside Transportation Office | Use the organization. |
| Year | 2025, labeled “last updated” | Use 2025. For this changing table, add the retrieval date to the reference and note the download date in your methods. |
| Title | Riverside bike counts, daily totals | Copy it, in sentence case. |
| DOI | None | Use the portal's stable page address. |
| Version | None shown | Don't invent one. Record the file name and download date. |
| Publisher | Riverside Open Data Portal | Use the portal name. |
From that record the generator's dataset type prints: Riverside Transportation Office. (2025). Riverside bike counts, daily totals [Dataset]. Riverside Open Data Portal. https://data.example.org/riverside/bike-counts
You'd change [Dataset] to [Data set] to match APA. For a portal table that changes over time, USC Libraries also calls for a retrieval date in the reference, in the form “Retrieved Month day, year, from URL.” The generator's dataset type doesn't print that element, so add it manually using your actual retrieval date. Keep the downloaded file and record its name and download date in your methods notes too. For an archived, versioned file, those methods notes identify your working copy without adding a retrieval date to the reference.
MethodsExplain your analysis separately from the citation
A citation says what you used. Your methods section says what you did with it. Keep the two apart, and don't try to squeeze file names, filters and cleaning steps into the reference. A sentence like this works, with every detail swapped for your own: “We analyzed the public file titled [title] ([creator], [year], version [label]), downloaded on [date], and kept the [number] records with complete [variables].”
That sentence ties the reference to your file without pretending the repository vouches for your choices. If you keep an annotated bibliography, our guide to annotated bibliographies covers what to write when your source is a dataset rather than a summary article.
RepairsRepair three references that lose reproducibility
Homepage only
Problem: the reference list gives the repository's main address and nothing else. A reader can't tell which study or release you used. Repair: go to the record for your study and rebuild the entry with its creator, year, title, version and DOI.
Wrong version
Problem: you analyzed an older release, but the citation copies the newest record. The year and version no longer match your numbers. Repair: find the version you actually downloaded, using your download notes, and cite that one. A fictional version-2 portal file would print as: Riverside Transportation Office. (2025). Riverside bike counts, daily totals (Version 2) [Dataset]. Riverside Open Data Portal. https://data.example.org/riverside/bike-counts
Article substituted for analyzed data
Problem: you ran your own analysis, but the reference list shows only the article that describes the data. Readers will think you reproduced the article's numbers. Repair: cite the data set you analyzed. Keep the article too, if you relied on its documentation or findings, so the credit is complete.
ChecklistFinal data-source checklist
- Decide whether you analyzed the data or only repeated a published number.
- Open the record for your specific study, not the repository's front page.
- Copy the creator, year, title, version, publisher and DOI from the record.
- Check that the year and version match the file you used.
- Write [Data set] or another fitting description in brackets.
- Compare any generated or recommended citation with APA's page.
- Save the download date, file name and version in your methods notes.
- Make sure the text of the paper says what you did with the data.
Once the data references are right, the rest of your references follow the same logic. Our guide to citing properly covers the APA basics, and the citation and referencing guide shows where datasets fit. A text comparison can help with the prose in your draft through the plagiarism checker, but it can't verify your data, calculations, permissions or reproducibility.
QuestionsFAQ
Cite the data set if you analyzed the data yourself. If you only repeat statistics from a report or article, cite that publication instead, as APA directs. You can cite the describing article as well when you rely on its methods or findings.
APA says the date is the year of publication for the version of the data you used. Take it from the repository record for that version, not from the day you downloaded the file or the year of a related article.
If the data have a version number, APA's example puts it in parentheses after the title, with any identifier, separated by a semicolon. If the repository shows no version, don't invent one. Record your download date in your methods notes instead.
Cite the report, article or webpage where the numbers appeared, not the underlying data set. APA directs writers to cite the publication when they use existing data or statistics. Add the page, table or section so readers can find the figure.
Use it as a source of metadata, not as final text. Copy the creator, year, title, version, publisher and DOI, then arrange them in APA order. Where a guide and APA's page disagree, follow APA's page and your instructor.