Hello All. The following has been bugging me ((based on my extensive experience of creating webs pages using Stata). Is there a wayy (inside Stata) of accessing file creation dates and/or sizes based on the filename? (I have looked in the Stata and Mata manuals and found most things except for this.)
My reason for wanting to do this is that I woud like to output a list of .htm files together with an index document, containing hypertext to the other documents. In this commonly-encountered scenario, I would like to be able to order a xd ir resultsset of .htm fies (created by my xdir package which I plan to present at the 2020 Stata conference) in ascending order of file creation date, and to tabulate the filenames in the order in which they were created.
Is there a way of doing this? Or do I have to update my htmlutil package (downloadable from SSC) to output HTML files containing comments specifying the times of opeming an closing of an HTML document?
Best wishes (and thanks in advance)
Roger
Related Posts with Is there a way (portable between operating environments) for accessing file attributes in Stata?
causal mediation analysisHi, when performing causal mediation analysis, how do I get the value of proportion effect mediated?…
Forloop to import multiple .sav files not workingHello all, would appreciate an advise on how i can fix the following line of commands to import/read…
Why do ginidesc command yield different Gini coefficients when combined with the "if" qualifier?Dear Statlist users, I am using Stata 14.1. I am trying to estimate wage inequality (by Gini coeff…
forest plot for ST Cox HRHi! I`d like to build a forestplot of my stcox HR for many variables. I tried with ipdover, over (va…
reshape wide variable to long within long datasetHi, I have a long dataset that has a wide variable in it (loc). Loc represents location of work per…
Subscribe to:
Post Comments (Atom)
0 Response to Is there a way (portable between operating environments) for accessing file attributes in Stata?
Post a Comment