Skip to content

Commit

Permalink
fix zip data issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Degoot-AM committed Apr 26, 2024
1 parent 05228be commit 65f5d3d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions episodes/read-cases.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ head(ebola_confirmed, 5)
library("rio")
library("here")
# read data
print(getwd())
case_data <- rio::import(here::here("built", "data", "ebola_cases.csv"))
# preview data
head(case_data, 5)
Expand All @@ -72,16 +71,22 @@ Take 1 minute:

::::::::::::::::: hint

You can check the [full list of supported file formats](http://gesistsa.github.io/rio/#supported-file-formats) in the
`{rio}` package on the package website. Here is a selection of some key ones. You can also download a zip file for
[Marburg outbreak](https://github.com/epiverse-trace/tutorials-early/blob/md-outputs-PR-39/data/Marburg.zip)
You can check the [full list of supported file formats](http://gesistsa.github.io/rio/#supported-file-formats)

Check warning on line 74 in episodes/read-cases.Rmd

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

[needs HTTPS]: [full list of supported file formats](http://gesistsa.github.io/rio/#supported-file-formats)
in the `{rio}` package on the package website. Here is a selection of some key ones:


```{r, eval=FALSE}
rio::install_formats()
```

::::::::::::::::::::::

::::::::::::::::: solution

```{r,eval=FALSE}
rio::import(here::here("some", "where", "downto", "path", "file_name.zip"))
```

Click [here](https://github.com/epiverse-trace/tutorials-early/tree/md-outputs-PR-39/data/Marburg.zip) to download a zip file containing data for Marburg outbreak and then import it to your working environment.

Check warning on line 89 in episodes/read-cases.Rmd

View workflow job for this annotation

GitHub Actions / Build markdown source files if valid

::::::::::::::::::::::::::

:::::::::::::::::::::::::::::::::::::::::::
Expand Down

0 comments on commit 65f5d3d

Please sign in to comment.