mirror of https://git.sr.ht/~hrbrmstr/hgr
boB Rudis
7 years ago
9 changed files with 85 additions and 30 deletions
@ -1,10 +1,18 @@ |
|||
# Generated by roxygen2: do not edit by hand |
|||
|
|||
S3method(print,hgr) |
|||
export(clean_text) |
|||
export(just_the_facts) |
|||
import(clipr) |
|||
import(htmltools) |
|||
import(httr) |
|||
import(purrr) |
|||
import(xslt) |
|||
importFrom(jsonlite,fromJSON) |
|||
importFrom(jsonlite,toJSON) |
|||
importFrom(readr,col_character) |
|||
importFrom(readr,col_datetime) |
|||
importFrom(readr,cols) |
|||
importFrom(readr,type_convert) |
|||
importFrom(rvest,html_text) |
|||
importFrom(xml2,read_html) |
|||
|
@ -0,0 +1,13 @@ |
|||
.hgr_cols <- readr::cols( |
|||
title = readr::col_character(), |
|||
content = readr::col_character(), |
|||
author = readr::col_character(), |
|||
date_published = readr::col_datetime(format = ""), |
|||
lead_image_url = readr::col_character(), |
|||
url = readr::col_character(), |
|||
domain = readr::col_character(), |
|||
excerpt = readr::col_character(), |
|||
direction = readr::col_character() |
|||
) |
|||
|
|||
.hgr_ua <- "hgr R package / github.com/hrbrmstr/hgr" |
Loading…
Reference in new issue