Skip to content

Commit

Permalink
rename the public interface to dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
oem committed Jul 29, 2020
1 parent ec52069 commit eaae317
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -21,12 +21,12 @@ 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

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")`
2 changes: 1 addition & 1 deletion src/Hamburg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eaae317

Please sign in to comment.