From 587a5d4f4fe58f696cf89e5193f2785969a1ddd4 Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Tue, 2 Jul 2024 13:23:00 +0100 Subject: [PATCH] Revert "Try putting data on web" This reverts commit 2e0565ee141543ca26900f55d216d34b160bd370. --- source/exercise_solutions.Rmd | 2 +- website/.gitignore | 1 - website/Makefile | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/source/exercise_solutions.Rmd b/source/exercise_solutions.Rmd index 0610d70a..8c17d30b 100644 --- a/source/exercise_solutions.Rmd +++ b/source/exercise_solutions.Rmd @@ -769,7 +769,7 @@ import pandas as pd rnd = np.random.default_rng() -exchange_df = pd.read_csv('https://resampling-stats.github.io/data/exchange_rates.csv') +exchange_df = pd.read_csv('data/exchange_rates.csv') exchange_rates = np.array(exchange_df['exchange_rate']) money_supply = np.array(exchange_df['money_supply']) ``` diff --git a/website/.gitignore b/website/.gitignore index 7e4a8a84..2d19fc76 100644 --- a/website/.gitignore +++ b/website/.gitignore @@ -1,2 +1 @@ *.html -data/ diff --git a/website/Makefile b/website/Makefile index ff19a25f..6835e713 100644 --- a/website/Makefile +++ b/website/Makefile @@ -1,11 +1,5 @@ -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