knitr::opts_chunk$set(collapse=TRUE, fig.retina=2, message=FALSE, warning=FALSE)
options(width=120)

Travis-CI Build Status Coverage Status CRAN_Status_Badge

crux

Identify the Crux of an Article

Description

Methods are provided to retrieve HTML content and return extracted metadata and summarised plain text. Further methods are provided to classify URLs with or without making network calls. Based on https://github.com/chimbori/crux.

What's Inside The Tin

The following functions are implemented:

Installation

install.packages(c("cruxjars", "crux"), repos = "https://cinc.rud.is/")

Usage

library(crux)

# current version
packageVersion("crux")
str(
  summarise_url("http://time.com/5541738/joe-biden-backtracks-pence-praise-criticism/"), 1
)
str(
  classify_url("https://www.washingtonpost.com/powerpost/house-democrats-explode-in-recriminations-as-liberals-lash-out-at-moderates/2019/02/28/c3d163fe-3b87-11e9-a06c-3ec8ed509d15_story.html")
)

crux Metrics

cloc::cloc_pkg_md()

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.



hrbrmstr/crux documentation built on May 6, 2019, 12:09 p.m.