Skip to Main Content

DSCI 470: Research Methods in Data Science

APA Citation Basics

The current American Psychological Association (APA) style manual is the 7th edition (2020).


A copy of the APA style manual is available in the Reference area at the Research Help Desk on the first floor of the Guerrieri Academic Commons.

Book by a single author

Format: Author's last name, first initial. (Year of publication). Title of the book. Publisher name. DOI.

Example:

Mùˆller A. C., & Guido, S. (2017). Introduction to machine learning with python: a guide for data scientists (1st ed.). O'Reilly Media.

Note: DOI may not always be applicable. 

Article from a journal

With a DOI

Format: Author's last name, first initial. (Year of publication). Title of the article. Journal Title, volume number(issue number), pages. DOI or URL

Example:

Chu, Y., Knell, G., Brayton, R. P., Burkhart, S. O., Jiang, X., & Shams, S. (2022). Machine learning to predict sports-related concussion recovery using clinical data. Annals of Physical and Rehabilitation Medicine, 65(4), 101626. https://doi.org/10.1016/j.rehab.2021.101626

In Text: (Chu et al, 2022)

Article from a newspaper

Format: Author's last name, first initial. (Date of publication). Title of the article. Newspaper Title, volume, page numbers. Discontinuous pages are separated by commas

Example:

Jewett, C. (2022, Aug 17). Over-the-counter sales of hearing aids to start soon FDA ruling lifts requirement for patients to get medical exam, prescription. The Baltimore Sun, pp. A.14.

GitHub Repository

Format: Author's last name, first initial / Rights Holder. (Year). Title of repository [Description of form]. Publisher. URL.

Example:

FiveThirtyEight. (2020). Bob Ross [Dataset and Python code]. GitHub. https://github.com/fivethirtyeight/data/tree/master/bob-ross

In-text: (FiveThirtyEight, 2020)

Stack Exchange (or any other internet forum)

Format: Last name, first initial (if known) [Username]. (Year, Month Day). Title of post (up to 20 words) [Online forum post]. Site Name. URL.

Example:

Skan. (2023, October 6) How can we use a transformer model with new data if we still don't have the output? [Online forum post]. StackExchange. https://datascience.stackexchange.com/questions/124020/how-can-we-use-a-transfomer-model-with-new-data-if-we-still-dont-have-the-outpu

In-text: (Skan, 2023)

Interview

ONLY in-text citation; not in your References list at the back!

In-text: (J. Smith, personal communication, October 16, 2023)

Artificial Intelligence (like ChatGPT)

Cite the tool you use, and either elaborate in the paper as to what it generated or attach the full text of the chat in an appendix of your paper.

Format: Company name/author of the model. (Year). Name of AI used (the date of the version used / name of the version) [Large language model]. URL.

Example:

OpenAI. (2023). ChatGPT (Mar 14 version) [Large language model]. https://chat.openai.com/chat 

In-Text: (OpenAI, 2023)

Website

Format: Author's last name, first initial. (Date of document or date of last revision, if known). Title of page. URL

Note: If there is no author listed, you can use the organization, as seen below.

Note: Add in "retrieved [date]" if you think the information is likely to change over time. 

Example:

Salisbury University. (2022). SU's Mission and Values. Retrieved August 17, 2022 from https://www.salisbury.edu/discover-su/mission-values.aspx.


DOI: Digital Object Identifier

The DOI is a set of numbers and/or letters given to individual journal articles.

  • You should include the DOI for articles retrieved online or from hardcopy

  • The database might give the DOI in the citation section. If not, then you may find it at the top or bottom of the first page

  • When you have a DOI, you do not need to include the web address

  • When you do not have a DOI, you must include the URL of the journal's homepage from the publisher's website. If this URL is too long, you may use the publisher's
    homepage. You may have to search for this website online.

    Do not use the direct URL of the article and do not use the database name or URL
    (exceptions; a dissertation, an ERIC document or older JSTOR article)

  • Older hardcopy journals will not have a DOI, so you will cite it without one