-
Notifications
You must be signed in to change notification settings - Fork 0
/
sourceCode.html
390 lines (340 loc) · 15.7 KB
/
sourceCode.html
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title></title>
</head>
<body>
<!-- <meta name="viewport" content="width=device-width, initial-scale=1" /> -->
<link href="auxDocs/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="auxDocs/gallery.css" type="text/css" />
<link rel="stylesheet" href="auxDocs/reset.css" type="text/css" />
<link rel="stylesheet" href="auxDocs/et-book.css" type="text/css" />
<link rel="stylesheet" href="auxDocs/riley.css" type="text/css" />
<!-- <link rel="stylesheet" href="auxDocs/riley-navbar.css" type="text/css" /> -->
<style type="text/css">
/*h1 {*/
/*font-size: 34px;*/
/*}*/
/*h1.title {*/
/*font-size: 38px;*/
/*}*/
/*h2 {*/
/*font-size: 30px;*/
/*}*/
/*h3 {*/
/*font-size: 24px;*/
/*}*/
/*h4 {*/
/*font-size: 18px;*/
/*}*/
/*h5 {*/
/*font-size: 16px;*/
/*}*/
/*h6 {*/
/*font-size: 12px;*/
/*}*/
/*.table th:not([align]) {*/
/*text-align: left;*/
/*}*/
.main-container {
max-width: 940px;
margin-left: auto;
margin-right: auto;
}
code {
color: inherit;
/*background-color: rgba(0, 0, 0, 0.04);*/
}
/*img {*/
/*max-width:100%;*/
/*height: auto;*/
/*}*/
/*.tabbed-pane {*/
/*padding-top: 12px;*/
/*}*/
/*button.code-folding-btn:focus {*/
/*outline: none;*/
/*}*/
/*</style>
<style type="text/css">*/
/* padding for bootstrap navbar */
body {
padding-top: 51px;
padding-bottom: 40px;
}
/* offset scroll position for anchor links (for fixed navbar) */
.section h1 {
padding-top: 56px;
margin-top: -56px;
}
.section h2 {
padding-top: 56px;
margin-top: -56px;
}
.section h3 {
padding-top: 56px;
margin-top: -56px;
}
.section h4 {
padding-top: 56px;
margin-top: -56px;
}
.section h5 {
padding-top: 56px;
margin-top: -56px;
}
.section h6 {
padding-top: 56px;
margin-top: -56px;
}
</style>
<!-- <script> -->
<!-- // manage active state of menu based on current page -->
<!-- $(document).ready(function () { -->
<!-- // active menu anchor -->
<!-- href = window.location.pathname -->
<!-- href = href.substr(href.lastIndexOf('/') + 1) -->
<!-- if (href === "") -->
<!-- href = "index.html"; -->
<!-- var menuAnchor = $('a[href="' + href + '"]'); -->
<!-- -->
<!-- // mark it active -->
<!-- menuAnchor.parent().addClass('active'); -->
<!-- -->
<!-- // if it's got a parent navbar menu mark it active as well -->
<!-- menuAnchor.closest('li.dropdown').addClass('active'); -->
<!-- }); -->
<!-- </script> -->
<!-- </head> -->
<!-- <body> -->
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
<!-- CODEFOLDING SCRIPT -->
<!-- <script>
window.initializeCodeFolding = function(show) {
// handlers for show-all and hide all
$("#rmd-show-all-code").click(function() {
$('div.r-code-collapse').each(function() {
$(this).collapse('show');
});
});
$("#rmd-hide-all-code").click(function() {
$('div.r-code-collapse').each(function() {
$(this).collapse('hide');
});
});
// index for unique code element ids
var currentIndex = 1;
// select all R code blocks
var rCodeBlocks = $('pre.r');
rCodeBlocks.each(function() {
// create a collapsable div to wrap the code in
var div = $('<div class="collapse r-code-collapse"></div>');
if (show)
div.addClass('in');
var id = 'rcode-643E0F36' + currentIndex++;
div.attr('id', id);
$(this).before(div);
$(this).detach().appendTo(div);
// add a show code button right above
var showCodeText = $('<span>' + (show ? 'Hide' : 'Code') + '</span>');
var showCodeButton = $('<button type="button" class="btn btn-default btn-xs code-folding-btn pull-right"></button>');
showCodeButton.append(showCodeText);
showCodeButton
.attr('data-toggle', 'collapse')
.attr('data-target', '#' + id)
.attr('aria-expanded', show)
.attr('aria-controls', id);
var buttonRow = $('<div class="row"></div>');
var buttonCol = $('<div class="col-md-12"></div>');
buttonCol.append(showCodeButton);
buttonRow.append(buttonCol);
div.before(buttonRow);
// update state of button on show/hide
div.on('hidden.bs.collapse', function () {
showCodeText.text('Code');
});
div.on('show.bs.collapse', function () {
showCodeText.text('Hide');
});
});
}
</script> -->
<div class="container-fluid main-container">
<div class="navbar navbar-default navbar-fixed-top" role=
"navigation">
<div class="container">
<div class="navbar-header"><a class="navbar-brand" href="index.html"><i class="fa fa-home" aria-hidden="true"></i></a></div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav"></ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="litSearchMethods.html">Methods</a>
</li>
<li>
<a href="graphicsGallery.html">DataViz <!--& Tabulations--></a>
</li>
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">< Source Code ></a>
<ul class="dropdown-menu" role="button">
<li><a href="QCA.nb.html"><code>R</code> Source Code & Output Notebook</a></li>
<li><a href="sourceCode.html"><code>R</code> & <code>SQL</code> Source Files & Data</a></li>
</ul>
</li>
<!-- <li> -->
<!-- <a target="_blank" href="auxDocs/_journal-Passcode.html"> [<i class="fa fa-lock" aria-hidden="true"></i>]</a> -->
<!-- </li> -->
<!-- </ul>
</li> -->
</ul>
</div>
<!--/.nav-collapse --></div>
<!--/.container --></div>
<!--/.navbar -->
<div class="fluid-row" id="header"></div>
</div>
<h1 class="title toc-ignore">Source Code used for Systematic Literature Review & Analyses<br />
<figure class="title">
<img src="Rlogo.png" height="20%" width="20%" />
</figure></h1>
<blockquote style="text-align: right;">
“People who love statistics are damned to hell for all eternity, people who like R even more so.”
</blockquote>
<blockquote style="text-align: right;">
<footer>
A. Field, Miles, & Field (2012), p. xxv
</footer>
</blockquote>
<hr class="Bold" />
<div id="r-code" class="section level1">
<h1><code>R</code> Code</h1>
<ul>
<li><a href="cdbk.R" class="uri">cdbk.R</a></li>
<li><a href="cluster-populations.R" class="uri">cluster-populations.R</a></li>
<li><a href="cluster-sampling.R" class="uri">cluster-sampling.R</a></li>
<li><a href="cluster.R" class="uri">cluster.R</a></li>
<li><a href="dbsrch.R" class="uri">dbsrch.R</a></li>
<li><a href="journals.R" class="uri">journals.R</a></li>
<li><a href="MAPrqda.R" class="uri">MAPrqda.R</a></li>
<li><a href="netwrk-topics.R" class="uri">netwrk-topics.R</a></li>
<li><a href="QCA.R" class="uri">QCA.R</a></li>
</ul>
<!-- end of list -->
</div>
<div id="sql-queries" class="section level1">
<h1><code>SQL</code> Queries</h1>
<ul>
<li><a href="data/sql/freecode-NEWCASES-20170717.sql">freecode-NEWCASES-20170717.sql</a></li>
<li><a href="data/sql/RQDA-setSeltext-s3.sql">RQDA-setSeltext-s3.sql</a></li>
<li><a href="data/sql/RQDA-setSeltext-s4.sql">RQDA-setSeltext-s4.sql</a></li>
<li><a href="data/sql/RQDAmap---dataCleaning.sql">RQDAmap—dataCleaning.sql</a></li>
<li><a href="data/sql/RQDAmap--caselinkage.sql">RQDAmap–caselinkage.sql</a></li>
<li><a href="data/sql/RQDAmap--cases.sql">RQDAmap–cases.sql</a></li>
<li><a href="data/sql/RQDAmap--codecat.sql">RQDAmap–codecat.sql</a></li>
<li><a href="data/sql/RQDAmap--codingTbl--INCLUDE.sql">RQDAmap–codingTbl–INCLUDE.sql</a></li>
<li><a href="data/sql/RQDAmap--freecode.sql">RQDAmap–freecode.sql</a></li>
<li><a href="data/sql/RQDAmap--treecode.sql">RQDAmap–treecode.sql</a></li>
<li><a href="data/sql/RQDAmap-caseAttr-INCL.sql">RQDAmap-caseAttr-INCL.sql</a></li>
<li><a href="data/sql/RQDAmap-caseAttr-RMV.sql">RQDAmap-caseAttr-RMV.sql</a></li>
<li><a href="data/sql/RQDAmap-caseAttr-SEARCH.sql">RQDAmap-caseAttr-SEARCH.sql</a></li>
<li><a href="data/sql/RQDAmap-coding-ANALYSIS.sql">RQDAmap-coding-ANALYSIS.sql</a></li>
<li><a href="data/sql/RQDAmap-coding-M_SAMPLING-s3.sql">RQDAmap-coding-M_SAMPLING-s3.sql</a></li>
<li><a href="data/sql/RQDAmap-coding-M_SAMPLING.sql">RQDAmap-coding-M_SAMPLING.sql</a></li>
<li><a href="data/sql/RQDAmap-coding-M_SETTINGS.sql">RQDAmap-coding-M_SETTINGS.sql</a></li>
<li><a href="data/sql/RQDAmap-codingTbl-ecoLvls.sql">RQDAmap-codingTbl-ecoLvls.sql</a></li>
<li><a href="data/sql/RQDAmap-codingTbl-POP-s3.sql">RQDAmap-codingTbl-POP-s3.sql</a></li>
<li><a href="data/sql/RQDAmap-codingTbl-POP-s4.sql">RQDAmap-codingTbl-POP-s4.sql</a></li>
<li><a href="data/sql/RQDAmap-codingtbl-s3.sql">RQDAmap-codingtbl-s3.sql</a></li>
<li><a href="data/sql/RQDAmap-codingTbl-s4.sql">RQDAmap-codingTbl-s4.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-ANALYSIS.sql">RQDAmap-freecode-ANALYSIS.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-M_SAMPLING.sql">RQDAmap-freecode-M_SAMPLING.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-M_SETTINGS.sql">RQDAmap-freecode-M_SETTINGS.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-Mmm.sql">RQDAmap-freecode-Mmm.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-Mo.sql">RQDAmap-freecode-Mo.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-Mql.sql">RQDAmap-freecode-Mql.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-Mqt.sql">RQDAmap-freecode-Mqt.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-Pop.sql">RQDAmap-freecode-Pop.sql</a></li>
<li><a href="data/sql/RQDAmap-freecode-TOP.sql">RQDAmap-freecode-TOP.sql</a></li>
</ul>
<!-- end of list -->
</div>
<div id="data-files-generated-fromfor-r-code-rqda-sql-queries" class="section level1">
<h1>Data Files Generated from/for <code>R</code> code, <code>RQDA</code>, & <code>SQL</code> queries</h1>
<ul>
<li><a href="analysisCodes.csv" class="uri">analysisCodes.csv</a></li>
<li><a href="analyticApproaches-codings-2.csv" class="uri">analyticApproaches-codings-2.csv</a></li>
<li><a href="analyticApproaches-codings.csv" class="uri">analyticApproaches-codings.csv</a></li>
<li><a href="AnalyticApproaches-s3.csv" class="uri">AnalyticApproaches-s3.csv</a></li>
<li><a href="AnalyticApproaches-s4.csv" class="uri">AnalyticApproaches-s4.csv</a></li>
<li><a href="cpm-selPoints.csv" class="uri">cpm-selPoints.csv</a></li>
<li><a href="ipvJournalsSearch.csv" class="uri">ipvJournalsSearch.csv</a></li>
<li><a href="MAP-abstracts-S3.csv" class="uri">MAP-abstracts-S3.csv</a></li>
<li><a href="MAP-abstracts-S4.csv" class="uri">MAP-abstracts-S4.csv</a></li>
<li><a href="MAP-caseAttr-INCL-2.csv" class="uri">MAP-caseAttr-INCL-2.csv</a></li>
<li><a href="MAP-caseAttr-INCL.csv" class="uri">MAP-caseAttr-INCL.csv</a></li>
<li><a href="MAP-selPoints.csv" class="uri">MAP-selPoints.csv</a></li>
<li><a href="mapeco.csv" class="uri">mapeco.csv</a></li>
<li><a href="maplvls.csv" class="uri">maplvls.csv</a></li>
<li><a href="p_s3.csv" class="uri">p_s3.csv</a></li>
<li><a href="p_s4.csv" class="uri">p_s4.csv</a></li>
<li><a href="qualDesigns.csv" class="uri">qualDesigns.csv</a></li>
<li><a href="RQDA-casesTbl.csv" class="uri">RQDA-casesTbl.csv</a></li>
<li><a href="RQDA-Mmm-freecode.csv" class="uri">RQDA-Mmm-freecode.csv</a></li>
<li><a href="RQDA-Mo-freecode.csv" class="uri">RQDA-Mo-freecode.csv</a></li>
<li><a href="RQDA-Mql-freecode.csv" class="uri">RQDA-Mql-freecode.csv</a></li>
<li><a href="RQDA-Mqt-freecode.csv" class="uri">RQDA-Mqt-freecode.csv</a></li>
<li><a href="RQDA-Pop-freecode.csv" class="uri">RQDA-Pop-freecode.csv</a></li>
<li><a href="RQDA-T-freecode.csv" class="uri">RQDA-T-freecode.csv</a></li>
<li><a href="RQDAmap-caseids-INCL.csv" class="uri">RQDAmap-caseids-INCL.csv</a></li>
<li><a href="RQDAmap-freecode-AnalyticApproaches.csv" class="uri">RQDAmap-freecode-AnalyticApproaches.csv</a></li>
<li><a href="RQDAQuery-MAPseltext-s3.csv" class="uri">RQDAQuery-MAPseltext-s3.csv</a></li>
<li><a href="RQDAQuery-MAPseltext-s4.csv" class="uri">RQDAQuery-MAPseltext-s4.csv</a></li>
<li><a href="RQDAQuery-MAPseltext.csv" class="uri">RQDAQuery-MAPseltext.csv</a></li>
<li><a href="s3-selPoints.csv" class="uri">s3-selPoints.csv</a></li>
<li><a href="s3topics.csv" class="uri">s3topics.csv</a></li>
<li><a href="s4-selPoints.csv" class="uri">s4-selPoints.csv</a></li>
<li><a href="s4topics.csv" class="uri">s4topics.csv</a></li>
<li><a href="selPoints.csv" class="uri">selPoints.csv</a></li>
<li><a href="states_new.csv" class="uri">states_new.csv</a></li>
<li><a href="states.csv" class="uri">states.csv</a></li>
<li><a href="usmap.csv" class="uri">usmap.csv</a></li>
<li><a href="usmap2.csv" class="uri">usmap2.csv</a></li>
</ul>
<!-- end of list -->
</div>
<hr class="Bold" />
<style>
</style>
<div style="width:25%;color:rgba(0, 0, 0, 0.6);text-align:left;font-size:0.75rem;float:right">
<!-- <div class="contactIcons"> -->
<span style="color:#404040;" class="lmText" id="lmText"></span><span id="lmDate" class="lmDate"></span>
<hr />
<a href="mailto:rms7@pdx.edu" target="_blank" aria-label="Email: rms7@pdx.edu" class="iconOnly"><i class="fa fa-envelope" aria-hidden="true"></i></a> <a href="https://www.linkedin.com/in/rachel-smith-9b8b2931/" target="_blank" aria-label="Linked In" class="iconOnly"><i class="fa fa-linkedin-square"></i></a> <a href="https://github.com/eccriley" target="_blank" aria-label="Github" class="iconOnly"><i class="fa fa-github-square" aria-hidden="true"></i></a> <a href="https://twitter.com/rileymsmith19" target="_blank" aria-label="Twitter" class="iconOnly"><i class="fa fa-twitter-square" aria-hidden="true"></i></a>
<!-- </div> -->
<hr />
<span>Design by <a href="EccRiley.github.io"><em><strong>Rachel ("Riley") Smith-Hunter</strong></em></a> based on the <a href="https://github.com/edwardtufte/tufte-css"><em><code>Tufte CSS</code></em></a> theme by <a href="https://github.com/daveliepmann"><em>Dave Liepmann</em></a> & <a href="https://github.com/edwardtufte"><em>Edward Tufte</em></a></span>
<hr />
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Conducting a Community-Psychology-Focused & Action-Oriented Systematic Literature Review using R, SQL, & Git</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://eccriley.github.io/CommPsy-SysLitRvw/" property="cc:attributionName" rel="cc:attributionURL">Rachel M. Smith-Hunter</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>. Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="EccRiley.github.io" rel="dct:source">EccRiley.github.io</a>.<br /><br />
<script src="auxDocs/lastModified.js"></script>
</div>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML";
document.getElementsByTagName("head")[0].appendChild(script);
})();
</script>
</body>
</html>