Skip to content

Commit

Permalink
Generate HTML page showing how examples can be run
Browse files Browse the repository at this point in the history
  • Loading branch information
statwonk committed Sep 20, 2015
1 parent e867ded commit 0a6be1a
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ library("openNHTSA")

## Examples

The wrapper currently supports two facilities: [`complaints`](http://www.nhtsa.gov/webapi/Default.aspx?Complaints/Metadata/81) and [`recalls`](http://www.nhtsa.gov/webapi/Default.aspx?Recalls/Metadata/83). Here's an html document showing [how results of the examples should look](https://github.com/statwonk/openNHTSA/blob/master/README.Rmd).

Complaints are reports filed by vehicle owners with the NHTSA.

```{r}
complaints <- facility("complaints") %>%
nhtsa_fetch()
Expand Down
170 changes: 170 additions & 0 deletions README.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ library("openNHTSA")

## Examples

The wrapper currently supports two facilities: [`complaints`](http://www.nhtsa.gov/webapi/Default.aspx?Complaints/Metadata/81) and [`recalls`](http://www.nhtsa.gov/webapi/Default.aspx?Recalls/Metadata/83). Here's an rmarkdown document showing [how results of the examples should look](https://github.com/statwonk/openNHTSA/blob/master/README.Rmd).

Complaints are reports filed by vehicle owners with the NHTSA.

```{r}
complaints <- facility("complaints") %>%
nhtsa_fetch()
Expand Down

0 comments on commit 0a6be1a

Please sign in to comment.