Skip to content

Commit

Permalink
Try putting data on web
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-brett committed Jul 2, 2024
1 parent 1a90357 commit 2e0565e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion source/exercise_solutions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ import pandas as pd
rnd = np.random.default_rng()
exchange_df = pd.read_csv('data/exchange_rates.csv')
exchange_df = pd.read_csv('https://resampling-stats.github.io/data/exchange_rates.csv')
exchange_rates = np.array(exchange_df['exchange_rate'])
money_supply = np.array(exchange_df['money_supply'])
```
Expand Down
1 change: 1 addition & 0 deletions website/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.html
data/
6 changes: 6 additions & 0 deletions website/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
website: landing-page data

landing-page:
Rscript -e 'rmarkdown::render("index.Rmd")'

data:
mkdir -p data
cp ../source/data/*.csv data

clean:
rm -rf *.html

0 comments on commit 2e0565e

Please sign in to comment.