Description Usage Arguments Details Value Examples
View source: R/download_data.R
Download and extract data from preset online sources, specifying the name of the dataset.
1 | download_data(dataset = NULL)
|
dataset |
String containing the name of the dataset. Valid values
include:
- |
This supersedes the method for pulling hk_accidents
,
hk_casualties
, and hk_vehicles
due to the size of the data file. Refer
to https://hong-kong-districts-info.github.io/hkdatasets/ to access the
data documentation for three datsets.
A data frame is returned.
1 2 | # You can download and return a dataset with the following code:
download_data(dataset = "hk_vehicles")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.