Skip to content

Commit f8ab8b8

Browse files
committed
gunzip Spanish trade data first
1 parent e04dd10 commit f8ab8b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

code/05_read_spanish_trade.do

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ save `twelvemonths', replace emptyok
2424

2525
local months jan feb mar apr may jun jul aug sep oct nov dec
2626
foreach month in `months' {
27+
capture confirm file data/agenciatributaria/`month'.csv
28+
if _rc {
29+
shell gunzip data/agenciatributaria/`month'.csv.gz
30+
}
2731
import delimited using data/agenciatributaria/`month'.csv, clear
2832

2933
keep if flow=="E" /* only export */

0 commit comments

Comments
 (0)