BibTeX, biblatex and biberIncorrect Governmental Name for Online Source in APA format

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
Tommie_t
Posts: 2
Joined: Fri Oct 28, 2022 3:59 pm

Incorrect Governmental Name for Online Source in APA format

Post by Tommie_t »

Dear all,
I have trouble with \printbibliography for a governmental website in APA format. I need to cite the governmental name as the author, but the APA format won't let it work.

Here is my code:

Code: Select all

\usepackage[natbib=true,backend=biber,sorting=nyt,style=apa]{biblatex}
\addbibresource{references.bib}
\begin{document}
\autocite{pat2003}\\
\autocite{US2020}
\printbibliography[heading=none]
\end{document}
This is how I code in references.bib.

Code: Select all

@online{US2020,
author = {U.S. Department of Housing and Urban Development.},
title = {{National comprehensive housing market analysis}},
url = {https://www.huduser.gov/portal/publications/pdf/National-CHMA-20.pdf},
year = {2020}
}
This is what I got. I bold the item I got wrong.

(Paterson & Thorne, 2003)
(of Housing & Development., 2020)
of Housing, U. D., & Development., U. (2020). National comprehensive housing
market analysis. https://www.huduser.gov/portal/publications/pdf/
National-CHMA-20.pdf
Paterson, B. L., & Thorne, S. (2003). Enhancing the evaluation of nursing care
effectiveness. Canadian Journal of Nursing Research, 35 (3), 26–38.

But I want it to be (I bold the item I want it to be):

(Paterson & Thorne, 2003)
(U.S. Department of Housing and Urban Development, 2020)
U.S. Department of Housing and Urban Development. (2020). National comprehensive housing
market analysis. https://www.huduser.gov/portal/publications/pdf/
National-CHMA-20.pdf
Paterson, B. L., & Thorne, S. (2003). Enhancing the evaluation of nursing care
effectiveness. Canadian Journal of Nursing Research, 35 (3), 26–38.

Since I need the rest references in APA format, I can't change the style only for this governmental website. Is there any way I can fix this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Bartman
Posts: 369
Joined: Fri Jan 03, 2020 2:39 pm

Incorrect Governmental Name for Online Source in APA format

Post by Bartman »

Please read section 2.3.3 "Corporate Authors and Editors" of the biblatex manual.
Tommie_t
Posts: 2
Joined: Fri Oct 28, 2022 3:59 pm

Incorrect Governmental Name for Online Source in APA format

Post by Tommie_t »

Thank you, Bartman! This is really helpful.
Post Reply