Skip to content

Commit a13a218

Browse files
krlmlrclaude
andcommitted
docs: State the goals and non-goals
The README now says, up front, what this package undertakes to do and what it leaves to others, so a reader can tell in a few seconds whether it is the right tool. The scope comes from the repository itself: the DESCRIPTION Title, Description and Imports; LazyData and the data/ directory; the LICENSE file, which records the copyright holder and licence of each data set; the source and reference sections of the dataset documentation; the exported surface in NAMESPACE, which is the lesmis_*() example-file accessors and the netzschleuder accessors and nothing else; and the limits that ns_metadata() and ns_df() enforce in R/netzschleuder.R. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WWhverMTZZKgEpUuTK117m
1 parent cc22734 commit a13a218

3 files changed

Lines changed: 78 additions & 0 deletions

File tree

‎README.Rmd‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,32 @@ options(pager = function(files, header, title, delete.file) {
3030
This is a data R package, that contains network data sets,
3131
to be used with the igraph R package.
3232

33+
## Goals and non-goals
34+
35+
igraphdata aims to:
36+
37+
- Ship a small collection of network data sets as ready-to-use `igraph` objects,
38+
lazily loaded so that `karate` or `USairports` is there as soon as the package is attached.
39+
- Record where each network came from.
40+
Every data set documents its source and the reference to cite.
41+
- Keep the licensing of the individual data sets visible.
42+
`LICENSE` lists the copyright holder and the licence of each one, separately from the package licence.
43+
- Ship the "Les Miserables" network as example files in the GML, GraphML and Pajek formats,
44+
reachable with `lesmis_gml()`, `lesmis_graphml()` and `lesmis_pajek()`.
45+
- Reach the [netzschleuder](https://networks.skewed.de/) repository from R,
46+
with `ns_metadata()`, `ns_df()` and `ns_graph()`.
47+
48+
It is explicitly not trying to:
49+
50+
- Implement graph algorithms.
51+
The data sets are here to be analysed with igraph, which this package imports.
52+
- Generate networks.
53+
The bundled data sets are fixed, and ship as data files rather than being constructed when the package loads.
54+
- Be an exhaustive catalogue of network data.
55+
The netzschleuder accessors reach a much larger collection that stays outside the package.
56+
- Download whole netzschleuder collections, or files of unbounded size.
57+
Downloading a whole collection is refused, and `ns_df()` takes a `size_limit` argument that defaults to 1 GB.
58+
3359
## Installation
3460

3561
From CRAN:

‎README.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@
1111
This is a data R package, that contains network data sets,
1212
to be used with the igraph R package.
1313

14+
## Goals and non-goals
15+
16+
igraphdata aims to:
17+
18+
- Ship a small collection of network data sets as ready-to-use `igraph` objects,
19+
lazily loaded so that `karate` or `USairports` is there as soon as the package is attached.
20+
- Record where each network came from.
21+
Every data set documents its source and the reference to cite.
22+
- Keep the licensing of the individual data sets visible.
23+
`LICENSE` lists the copyright holder and the licence of each one, separately from the package licence.
24+
- Ship the "Les Miserables" network as example files in the GML, GraphML and Pajek formats,
25+
reachable with `lesmis_gml()`, `lesmis_graphml()` and `lesmis_pajek()`.
26+
- Reach the [netzschleuder](https://networks.skewed.de/) repository from R,
27+
with `ns_metadata()`, `ns_df()` and `ns_graph()`.
28+
29+
It is explicitly not trying to:
30+
31+
- Implement graph algorithms.
32+
The data sets are here to be analysed with igraph, which this package imports.
33+
- Generate networks.
34+
The bundled data sets are fixed, and ship as data files rather than being constructed when the package loads.
35+
- Be an exhaustive catalogue of network data.
36+
The netzschleuder accessors reach a much larger collection that stays outside the package.
37+
- Download whole netzschleuder collections, or files of unbounded size.
38+
Downloading a whole collection is refused, and `ns_df()` takes a `size_limit` argument that defaults to 1 GB.
39+
1440
## Installation
1541

1642
From CRAN:

‎index.md‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@
1111
This is a data R package, that contains network data sets,
1212
to be used with the igraph R package.
1313

14+
## Goals and non-goals
15+
16+
igraphdata aims to:
17+
18+
- Ship a small collection of network data sets as ready-to-use `igraph` objects,
19+
lazily loaded so that `karate` or `USairports` is there as soon as the package is attached.
20+
- Record where each network came from.
21+
Every data set documents its source and the reference to cite.
22+
- Keep the licensing of the individual data sets visible.
23+
`LICENSE` lists the copyright holder and the licence of each one, separately from the package licence.
24+
- Ship the "Les Miserables" network as example files in the GML, GraphML and Pajek formats,
25+
reachable with `lesmis_gml()`, `lesmis_graphml()` and `lesmis_pajek()`.
26+
- Reach the [netzschleuder](https://networks.skewed.de/) repository from R,
27+
with `ns_metadata()`, `ns_df()` and `ns_graph()`.
28+
29+
It is explicitly not trying to:
30+
31+
- Implement graph algorithms.
32+
The data sets are here to be analysed with igraph, which this package imports.
33+
- Generate networks.
34+
The bundled data sets are fixed, and ship as data files rather than being constructed when the package loads.
35+
- Be an exhaustive catalogue of network data.
36+
The netzschleuder accessors reach a much larger collection that stays outside the package.
37+
- Download whole netzschleuder collections, or files of unbounded size.
38+
Downloading a whole collection is refused, and `ns_df()` takes a `size_limit` argument that defaults to 1 GB.
39+
1440
## Installation
1541

1642
From CRAN:

0 commit comments

Comments
 (0)