Right now, sfa_get_shares() has some arguments which apply only for specific types. This is confusing. Therefore, sfa_get_shares() should be split up into sfa_get_shares_common() and sfa_get_shares_wa().
This would mean that sfa_get_shares_common() would not need the arguments type, period, and fyear.
sfa_get_shares_wa() would not need the arguments start and end.
Right now,
sfa_get_shares()
has some arguments which apply only for specifictype
s. This is confusing. Therefore,sfa_get_shares()
should be split up intosfa_get_shares_common()
andsfa_get_shares_wa()
.This would mean that
sfa_get_shares_common()
would not need the argumentstype
,period
, andfyear
.sfa_get_shares_wa()
would not need the argumentsstart
andend
.