-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
53 lines (39 loc) · 1.29 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# wibble <img src="man/figures/logo.png" width="160px" align="right" />
<!-- [![Build Status](https://travis-ci.org/mkearney/rtweet.svg?branch=master)](https://travis-ci.org/mkearney/rtweet)
[![CRAN status](https://www.r-pkg.org/badges/version/rtweet)](https://cran.r-project.org/package=rtweet)
[![Coverage Status](https://codecov.io/gh/mkearney/rtweet/branch/master/graph/badge.svg)](https://codecov.io/gh/mkearney/rtweet?branch=master)
![Downloads](https://cranlogs.r-pkg.org/badges/rtweet)
![Downloads](https://cranlogs.r-pkg.org/badges/grand-total/rtweet)-->
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
> Web Data Frames
## Install
Install the dev version from Github:
```{r, eval = FALSE}
## from github
remotes::install_github("mkearney/wibble")
```
## Example
Scrape/wrangle CNN US site
```{r}
## load pkg
library(wibble)
## scrape CNN
cnn <- webble("https://cnn.com/us")
## wibble and wobble
cnn %>%
wibble() %>%
wobble("body div") %>%
wobble("ul")
```