You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-10Lines changed: 16 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,6 @@ To use the game filter and access the game data, you need to install the `devtoo
12
12
```r
13
13
install.packages("devtools")
14
14
```
15
-
or from the development version on GitHub
16
-
```r
17
-
devtools::install_github("r-lib/devtools")
18
-
```
19
15
20
16
Then you can install the AustroGames package:
21
17
```r
@@ -30,21 +26,31 @@ data(Descriptions)
30
26
data(Cultures)
31
27
data(Sources)
32
28
```
33
-
The data can be viewed:
29
+
The data can be examined further:
34
30
```r
35
31
str(Games)
36
-
str(Descriptions)
37
-
str(Cultures)
38
-
str(Sources)
32
+
head(Games)
33
+
dim(Games)
34
+
colnames(Games)
39
35
```
40
36
41
37
To apply filters to the data, use `game_filter`.
42
38
43
-
In the following example of `game_filter`, we select the rows that were coded as being a rule-based game (i.e., no simple play), games that were coded as having a foreign origin (i.e., introduced into the cultural group), and games from ethnolinguistic groups that correspond to the Austronesian language phylogeny from Gray et al. (2009).
39
+
In the following example of `game_filter`, we select the rows that were coded as being a rule-based game (i.e., no simple play), games that were coded as having a non-local origin (i.e., introduced into the cultural group), and games from ethnolinguistic groups that correspond to the Austronesian language phylogeny from Gray et al. (2009).
For further help on the filtering options and data contents, see `?game_filter``?Games``?Descriptions``?Cultures``?Sources` and `?AustroGames`. Also see our publication (URL coming soon) for more information on data collection and data coding.
0 commit comments