Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Maximilian Sprengholz
a-long-view
Commits
a5374e81
Commit
a5374e81
authored
Nov 19, 2020
by
Maximilian Sprengholz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update v1.1.0
parent
b81602cc
Pipeline
#13995
passed with stages
in 9 seconds
Changes
5
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
323 deletions
+2
-323
results/figures/InkscapeBatchConvert.bat
results/figures/InkscapeBatchConvert.bat
+0
-51
results/figures/convert/InkscapeBatchConvert.bat
results/figures/convert/InkscapeBatchConvert.bat
+0
-51
results/figures/convert/sum_edu.pdf
results/figures/convert/sum_edu.pdf
+0
-0
results/figures/convert/sum_edu.svg
results/figures/convert/sum_edu.svg
+0
-219
src/mz_o_00_master.do
src/mz_o_00_master.do
+2
-2
No files found.
results/figures/InkscapeBatchConvert.bat
deleted
100644 → 0
View file @
b81602cc
@Echo
off
set
"inkscapePath=C:\Users\sprenmax\InkscapePortable\InkscapePortable.exe"
set
/a
count
=
0
set
validInput1
=
svg
set
validInput2
=
pdf
set
validInput3
=
eps
set
validOutput1
=
eps
set
validOutput2
=
pdf
set
validOutput3
=
png
echo
This
script
allows
you
to
convert
all
files
in
this
folder
from
one
file
type
to
another
.
set
valid
=
0
echo
Allowed
file
types
for
source
:
%validInput1
%
,
%validInput2
%
,
%validInput3
%
:whileInNotCorrect
set
/p
sourceType
=
What
file
type
do
you
want
to
use
as
a
source
?
if
"
%sourceType%
"
EQU
"
%validInput1
%
"
set
valid
=
1
if
"
%sourceType%
"
EQU
"
%validInput2
%
"
set
valid
=
1
if
"
%sourceType%
"
EQU
"
%validInput3
%
"
set
valid
=
1
if
%valid%
EQU
0
(
echo
Invalid
input
!
Please
use
one
of
the
following
:
%validInput1
%
,
%validInput2
%
,
%validInput3
%
goto
:whileInNotCorrect
)
set
valid
=
0
echo
Allowed
file
types
for
output
:
%validOutput1
%
,
%validOutput2
%
,
%validOutput3
%
:whileOutNotCorrect
set
/p
outputType
=
What
file
type
do
you
want
to
convert
to
?
if
"
%outputType%
"
EQU
"
%validOutput1
%
"
set
valid
=
1
if
"
%outputType%
"
EQU
"
%validOutput2
%
"
set
valid
=
1
if
"
%outputType%
"
EQU
"
%validOutput3
%
"
set
valid
=
1
if
%valid%
EQU
0
(
echo
Invalid
input
!
Please
use
one
of
the
following
:
%validOutput1
%
,
%validOutput2
%
,
%validOutput3
%
goto
:whileOutNotCorrect
)
:: Set DPI for exported file
set
/p
dpi
=
With
what
dpi
should
it
be
exported
(
e
.g.
300
)?
:: Running through all files found with the defined ending
for
%%i
in
(
.\
*
.
%sourceType%
)
do
(
set
/a
count
=
count
+
1
echo
%%i
to
%%~ni
.
%outputType%
"
%inkscapePath%
"
--without-gui --file
=
"
%%i
"
--export
-
%outputType%
=
"
%%~ni
.
%outputType%
"
--export-dpi
=
%dpi%
)
echo
%count%
file
(
s
)
converted
from
%sourceType%
to
%outputType%!
pause
results/figures/convert/InkscapeBatchConvert.bat
deleted
100644 → 0
View file @
b81602cc
@Echo
off
set
"inkscapePath=C:\Users\sprenmax\InkscapePortable\InkscapePortable.exe"
set
/a
count
=
0
set
validInput1
=
svg
set
validInput2
=
pdf
set
validInput3
=
eps
set
validOutput1
=
eps
set
validOutput2
=
pdf
set
validOutput3
=
png
echo
This
script
allows
you
to
convert
all
files
in
this
folder
from
one
file
type
to
another
.
set
valid
=
0
echo
Allowed
file
types
for
source
:
%validInput1
%
,
%validInput2
%
,
%validInput3
%
:whileInNotCorrect
set
/p
sourceType
=
What
file
type
do
you
want
to
use
as
a
source
?
if
"
%sourceType%
"
EQU
"
%validInput1
%
"
set
valid
=
1
if
"
%sourceType%
"
EQU
"
%validInput2
%
"
set
valid
=
1
if
"
%sourceType%
"
EQU
"
%validInput3
%
"
set
valid
=
1
if
%valid%
EQU
0
(
echo
Invalid
input
!
Please
use
one
of
the
following
:
%validInput1
%
,
%validInput2
%
,
%validInput3
%
goto
:whileInNotCorrect
)
set
valid
=
0
echo
Allowed
file
types
for
output
:
%validOutput1
%
,
%validOutput2
%
,
%validOutput3
%
:whileOutNotCorrect
set
/p
outputType
=
What
file
type
do
you
want
to
convert
to
?
if
"
%outputType%
"
EQU
"
%validOutput1
%
"
set
valid
=
1
if
"
%outputType%
"
EQU
"
%validOutput2
%
"
set
valid
=
1
if
"
%outputType%
"
EQU
"
%validOutput3
%
"
set
valid
=
1
if
%valid%
EQU
0
(
echo
Invalid
input
!
Please
use
one
of
the
following
:
%validOutput1
%
,
%validOutput2
%
,
%validOutput3
%
goto
:whileOutNotCorrect
)
:: Set DPI for exported file
set
/p
dpi
=
With
what
dpi
should
it
be
exported
(
e
.g.
300
)?
:: Running through all files found with the defined ending
for
%%i
in
(
.\
*
.
%sourceType%
)
do
(
set
/a
count
=
count
+
1
echo
%%i
to
%%~ni
.
%outputType%
"
%inkscapePath%
"
--without-gui --file
=
"
%%i
"
--export
-
%outputType%
=
"
%%~ni
.
%outputType%
"
--export-dpi
=
%dpi%
)
echo
%count%
file
(
s
)
converted
from
%sourceType%
to
%outputType%!
pause
results/figures/convert/sum_edu.pdf
deleted
100644 → 0
View file @
b81602cc
File deleted
results/figures/convert/sum_edu.svg
deleted
100644 → 0
View file @
b81602cc
This diff is collapsed.
Click to expand it.
src/mz_o_00_master.do
View file @
a5374e81
...
...
@@ -31,8 +31,8 @@ global dir_mz "C:/Users/sprenmax/Desktop/MZ/Daten/" // Microcensus data
global dir_mzproc "C:/Users/sprenmax/Desktop/MZ/newdata/Max/" // Microcensus data processed
// Run code
//
do "${dir_src}mz_o_01_kldb.do" // prep kldb -> isco translation
//
do "${dir_src}mz_o_02_gen.do" // generate pooled and harmonized analysis dataset
do "${dir_src}mz_o_01_kldb.do" // prep kldb -> isco translation
do "${dir_src}mz_o_02_gen.do" // generate pooled and harmonized analysis dataset
do "${dir_src}mz_o_03_analysis.do" // analysis
do "${dir_src}mz_o_04_analysis_incl_east.do" // analysis
do "${dir_src}mz_o_04_emr_inflows.do" // visualization of register data on foreigner inflows
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment