From eaae317bdb4bd2eb70c7064df939d989b83a9d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96m=C3=BCr=20=C3=96zkir?= Date: Wed, 29 Jul 2020 08:16:52 +0200 Subject: [PATCH] rename the public interface to dataset --- README.md | 6 +++--- src/Hamburg.jl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e4506051..a5aea438 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A little package that makes various information about Hamburg, Germany available ```julia using Hamburg -datasets(topic, dataset) +dataset(topic, dataset) ``` ## Topics @@ -21,7 +21,7 @@ Source: [hamburg.de](https://www.hamburg.de/corona-zahlen) Number of people infected by covid-19, recorded since July 27, 2020 -`datasets("covid-19", "infected")` +`dataset("covid-19", "infected")` ##### boroughs @@ -29,4 +29,4 @@ The number infected, by borough. These are aggregated numbers, representing the cases for the last 14 days. This is so that the privacy of individuals can be guaranteed. -`datasets("covid-19", "boroughs")` +`dataset("covid-19", "boroughs")` diff --git a/src/Hamburg.jl b/src/Hamburg.jl index 815adb10..2a82b8bb 100644 --- a/src/Hamburg.jl +++ b/src/Hamburg.jl @@ -5,7 +5,7 @@ export datasets include("covid-19/Covid19.jl") -function datasets(topic, dataset) +function dataset(topic, dataset) CSV.read("src/$topic/$dataset.csv") end