Original question has been deleted. This provides a more specific question to my problem by including the journal's style files.
I've been told the correct citation for my purposes is
Our suggested citation, as specified on the about Kidsdata.org page, is: [Original data source.] As cited on www.kidsdata.org, a program of the Lucile Packard Foundation for Children's Health. Retrieved on [date].
I'm trying to follow either of these examples to no success. (1), (2)
I've tried both @misc and @techreport. Neither seems to work.
Edited to include suggestions from @UlrikeFischer below. Still getting failures.
@misc{la_births,
title= {Birth Statistics Master Files},
author= {{California Department of Public Health}},
year= {2013},
url={\url{http://www.kidsdata.org/topic/610/fertility-rate/}},
note= {As cited on \url{www.kidsdata.org}, a program of the Lucile Packard Foundation for Children's Health. Accessed: July 27th, 2016}
}
@techreport{la_deaths,
author= {{Office of Health Assessment \& Epidemiology}},
title= {Mortality in Los Angeles County 2012: Leading causes of death and premature death with trends for 2003-2012},
institution= {Los Angeles County Department of Public Health},
year= {2015}
}
@techreport{un_population,
author= {Department of Economic and Social Affairs: Population Division},
title= {World Population Prospects: The 2012 Revision, Highlights and Advance Tables},
institution= {United Nations},
year= {2013},
number= {ESA/P/WP.228}
}
Running pdflatex.exe on my_file.tex...failed
I do not see the original authors on the source site, hence the "cited on ..." (mis?)usage for the author field.
reproducible example below:
A reproducible example is provided below, using the above citation as the bibliography.bib file. This does compile!
\documentclass{jss}
\begin{document}
\cite{la_births}
\cite{la_deaths}
\cite{un_populaton}
%------------------------------------------------------------
% Bibliography
\bibliography{bibliography}
\end{document}
journal specific example:
A more complete example uses the journal's style files, found here and would not require \bibliographystyle{plain} which is controlled by their style files.
Further, this preamble is used. Otherwise, the above example is the same. I am using Rstudio/Sweave to compile my document.
\documentclass[article]{jss}
% \usepackage{graphicx, color, hyperref, ae, fancyverb, natbib} % -- default JSS packages
\usepackage{amsmath, amssymb, amsthm} % American Math. Society Packages
\usepackage{thumbpdf} % JSS encouraged
\usepackage{float}
\usepackage[font= footnotesize, labelfont= bf]{caption}
\usepackage{placeins}
%% need no \usepackage{Sweave.sty}
%------------------------------------------------------------
\begin{document}
\SweaveOpts{concordance=TRUE}
log output (true document)
The document fails pdflatex with 1 warning.
All ctrl+F references to "warning" reprinted below.
Package hyperref Warning: Option `hyperindex' has already been used,
(hyperref) setting the option has no effect on input line 444.
Package hyperref Info: Option `colorlinks' set `true' on input line 444.
Package hyperref Info: Option `linktocpage' set `true' on input line 444.
Package hyperref Info: Option `plainpages' set `false' on input line 444.
)
Package thumbpdf Warning: Thumbnail data file `jss_synthACS.tpt' not found.
Package natbib Warning: Citation `la_births' on page 1 undefined on input line
21.
Package natbib Warning: Citation `un_populaton' on page 1 undefined on input li
ne 25.
