Skip to content

Commit b733931

Browse files
Fix licence (forget Non-Commercial)
1 parent f18a51b commit b733931

File tree

279 files changed

+31768
-977
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+31768
-977
lines changed

.gitignore

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ docs/*.md
77
_book_output
88

99
node_modules/
10-
www/public/
11-
www/resources/
12-
www/static/1e/
13-
www/static/2e/
10+
www/_site
1411

1512
*.rds
1613
/book/2e/*.md

LICENSE

Lines changed: 31 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
Data Science at the Command Line (c) by Jeroen Janssens
22

33
Data Science at the Command Line is licensed under a
4-
Creative Commons Attribution-NoDerivatives 4.0 International License.
5-
6-
7-
Attribution-NoDerivatives 4.0 International
4+
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
85

96
=======================================================================
107

@@ -58,21 +55,20 @@ exhaustive, and do not form part of our licenses.
5855
for the public:
5956
wiki.creativecommons.org/Considerations_for_licensees
6057

61-
6258
=======================================================================
6359

64-
Creative Commons Attribution-NoDerivatives 4.0 International Public
65-
License
60+
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
61+
International Public License
6662

6763
By exercising the Licensed Rights (defined below), You accept and agree
6864
to be bound by the terms and conditions of this Creative Commons
69-
Attribution-NoDerivatives 4.0 International Public License ("Public
70-
License"). To the extent this Public License may be interpreted as a
71-
contract, You are granted the Licensed Rights in consideration of Your
72-
acceptance of these terms and conditions, and the Licensor grants You
73-
such rights in consideration of benefits the Licensor receives from
74-
making the Licensed Material available under these terms and
75-
conditions.
65+
Attribution-NonCommercial-NoDerivatives 4.0 International Public
66+
License ("Public License"). To the extent this Public License may be
67+
interpreted as a contract, You are granted the Licensed Rights in
68+
consideration of Your acceptance of these terms and conditions, and the
69+
Licensor grants You such rights in consideration of benefits the
70+
Licensor receives from making the Licensed Material available under
71+
these terms and conditions.
7672

7773

7874
Section 1 -- Definitions.
@@ -117,21 +113,29 @@ Section 1 -- Definitions.
117113
g. Licensor means the individual(s) or entity(ies) granting rights
118114
under this Public License.
119115

120-
h. Share means to provide material to the public by any means or
116+
h. NonCommercial means not primarily intended for or directed towards
117+
commercial advantage or monetary compensation. For purposes of
118+
this Public License, the exchange of the Licensed Material for
119+
other material subject to Copyright and Similar Rights by digital
120+
file-sharing or similar means is NonCommercial provided there is
121+
no payment of monetary compensation in connection with the
122+
exchange.
123+
124+
i. Share means to provide material to the public by any means or
121125
process that requires permission under the Licensed Rights, such
122126
as reproduction, public display, public performance, distribution,
123127
dissemination, communication, or importation, and to make material
124128
available to the public including in ways that members of the
125129
public may access the material from a place and at a time
126130
individually chosen by them.
127131

128-
i. Sui Generis Database Rights means rights other than copyright
132+
j. Sui Generis Database Rights means rights other than copyright
129133
resulting from Directive 96/9/EC of the European Parliament and of
130134
the Council of 11 March 1996 on the legal protection of databases,
131135
as amended and/or succeeded, as well as other essentially
132136
equivalent rights anywhere in the world.
133137

134-
j. You means the individual or entity exercising the Licensed Rights
138+
k. You means the individual or entity exercising the Licensed Rights
135139
under this Public License. Your has a corresponding meaning.
136140

137141

@@ -145,9 +149,10 @@ Section 2 -- Scope.
145149
exercise the Licensed Rights in the Licensed Material to:
146150

147151
a. reproduce and Share the Licensed Material, in whole or
148-
in part; and
152+
in part, for NonCommercial purposes only; and
149153

150-
b. produce and reproduce, but not Share, Adapted Material.
154+
b. produce and reproduce, but not Share, Adapted Material
155+
for NonCommercial purposes only.
151156

152157
2. Exceptions and Limitations. For the avoidance of doubt, where
153158
Exceptions and Limitations apply to Your use, this Public
@@ -209,7 +214,9 @@ Section 2 -- Scope.
209214
Rights, whether directly or through a collecting society
210215
under any voluntary or waivable statutory or compulsory
211216
licensing scheme. In all other cases the Licensor expressly
212-
reserves any right to collect such royalties.
217+
reserves any right to collect such royalties, including when
218+
the Licensed Material is used other than for NonCommercial
219+
purposes.
213220

214221

215222
Section 3 -- License Conditions.
@@ -269,12 +276,14 @@ apply to Your use of the Licensed Material:
269276

270277
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
271278
to extract, reuse, reproduce, and Share all or a substantial
272-
portion of the contents of the database, provided You do not Share
273-
Adapted Material;
279+
portion of the contents of the database for NonCommercial purposes
280+
only and provided You do not Share Adapted Material;
281+
274282
b. if You include all or a substantial portion of the database
275283
contents in a database in which You have Sui Generis Database
276284
Rights, then the database in which You have Sui Generis Database
277285
Rights (but not its individual contents) is Adapted Material; and
286+
278287
c. You must comply with the conditions in Section 3(a) if You Share
279288
all or a substantial portion of the contents of the database.
280289

@@ -394,4 +403,3 @@ the avoidance of doubt, this paragraph does not form part of the
394403
public licenses.
395404

396405
Creative Commons may be contacted at creativecommons.org.
397-

Makefile

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,18 @@ SHELL = /usr/bin/env bash -o pipefail
88
clean:
99
rm -f book/2e/book.md
1010

11-
live:
12-
cd www && hugo server --disableFastRender
13-
1411
2e: book/2e/*.Rmd
15-
cd book/2e && rm -f book.md && Rscript --vanilla -e 'bookdown::render_book("index.Rmd", encoding = "UTF-8", clean = FALSE)'
16-
17-
hugo:
18-
(cd www && hugo) && \
19-
(cd book/2e/data && zip data */*) && \
20-
mv book/2e/data/data.zip www/static/2e/
12+
cd book/2e &&\
13+
rm -f book.md &&\
14+
Rscript --vanilla -e 'bookdown::render_book("index.Rmd", encoding = "UTF-8", clean = FALSE)'
2115

