-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
@@ -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) | ||
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 GitHub Actions / Build markdown source files if valid
|
||
:::::::::::::::::::::::::: | ||
|
||
::::::::::::::::::::::::::::::::::::::::::: | ||
|