diff --git a/src/personal/datalibweb/CONLACRAW.do b/src/personal/datalibweb/CONLACRAW.do index a99aaff..fda6734 100644 --- a/src/personal/datalibweb/CONLACRAW.do +++ b/src/personal/datalibweb/CONLACRAW.do @@ -5,10 +5,12 @@ global root global rootname CONLAC global subfolders Data\Stata global data `" "Data\Stata" "' -global doc `" "Doc\Questionnaire" "Doc\Technical" "' +global doc `" "Doc\Questionnaires" "Doc\Technical" "' global prog `" "Programs" "' global token 5 global updateday 1 global type CONLACRAW +global basedeffile +global base Data\Base global distxt LAC TSD -global email datalibweb@worldbank.org; lmorenoherrera@worldbank.org; cdiazbonilla@worldbank.org +global email datalibweb@worldbank.org; lmorenoherrera@worldbank.org; cdiazbonilla@worldbank.org; segoviajuarez@worldbank.org; \ No newline at end of file diff --git a/src/personal/datalibweb/GMD.do b/src/personal/datalibweb/GMD.do index 679f1a7..ccf2f85 100644 --- a/src/personal/datalibweb/GMD.do +++ b/src/personal/datalibweb/GMD.do @@ -25,6 +25,6 @@ global cpiy 2005 global cpif Data\Stata global rootcpi GMD global cpiw "Server=$rootcpi&Country=$cpic&Year=$cpiy&filename=$cpifile&folder=$cpif" -global cpivarw icp* cpi* +global cpivarw icp* cpi* comp* global distxt GLOBAL TSD/GMD global email gmd@worldbank.org; datalibweb@worldbank.org diff --git a/src/personal/datalibweb/LABLAC-01.do b/src/personal/datalibweb/LABLAC-01.do index 64004c2..a10b0e1 100644 --- a/src/personal/datalibweb/LABLAC-01.do +++ b/src/personal/datalibweb/LABLAC-01.do @@ -3,9 +3,9 @@ global hhid id global pid com -global defmod Q04 +global defmod all global hhmlist -global indmlist +global indmlist `""ALL""' global period Q04 global root global rootname LABLAC @@ -25,6 +25,6 @@ global cpiy 2005 global cpif Data\Stata global rootcpi LABLAC global cpiw "Server=$rootcpi&Country=$cpic&Year=$cpiy&filename=$cpifile&folder=$cpif" -global cpivarw ipc_lablac ipc05_lablac ppp05 +global cpivarw ipc_lablac ipc11_lablac ppp11 global distxt LAC TSD/LABLAC -global email datalibweb@worldbank.org; acastanedaa@worldbank.org; cdiazbonilla@worldbank.org +global email datalibweb@worldbank.org; lmorenoherrera@worldbank.org; cdiazbonilla@worldbank.org; segoviajuarez@worldbank.org; diff --git a/src/personal/datalibweb/SEDLAC-02.do b/src/personal/datalibweb/SEDLAC-02.do index 5d55dd5..104e26d 100644 --- a/src/personal/datalibweb/SEDLAC-02.do +++ b/src/personal/datalibweb/SEDLAC-02.do @@ -3,9 +3,10 @@ global hhid id global pid com -global defmod all -global hhmlist -global indmlist +global defmod pov +global hhmlist `""HHD", "REG""' +global indmlist `""ALL", "EDU", "DMR", "GMD", "IND", "LAB", "POV""' +global period global root global rootname SEDLAC global subfolders Data\Harmonized @@ -26,4 +27,4 @@ global rootcpi SEDLAC global cpiw "Server=$rootcpi&Country=$cpic&Year=$cpiy&filename=$cpifile&folder=$cpif" global cpivarw *_sedlac ppp* conversion global distxt LAC TSD/SEDLAC -global email datalibweb@worldbank.org; acastanedaa@worldbank.org; cdiazbonilla@worldbank.org +global email datalibweb@worldbank.org; lmorenoherrera@worldbank.org; cdiazbonilla@worldbank.org diff --git a/src/personal/datalibweb/SEDLAC-03.do b/src/personal/datalibweb/SEDLAC-03.do index f62055f..9c29423 100644 --- a/src/personal/datalibweb/SEDLAC-03.do +++ b/src/personal/datalibweb/SEDLAC-03.do @@ -6,6 +6,7 @@ global pid com global defmod pov global hhmlist `""HHD", "REG""' global indmlist `""ALL", "EDU", "DMR", "GMD", "IND", "LAB", "POV""' +global period global root global rootname SEDLAC global subfolders Data\Harmonized diff --git a/src/plus/d/datalibweb.ado b/src/plus/d/datalibweb.ado index ca69bf6..5b74d59 100644 --- a/src/plus/d/datalibweb.ado +++ b/src/plus/d/datalibweb.ado @@ -356,7 +356,7 @@ program define datalibweb, rclass else global r${rootcpi}cpivin `cpivin' } else global r${rootcpi}cpivin ${l${rootcpi}cpivin} //use latest - global cpiw ${cpiw}¶1=${r${rootcpi}cpivin} + if `"${cpiw}"'~="" global cpiw ${cpiw}¶1=${r${rootcpi}cpivin} *noi dis "$cpiw" } //only for harmonized data diff --git a/src/plus/d/datalibweb.sthlp b/src/plus/d/datalibweb.sthlp index 92f85bb..7b0d4b8 100644 --- a/src/plus/d/datalibweb.sthlp +++ b/src/plus/d/datalibweb.sthlp @@ -28,6 +28,7 @@ Sections are presented under the following headings: {it:{help datalibweb##desc:Command description}} {it:{help datalibweb##param:Parameters description}} + {it:{help datalibweb##module:Modules by collection}} {it:{help datalibweb##Examples:Examples}} {it:{help datalibweb##PPP:PPP Conversion}} {it:{help datalibweb##disclaimer:Disclaimer}} @@ -101,13 +102,17 @@ collection to see all available harmonized and raw survey dataset. Users can use {synopt:{opt mod:ule(string)}}lists of modules to be merged and loaded. It is ONLY AVAILABLE for some collections such as ({it:eappov}, ({it:ecapov} and {it:eusilc}). It identifies the modules to be merged and loaded. Enter a number list with the modules desired. If none is entered, {cmd:datalibweb} will load the default module defined by each type/collection, for example 3 (Household Consumption) for {it:ecapov} collection, and module D (Household Register) for {it:eusilc}. The variables m{it:xyz} are created and contain the results from merging modules {it:x}, {it:y} and {it:z}. Below are some examples of modules across collections. {p_end} - The following modules are available for the {it:eusilc} collection: + The following modules (for now) are available for the {it:GMD} collection: + - GPWG + - ALL + + The following modules are available for the {it:EUSILC} or {it:UDB-C} or {it:UDB-L} collection: - D Household Register - H Household - R Personal Register - P Personal - For {it:ecapov}, the following modules are available: + For {it:ECAPOV}, the following modules are available: - 2 Individual Characteristics - 3 Household Consumption - 4 Utilities Expenses @@ -115,12 +120,37 @@ The variables m{it:xyz} are created and contain the results from merging modules - 7 Income - 9 Access to basic service and assets - For {it:eappov}, the following modules are available: + For {it:EAPPOV}, the following modules are available: - B Basic data - H Household - I Individual - POV Poverty + For {it:SEDLAC-03} collection, the following modules are available: + - POV: Poverty + - HHD: Household + - IND: Individual + - EDU: Education + - DMR: Demographic + - LAB: Labor + - REG: Geography regions + - GMD + - ALL + +{synopt:{opt period:(string)}} It is ONLY AVAILABLE for some collections such as ({it:SEDLAC} and {it:LABLAC}) +Enter the period desired. If none is entered, {cmd:datalibweb} will load the default period defined by each type/collection, for example q04 (quarter IV) for {it:LABLAC} collection, and s2 (semester II) for Argentina in {it:SEDLAC}.{p_end} + + For the {it:LABLAC} collection, the following modules are available: + - q01: Quarter I + - q02: Quarter II + - q03: Quarter III + - q04: Quarter IV + + For {it:SEDLAC} collection, the following modules are available for Argentina only: + - s1: Semester I + - s2: Semester II + + {dlgtab:Versions} {synopt:{opt verm:aster(#)}}specifies the master version to be used. By default, the latest version is selected if it is omitted.{p_end} @@ -221,10 +251,56 @@ By typing {helpb return list}, the following results are reported: {dlgtab: basic syntax} +{pstd} {it:GMD}:{p_end} + +{p 8 12}{stata "datalibweb, country(col) years(2017) type(GMD) mod(all) clear" :.datalibweb, country(col) years(2017) type(GMD) mod(all) clear}{p_end} + +{pstd} It opens all variables in GMD - Global Monitoring Database for Colombia 2017 from GMD public collection.{p_end} + +{p 8 12}{stata "datalibweb, country(col) years(2017) type(GMD) mod(GPWG) clear" :.datalibweb, country(col) years(2017) type(GMD) mod(GPWG) clear}{p_end} + +{pstd} It opens the core variables in GMD - Global Monitoring Database for Colombia 2017 from GMD public collection.{p_end} + +{pstd} {it:ECAPOV}:{p_end} + {p 8 12}{stata "datalibweb, country(alb) years(2005) type(ecapov) clear" :.datalibweb, country(alb) years(2005) type(ecapov) clear}{p_end} {pstd} It opens the default module (module 3 - Household Consumption) for Albania 2005 from ECAPOV collection. The default module is different for collections.{p_end} +{pstd} {it:SEDLAC}:{p_end} + +{p 8 12}{stata "datalibweb, country(ecu) years(2017) type(SEDLAC-03) mod(pov) clear" :.datalibweb, country(ecu) years(2017) type(SEDLAC-03) mod(pov) clear}{p_end} + +{pstd} It opens the POVerty module for Ecuador 2017 from SEDLAC project 03 collection. See {it:{help datalibweb##module:Modules by collection}}.{p_end} + +{p 8 12}{stata "datalibweb, country(ecu) years(2015) type(SEDLAC-02) mod(pov ind) clear" :.datalibweb, country(ecu) years(2015) type(SEDLAC-02) mod(pov ind) clear}{p_end} + +{pstd} It opens the POVerty and INDividual modules for Ecuador 2015 from SEDLAC project 02 collection. See {it:{help datalibweb##module:Modules by collection}}. You may merge different modules when provide the list of them in mod(). {p_end} + +{pstd} For more information about availability and comparability of SEDLAC collection visit LACequityLAB.{p_end} + +{p 8 12}{stata "datalibweb, country(arg) years(2017) type(SEDLAC-03) mod(pov) period(s1) clear" :.datalibweb, country(ecu) years(2017) type(SEDLAC-03) mod(pov) period(s1) clear}{p_end} + +{pstd} It opens the POVerty module for Argentina 2017 Semester I from SEDLAC project 03 collection. See {it:{help datalibweb##module:Modules by collection}}.{p_end} + +{pstd} {it:LABLAC}:{p_end} + +{p 8 12}{stata "datalibweb, country(ecu) years(2017) type(LABLAC-01) clear" :.datalibweb, country(ecu) years(2017) type(LABLAC-01) clear}{p_end} + +{pstd} It opens harmonized labor survey for Ecuador 2017-IV from LABLAC project 01 collection. Quarter IV is the default period.{p_end} + +{p 8 12}{stata "datalibweb, country(ecu) years(2017) type(LABLAC-01) period(q02) clear" :.datalibweb, country(ecu) years(2017) type(LABLAC-01) period(q02) clear}{p_end} + +{pstd} It opens harmonized labor survey for Ecuador 2017-II from LABLAC project 01 collection.{p_end} + +{dlgtab: LCU poverty lines equivalent to international poverty lines: plppp} + +{p 8 12}{stata "datalibweb, country(rus) years(2009) type(ecapov) ppp(2011) plppp(1.9 3.2) clear":.datalibweb, country(rus) years(2009) type(ecapov) ppp(2011) plppp(1.9 3.2) clear}{p_end} + +{pstd} It opens the module 3 (Household Consumption) for Russian Federation 2009 and estimates poverty lines in current LCU equivalent to US$1.9 and US$3.2 at 2011 PPP.{p_end} + +{dlgtab: welfare variables into PPP values: incppp} + {dlgtab: plppp} {p 8 12}{stata "datalibweb, country(rus) years(2009) type(ecapov) ppp(2011) plppp(1.9 3.1) clear":.datalibweb, country(rus) years(2009) type(ecapov) ppp(2011) plppp(1.9 3.1) clear}{p_end} @@ -285,7 +361,7 @@ By typing {helpb return list}, the following results are reported: {pstd} It gets the list of LABLAC raw files. User needs to select one file as there is no default one.{p_end} -{p 8 12}{stata "datalibweb, country(col) year(2012) type(lablac)" }{p_end} +{p 8 12}{stata "datalibweb, country(col) year(2012) type(lablac-01)" }{p_end} {pstd} It gets the harmonized LABLAC file for LABLC, COL 2012. The default file is Q4 (quarter 4).{p_end} @@ -297,7 +373,7 @@ By typing {helpb return list}, the following results are reported: {pstd} It gets raw file for sedlac.{p_end} -{p 8 12}{stata "datalibweb, country(col) year(2012) type(sedlac)" }{p_end} +{p 8 12}{stata "datalibweb, country(ecu) year(2012) type(sedlac-03)" }{p_end} {pstd} It gets the sedlac file with the default one.{p_end} diff --git a/src/plus/d/datalibweb_ini.zip b/src/plus/d/datalibweb_ini.zip index 424e856..fcc276e 100644 Binary files a/src/plus/d/datalibweb_ini.zip and b/src/plus/d/datalibweb_ini.zip differ diff --git a/src/srcAug152019.zip b/src/srcAug152019.zip new file mode 100644 index 0000000..3d65b10 Binary files /dev/null and b/src/srcAug152019.zip differ