Description Usage Arguments Value Examples
Dump all records for an event data set
1 2 |
name |
The name of the dataset to extract |
location |
('type = "event"' and 'type = "shape"' only) filter data sets with a valid geojson polygon |
date_begin |
('type = "event"' only) filter data sets for those that begin on or after this date specified in 'YYYY-MM-DD' format |
date_end |
('type = "event"' only) filter data sets for those that end on or before this date specified in 'YYYY-MM-DD' format |
filter |
Attribute filtering, see the [documentation](http://docs.plenar.io/#attribute-filtering) |
A data.table
1 2 3 | x <- event_data(name = "crimes_2001_to_present",
filter = '{"op": "eq", "col": "primary_type", "val": "HOMICIDE"}',
date_begin = "2016-12-01", date_end = "2016-12-31")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.