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?
Impulse response functions for threshold ARmaX ModelsI have an ARmaX model that I need to estimate using threshold regressions (i.e "threshold" command )…
Line graph for frequency distribution by categorical variableHi Statalist, I would like to create a line graph showing frequency (percent) distribution of a giv…
Random effects term for mother - help with some codeHi, I'm using inverse probability treatment weighting for the propensity for vaccination, followed b…
cumulative sum betwee 1 and 2?Dear All, I find this question here (in Chinese). The data set is: Code: * Example generated by -da…
setstars function using asdocDear Statalist Users, I am using the wonderful installation package asdoc and I am very grateful, t…
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