Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hrbrmstr/longurl
:information_source: Small R package for no-API-required URL expansion
https://github.com/hrbrmstr/longurl
r r-cyber rstats url url-shortener
Last synced: 10 days ago
JSON representation
:information_source: Small R package for no-API-required URL expansion
- Host: GitHub
- URL: https://github.com/hrbrmstr/longurl
- Owner: hrbrmstr
- License: other
- Created: 2015-06-23T15:37:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-06-23T14:21:27.000Z (over 4 years ago)
- Last Synced: 2024-10-12T21:25:15.883Z (26 days ago)
- Topics: r, r-cyber, rstats, url, url-shortener
- Language: R
- Homepage:
- Size: 56.6 KB
- Stars: 33
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: rmarkdown::github_document
---
```{r pkg-knitr-opts, include=FALSE}
hrbrpkghelpr::global_opts()
``````{r badges, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::stinking_badges()
``````{r description, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::yank_title_and_description()
```## What's Inside The Tin
The following functions are implemented:
```{r ingredients, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::describe_ingredients()
```## Installation
```{r install-ex, results='asis', echo=FALSE, cache=FALSE}
hrbrpkghelpr::install_block()
```## Usage
```{r vers, message=FALSE, warning=FALSE, error=FALSE, cache=FALSE}
library(longurl)
library(magrittr)# current version
packageVersion("longurl")
``````{r ex1}
c(
"http://t.co/D4C7aWYIiA",
"1.usa.gov/1J6GNoW",
"ift.tt/1L2Llfr",
"bit.ly/1GPr5w5",
"http://l.dds.ec/1da152x",
"http://l.rud.is/seven",
"qrp://not a valid url/"
) -> test_urlsexpand_urls(test_urls) %>%
dplyr::select(orig_url, status_code, expanded_url) %>%
knitr::kable()
```## longurl Metrics
```{r cloc, echo=FALSE}
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.