-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from worldbank/v3.2
V3.2
- Loading branch information
Showing
27 changed files
with
178 additions
and
135 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
// Main syntax --------------------------------------------------------------------------------- | ||
|
||
|
@@ -158,7 +158,8 @@ cap program drop iecodebook_export | |
program iecodebook_export | ||
|
||
syntax [anything] [using/] /// | ||
, [replace] [save] [saveas(string asis)] [trim(string asis)] /// User-specified options | ||
, [replace] [save] [saveas(string asis)] /// User-specified options | ||
[trim(string asis)] [trimkeep(string asis)] /// User-specified options | ||
[SIGNature] [reset] [PLAINtext(string)] [noexcel] [verify] /// Signature and verify options | ||
[match] [template(string asis)] [tempfile] // Programming options | ||
|
||
|
@@ -274,7 +275,7 @@ qui { | |
di as err "You are dropping all variables. This is not allowed. {bf:iecodebook} will now exit." | ||
error 198 | ||
} | ||
keep `theKeepList' // Keep only variables mentioned in the dofiles | ||
keep `theKeepList' `trimkeep' // Keep only variables mentioned in the dofiles | ||
} // End [trim] option | ||
|
||
// Prepare to save and sign | ||
|
@@ -703,7 +704,6 @@ qui { | |
} | ||
if "`: list allVars - theNameList'" != "" { | ||
if "`drop'" != "" { | ||
pause | ||
local firstDrop "drop `: list allVars - theNameList'" | ||
} | ||
else { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
capture program drop iecompdup | ||
program iecompdup , rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
cap program drop iecorrect | ||
program iecorrect | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
capture program drop ieduplicates | ||
program ieduplicates , rclass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
capture program drop iefieldkit | ||
program iefieldkit, rclass | ||
|
||
* UPDATE THESE LOCALS FOR EACH NEW VERSION PUBLISHED | ||
local version "3.1" | ||
local versionDate "7JAN2023" | ||
local version "3.2" | ||
local versionDate "31JUL2023" | ||
|
||
syntax [anything] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
*! version 3.1 7JAN2023 DIME Analytics [email protected] | ||
*! version 3.2 31JUL2023 DIME Analytics [email protected] | ||
|
||
capture program drop ietestform | ||
program ietestform , rclass | ||
|
@@ -232,9 +232,17 @@ qui { | |
TEST - Encryption key not included/errors | ||
***********************************************/ | ||
|
||
*converting public_key to string to convert from numeric incase of missing public_key | ||
tostring public_key, replace | ||
local public_key = public_key[1] | ||
*Testing if a variable pulbic_key at all exists | ||
cap confirm variable public_key | ||
if _rc { | ||
local public_key = "" | ||
} | ||
*If varialbe exists, convert whatever value (or missing) to string | ||
else { | ||
tostring public_key, replace | ||
local public_key = public_key[1] | ||
} | ||
|
||
|
||
cap assert !missing("`public_key'") | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{smcl} | ||
{* 7 Jan 2023}{...} | ||
{* 31 Jul 2023}{...} | ||
{hline} | ||
help for {hi:iecompdup} | ||
{hline} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{smcl} | ||
{* 7 Jan 2023}{...} | ||
{* 31 Jul 2023}{...} | ||
{hline} | ||
help for {hi:iecorrect} | ||
{hline} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{smcl} | ||
{* 7 Jan 2023}{...} | ||
{* 31 Jul 2023}{...} | ||
{hline} | ||
help for {hi:ieduplicates} | ||
{hline} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{smcl} | ||
{* 7 Jan 2023}{...} | ||
{* 31 Jul 2023}{...} | ||
{hline} | ||
help for {hi:iefieldkit} | ||
{hline} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{smcl} | ||
{* 7 Jan 2023}{...} | ||
{* 31 Jul 2023}{...} | ||
{hline} | ||
help for {hi:ietestform} | ||
{hline} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
v 3.1 | ||
v 3.2 | ||
d DIME Analytics, World Bank Group, Development Economics Research | ||
p iefieldkit DIME Analytics iefieldkit |