Skip to content

Commit 003e93d

Browse files
committed
👷 Add TagBot
1 parent 93cb4fa commit 003e93d

File tree

3 files changed

+61
-5
lines changed

3 files changed

+61
-5
lines changed

.github/workflows/TagBot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: TagBot
2+
on:
3+
issue_comment:
4+
types:
5+
- created
6+
schedule:
7+
- cron: 0 * * * *
8+
jobs:
9+
TagBot:
10+
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: JuliaRegistries/TagBot@v1
14+
with:
15+
token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,47 @@
11
# RelationalDatasets.jl
2+
3+
> *A small library for loading and downloading relational datasets.*
4+
>
5+
> or:
6+
>
7+
> *The [`relational-datasets`](https://github.com/srlearn/relational-datasets)
8+
Python package—but written in Julia.*
9+
10+
## Usage
11+
12+
`RelationalDatasets.jl` exports a single function: `load` to return train
13+
and test folds.
14+
15+
```julia
16+
using RelationalDatasets
17+
18+
train, test = load("webkb", "v0.0.4", fold=2)
19+
20+
println(length(train.facts))
21+
```
22+
23+
## Install
24+
25+
### From Registry
26+
27+
WIP
28+
29+
### From GitHub Source
30+
31+
```bash
32+
git clone https://github.com/srlearn/RelationalDatasets.jl.git
33+
cd RelationalDatasets.jl
34+
```
35+
36+
```julia
37+
] add RelationalDatasets
38+
```
39+
40+
`ZipFile.jl` seems to fail occasionally. If an error is raised, try
41+
instantiating the package:
42+
43+
```julia
44+
] activate .
45+
using Pkg
46+
Pkg.instantiate()
47+
```

src/request.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Copyright © 2021 Alexander L. Hayes
22
# Apache 2.0 License
33

4-
# TODO(hayesall): Cross-platform paths?
5-
# TODO(hayesall): ZipFile's build is a little weird, make sure it works in CI
6-
# using Pkg
7-
# Pkg.instantiate()
8-
94
"""Request copies of relational datasets.
105
"""
116

0 commit comments

Comments
 (0)