Closed iangow closed 6 years ago
I think there is code somewhere to create PG functions. Try azakolyukina/misc repository. This is a very useful function that may or may not be there (the name eomonth is based on an Excel function that does the same thing).
azakolyukina/misc
eomonth
https://github.com/iangow-public/wrds_pg/blob/d80009c3459bb6bf51ee9bc61dd4ea9714705604/crsp/crsp_make_mrets.sql#L4
This function is there.
I think there is code somewhere to create PG functions. Try
azakolyukina/misc
repository. This is a very useful function that may or may not be there (the nameeomonth
is based on an Excel function that does the same thing).https://github.com/iangow-public/wrds_pg/blob/d80009c3459bb6bf51ee9bc61dd4ea9714705604/crsp/crsp_make_mrets.sql#L4