-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
113 lines (87 loc) · 3.72 KB
/
README.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
# Swiss research programmes for development
<!-- badges: start -->
[![Gitmoji](https://img.shields.io/badge/gitmoji-%20😜%20😍-FFDD67.svg)](https://gitmoji.dev)
<!-- badges: end -->
The goal of this project is to show the projects running under the Swiss Programme for Research on Global Issues for Development ([r4d](http://www.r4d.ch/)) on the world map.
### Data dictionary
#### `projects.csv`
> Subset of `P3_GrantExport.csv` from [P3](http://p3.snf.ch/Pages/DataAndDocumentation.aspx).
|Attribute |Type |Description |
|:------------------|:---------|:---------------------------------|
|project_number |character |P3 grant id |
|project_title |character |P3 grant title |
|funding_instrument |factor |`r4d`, `SPIRIT`, etc. |
|start_date |date |`%b %Y` |
|end_date |date |`%b %Y` |
|approved_amount |integer |Grant size in CHF |
|running |boolean |Inform whether grant is running |
|institution |character |coordinating institution |
|university |character |coordinating university |
#### `people.csv`
|Attribute |Type |Description |
|:----------------|:---------|:----------------------|
|project_number |character |P3 grant id |
|person_id_snsf |character |P3 person id |
|role |factor |[Project as](role) |
|institute_name |character |[Details](instname) |
|institute_place |character |[Details](instpalce) |
|institute_id_p3 |character |P3 institute ID |
#### `gmaps.csv`
|Attribute |Type |Description |
|:-----------------|:---------|:------------------------|
|institute_id |character |P3 institute number |
|gmaps_id |character |Google maps id |
|gmaps_lat |numeric |Latitude |
|gmaps_lng |numeric |Longitude |
|gmaps_name |character |Name on google maps |
|gmaps_addr |character |Address on google maps |
|gmaps_www |character |Webpage on google maps |
|gmaps_country |character |Country on google maps |
#### `disciplines.csv`
|Attribute |Type |Description |
|:-----------------|:---------|:------------------------|
|project_number |character |P3 grant id |
|disciplines |character |P3 discipline name |
|tier |integer |Discipline hierarchy |
[role]: http://p3.snf.ch/Pages/DataAndDocumentation.aspx#Projects%20as%20responsible%20Applicant "Example"
[instname]: http://p3.snf.ch/Pages/DataAndDocumentation.aspx#Institute%20Name "Institute name"
[instplace]: http://p3.snf.ch/Pages/DataAndDocumentation.aspx#Institute%20Place "Institute place"
Explore the [raw data](https://flatgithub.com/zambujo/r4data).
### (Pseudo-)Schema
![](./data/schema.svg)
## Simplified Tree
```
.
├── DESCRIPTION
├── LICENSE
├── install.R
├── data
│ ├── disciplines.csv
│ ├── gmaps.csv
│ ├── people.csv
│ ├── projects.csv
│ └── schema.svg
├── docs
│ └── index.html
├── inst
│ └── extdata
│ └── p3-tables.yml
├── README.md
└── Rmd
├── explore.Rmd
└── gather.Rmd
```
## License
Distributed under the MIT License.
## Acknowledgments
See list of packages in [DESCRIPTION file](./DESCRIPTION).