0

Suppose I want to tabulate file WILL5000INDFC.csv as follows.

\documentclass{article}
\usepackage{csvsimple,longtable}
\begin{document}
%https://fred.stlouisfed.org/graph/fredgraph.csv?id=WILL5000INDFC
\csvautolongtable{WILL5000INDFC.csv}
\end{document}

Can I read it remotely during compiling? Or can I automatically download and include it during compiling?

Junyong Kim
  • 533
  • 4
  • 13
  • Are you using LuaLaTeX? – TeXnician Sep 27 '20 at 08:55
  • @TeXnician That doesn't solve the problem, because the socket library can't do SSL. – Henri Menke Sep 27 '20 at 08:57
  • 1
    You can automatically download it at runtime using shell-escape and curl or wget (of course this opens security problems). – egreg Sep 27 '20 at 09:27
  • Or otherwise maybe https://tex.stackexchange.com/questions/5433/can-i-use-an-image-located-on-the-web-in-a-latex-document, that is about images specifically, but it has a clear example of a wget call. – Marijn Sep 27 '20 at 10:02

0 Answers0