Dear Sven,Thank you very much and I will follow the way as you suggested.with regards,DhanasekaranOn Fri, Feb 25, 2022 at 12:29 AM Sven Schreiber <svetosch@gmx.net> wrote:Am 24.02.2022 um 15:25 schrieb Dhanasekaran Kuppusamy:
> Hi,
>
> I wrote a programme (script) for the Multidimensional Poverty Index
> developed by OPHI and UNDP using Gretl. I am very much interested to
> share this with Gretl users and uploaded it for the function package on
> 12.01.2022 . Finally I got the HTML message stating' *moved
> permanently'*. Kindly let me know that the package has been uploaded or
> not.
>
> I used gretl version 2021d.
At some point there was a transitional problem due to an underlying
change of servers. If possible, please try again with the latest release
2022a.
> Also please let me know that can we use UNDP example data for
> preparing the functional package. If so where it is to be included. Your
> help is highly required and appreciated.
If the data is public -and I guess it is, given the source- then yes you
can include it in a contributed function package. Basically there are
two options:
- If you desperately want to avoid the slightly more complex zipped
package format, then you could for example define a matrix holding the
copied-and-pasted data. For that you would define a private function
(i.e., not declared public) that returns a matrix, and inside the
function you would literally have that matrix defined. (You could
basically do the same thing with the series type.)
- Perhaps a better way is to go with the zipped format, and then you can
even stuff gretl data files into your package. Please see the packaging
guide (under the help menu), section 4.4 and especially chapter 5 "Zip
package details".
cheers
sven
_______________________________________________
Gretl-users mailing list -- gretl-users@gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave@gretlml.univpm.it
Website: https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/