|
1 | | -# README |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | -# Using diffr for more than two files |
9 | 1 |
|
| 2 | +Using diffr for more than two files |
| 3 | +=================================== |
10 | 4 |
|
11 | 5 | **Status** |
12 | 6 |
|
13 | 7 | *unstable* - in wild developement with fuRiouS rEstRucturINg and biG biG pOKing |
14 | 8 |
|
15 | | -[](https://travis-ci.org/petermeissner/diffrprojects) |
16 | | - |
| 9 | +[](https://travis-ci.org/petermeissner/diffrprojects) [](https://codecov.io/gh/petermeissner/diffrprojects/tree/master/R) [](https://cran.r-project.org/package=diffrprojects) |
17 | 10 |
|
18 | 11 | **Version** |
19 | 12 |
|
20 | 13 | 0.1.2.90000 |
21 | 14 |
|
22 | | - |
23 | 15 | **Description** |
24 | 16 |
|
25 | | -This is a description still to be done but to |
26 | | - prevent checks about complaining about to short descriptions |
27 | | - this does not simply read TBD. |
28 | | - |
| 17 | +This is a description still to be done but to prevent checks about complaining about to short descriptions this does not simply read TBD. |
29 | 18 |
|
30 | 19 | **License** |
31 | 20 |
|
32 | | -MIT + file LICENSE <br>Peter Meissner [aut, cre], |
33 | | - Ulrich Sieberer [cph], |
34 | | - University of Konstanz [cph] |
35 | | - |
36 | | - |
37 | | - |
| 21 | +MIT + file LICENSE <br>Peter Meissner \[aut, cre\], Ulrich Sieberer \[cph\], University of Konstanz \[cph\] |
38 | 22 |
|
39 | 23 | **Citation** |
40 | 24 |
|
| 25 | +Meißner P (2016). *diffrprojects: Using diffr for more than two texts*. R package version 0.1.2.90000, <URL: <https://github.com/petermeissner/diffrprojects>>. |
41 | 26 |
|
42 | | - |
43 | | -Meißner P (2016). _diffrprojects: Using diffr for more than two texts_. R package version |
44 | | -0.1.2.90000, <URL: https://github.com/petermeissner/diffrprojects>. |
45 | | - |
46 | | -Sieberer U, Meißner P, Keh J and Müller W (2016). "Mapping and Explaining Parliamentary Rule |
47 | | -Changes in Europe: A Research Program." _Legislative Studies Quarterly_, *41*(1), pp. 61-88. ISSN |
48 | | -1939-9162, doi: 10.1111/lsq.12106 (URL: http://doi.org/10.1111/lsq.12106), <URL: |
49 | | -http://dx.doi.org/10.1111/lsq.12106>. |
| 27 | +Sieberer U, Meißner P, Keh J and Müller W (2016). "Mapping and Explaining Parliamentary Rule Changes in Europe: A Research Program." *Legislative Studies Quarterly*, *41*(1), pp. 61-88. ISSN 1939-9162, doi: 10.1111/lsq.12106 (URL: <http://doi.org/10.1111/lsq.12106>), <URL: <http://dx.doi.org/10.1111/lsq.12106>>. |
50 | 28 |
|
51 | 29 | **BibTex for citing** |
52 | 30 |
|
53 | | - |
54 | | -```r |
| 31 | +``` r |
55 | 32 | toBibtex(citation("diffrprojects")) |
56 | 33 | ``` |
57 | 34 |
|
58 | | - |
59 | | - |
60 | 35 | **Installation** |
61 | 36 |
|
62 | | - |
63 | | -```r |
64 | | - install.packages("diffrprojects", repos = "https://petermeissner.github.io/drat") |
| 37 | +``` r |
| 38 | +install.packages("diffrprojects", repos = "https://petermeissner.github.io/drat") |
65 | 39 | ``` |
66 | 40 |
|
67 | | - |
68 | | - |
69 | | - |
70 | 41 | **Example Usage** |
71 | 42 |
|
72 | | - |
73 | | -```r |
| 43 | +``` r |
74 | 44 | library(diffrprojects) |
75 | 45 | ``` |
76 | 46 |
|
77 | | -``` |
78 | | -## Loading required package: stringb |
79 | | -``` |
| 47 | + ## Loading required package: stringb |
80 | 48 |
|
81 | | -``` |
82 | | -## Loading required package: rtext |
83 | | -``` |
| 49 | + ## Loading required package: rtext |
84 | 50 |
|
85 | | -```r |
| 51 | +``` r |
86 | 52 | dp <- diffrproject$new() |
87 | 53 |
|
88 | 54 | testfiles <- rtext:::testfile(pattern="rc_\\d.txt", full.names = TRUE) |
89 | 55 |
|
90 | 56 | dp$text_add(testfiles) |
91 | 57 | ``` |
92 | 58 |
|
93 | | -``` |
94 | | -## rtext : initializing |
95 | | -``` |
| 59 | + ## rtext : initializing |
96 | 60 |
|
97 | | -``` |
98 | | -## rtext : initializing |
99 | | -## rtext : initializing |
100 | | -``` |
| 61 | + ## rtext : initializing |
| 62 | + ## rtext : initializing |
101 | 63 |
|
102 | | -```r |
| 64 | +``` r |
103 | 65 | names(dp$texts) |
104 | 66 | ``` |
105 | 67 |
|
106 | | -``` |
107 | | -## [1] "rc_1.txt" "rc_2.txt" "rc_3.txt" |
108 | | -``` |
| 68 | + ## [1] "rc_1.txt" "rc_2.txt" "rc_3.txt" |
109 | 69 |
|
110 | | -```r |
| 70 | +``` r |
111 | 71 | dp$text_data() |
112 | 72 | ``` |
113 | 73 |
|
114 | | -``` |
115 | | -## text_file character encoding sourcetype |
116 | | -## 1 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_1.txt 926166 UTF-8 text_file |
117 | | -## 2 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_2.txt 844551 UTF-8 text_file |
118 | | -## 3 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_3.txt 643012 UTF-8 text_file |
119 | | -``` |
| 74 | + ## text_file character encoding sourcetype |
| 75 | + ## 1 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_1.txt 926166 UTF-8 text_file |
| 76 | + ## 2 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_2.txt 844551 UTF-8 text_file |
| 77 | + ## 3 C:/Users/peter/R/win-library/3.3/rtext/testfiles/rc_3.txt 643012 UTF-8 text_file |
120 | 78 |
|
121 | | -```r |
| 79 | +``` r |
122 | 80 | dp$texts_link() |
123 | 81 | dp$links |
124 | 82 | ``` |
125 | 83 |
|
126 | | -``` |
127 | | -## $rc_1.txt_rc_2.txt |
128 | | -## $rc_1.txt_rc_2.txt$from |
129 | | -## [1] "rc_1.txt" |
130 | | -## |
131 | | -## $rc_1.txt_rc_2.txt$to |
132 | | -## [1] "rc_2.txt" |
133 | | -## |
134 | | -## |
135 | | -## $rc_2.txt_rc_3.txt |
136 | | -## $rc_2.txt_rc_3.txt$from |
137 | | -## [1] "rc_2.txt" |
138 | | -## |
139 | | -## $rc_2.txt_rc_3.txt$to |
140 | | -## [1] "rc_3.txt" |
141 | | -``` |
142 | | - |
143 | | - |
144 | | - |
145 | | - |
146 | | - |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
153 | | - |
| 84 | + ## $rc_1.txt_rc_2.txt |
| 85 | + ## $rc_1.txt_rc_2.txt$from |
| 86 | + ## [1] "rc_1.txt" |
| 87 | + ## |
| 88 | + ## $rc_1.txt_rc_2.txt$to |
| 89 | + ## [1] "rc_2.txt" |
| 90 | + ## |
| 91 | + ## |
| 92 | + ## $rc_2.txt_rc_3.txt |
| 93 | + ## $rc_2.txt_rc_3.txt$from |
| 94 | + ## [1] "rc_2.txt" |
| 95 | + ## |
| 96 | + ## $rc_2.txt_rc_3.txt$to |
| 97 | + ## [1] "rc_3.txt" |
0 commit comments