-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.Rmd
More file actions
113 lines (69 loc) · 2.66 KB
/
index.Rmd
File metadata and controls
113 lines (69 loc) · 2.66 KB
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
---
title: "Reproducibility from Day 1"
author:
- "Lars Vilhuber"
- "Marie Connolly"
- "Miklós Koren"
date: 3 January 2026
---
```{r config,include=FALSE}
library(qrcode)
# The repository name
message(Sys.getenv("GITHUB_REPOSITORY"))
# Process the repository name to generate the URL
# - split the two components
# - combine them into a URL with 'github.io' in the middle
SUBDIRECTORY <- "" # Leave this empty if this file is in the main directory of the repository
GITHUB_REPOSITORY <- Sys.getenv("GITHUB_REPOSITORY")
GITHUB_REPOSITORY_PARTS <- strsplit(GITHUB_REPOSITORY, "/")[[1]]
REPOSITORY_URL <- paste0("https://github.com/", GITHUB_REPOSITORY)
WEBSITE_URL <- paste0("https://", GITHUB_REPOSITORY_PARTS[1], ".github.io/", GITHUB_REPOSITORY_PARTS[2], "/", SUBDIRECTORY)
WEBSITE_SHORT <- paste0(GITHUB_REPOSITORY_PARTS[1], ".github.io/", GITHUB_REPOSITORY_PARTS[2], "/", SUBDIRECTORY)
```
```{r, child=c(here::here('00-qrcode.md'))}
```
```{r, child=c(here::here('00-follow-along.md'))}
```
# 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/) 
- [AEA Data and Code Repository](https://www.openicpsr.org/openicpsr/search/aea/studies)
## Example of deposit

## AEA policy

# 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%"}

:::
::: {.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('06-robust-code.md'))}
```
```{r, child=c(here::here('07-secrets-in-code.md'))}
```
```{r, child=c(here::here('80-wrapping-up.md'))}
```
##
```{r, child=c(here::here('99-links.md'))}
```