-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
127 lines (73 loc) · 2.57 KB
/
index.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
title: "Reproducibility from Day 1"
author:
- "Lars Vilhuber"
- "Marie Connolly"
- "Miklós Koren"
date: January 2025
---
## Follow along
:::: {.columns}
::: {.column width="30%"}
:::
::: {.column width="40%"}
![](images/qr-day1-lars.png){width="350" height="350"}
:::
::: {.column width="30%"}
:::
::::
[lars.vilhuber.com/p/assa2025/](https://lars.vilhuber.com/p/assa2025/)
# Reproducibility from Day 1
Journals require that you **share your code and data** in a replication package at the end of your research project.
Following some best practices from day 1 can not only **help you prepare** this package later, but also make you **more productive** researchers.
## What is a replication package?
- [AEA Data and Code Availability policy](https://www.aeaweb.org/journals/data/data-code-policy)
- [Data and Code Availability Standard](https://datacodestandard.org/) ![](https://datacodestandard.org/assets/img/DCAS-1.0.png)
- [AEA Data and Code Repository](https://www.openicpsr.org/openicpsr/search/aea/studies)
## Example of deposit
![](images/aea-repo-example.png)
## AEA policy
![](images/aea-dcap-top.png)
# Goal
- [ ] Illustrate principles of reproducible research from the start
- [ ] Stay reasonably close to an ideal reproducibility Standard
- [ ] Use tools that are widely available and easy to use
## Scenario
We start with an empty folder, and an idea.
:::: {.columns}
::: {.column width="50%"}
![](images/fig1.png)
:::
::: {.column width="50%"}
**Does procurement in the EU have a bias towards local providers?**
:::
::::
We finish with a mini-project about public procurement across various European countries.
```{r, child=c(here::here('01-setup.md'))}
```
```{r, child=c(here::here('02-provenance.md'))}
```
```{r, child=c(here::here('03-structure.md'))}
```
```{r, child=c(here::here('04-re-structure.md'))}
```
```{r, child=c(here::here('05-robust-code.md'))}
```
```{r, child=c(here::here('06-secrets-in-code.md'))}
```
# Part 2
:::: {.columns}
::: {.column width="30%"}
:::
::: {.column width="40%"}
![](images/day-t-online.png){width="350" height="350"}
[Continue to Part 2](https://larsvilhuber.github.io/self-checking-reproducibility/presentation/) ([local](file:///C:/Users/lv39/Documents/GitHub/self-checking-reproducibility/presentation/index.html))
:::
::: {.column width="30%"}
:::
::::
##
Step 5: [Stata](https://drive.google.com/file/d/1-wACVz8iMmDWbuYqLSePc2ZuGp-0yFbv/view?usp=drive_link)
[R](https://drive.google.com/file/d/10Zgjtfd0M4WRJToKt9M08jIoLEKCdaiC/view?usp=drive_link)
```{r, child=c(here::here('99-links.md'))}
```