22-
publish-draft: hugo
23-
netlify deploy --dir www/public
24-
25-
publish-production: hugo
26-
netlify deploy --prod --dir www/public
16+
copy-2e:
17+
cd book/2e/output &&\
18+
rm -f *.md &&\
19+
cp -vr * ../../../www/src/2e/ &&\
20+
cd ../data &&\
21+
zip data */* &&\
22+
mv -v data.zip ../../../www/src/2e/
2723

2824
book/2e/%.utf8.md: book/2e/%.Rmd
2925
cd book/2e && Rscript --vanilla -e 'bookdown::render_book("$*.Rmd", encoding = "UTF-8", preview = TRUE, clean = FALSE, new_session = TRUE)'
@@ -60,3 +56,15 @@ lab:
6056

6157
appendix:
6258
cd book/2e/bin && ./appendix.py > ../tools.Rmd
59+
60+
build-www:
61+
cd www && npm run build
62+
63+
live:
64+
cd www && npm run start
65+
66+
publish-draft: build-www
67+
netlify deploy --dir www/_site
68+
69+
publish-production: build-www
70+
netlify deploy --prod --dir www/_site

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Data Science at the Command Line
22

3-
[![License: CC BY-ND 4.0](https://img.shields.io/badge/License-CC%20BY--ND%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nd/4.0/)
3+
[![License: CC BY-NC-ND 4.0](https://img.shields.io/badge/license-CC%20BY--NC--ND%204.0-orange.svg?style=flat-square)](https://creativecommons.org/licenses/by-nc-nd/4.0/)
44

55
<a href="https://datascienceatthecommandline.com/">
66
<img src="https://datascienceatthecommandline.com/2e/images/cover-readme.png" width="224px" /></a>
77

8-
This repository contains the full text, data, and scripts used in the second edition of the book *Data Science at the Command Line* by Jeroen Janssens. The book is licensed under the Creative Commons Attribution-NoDerivatives 4.0 International License.
8+
This repository contains the full text, data, and scripts used in the second edition of the book *Data Science at the Command Line* by Jeroen Janssens. The book is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
99

1010
You can read the book for free at https://datascienceatthecommandline.com.

book/2e/_bookdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
book_filename: "book"
22
repo: https://github.com/jeroenjanssens/data-science-at-the-command-line
3-
output_dir: "../../www/static/2e"
3+
output_dir: "output"
44
link-citations: true
55
language:
66
ui:

0 commit comments

Comments
 (0)