Science Score: 36.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (15.1%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
Repository
Open Graph Protocol for R
Basic Info
- Host: GitHub
- Owner: christopherkenny
- License: other
- Language: R
- Default Branch: main
- Homepage: http://christophertkenny.com/opengraph/
- Size: 1.19 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 1
Created over 1 year ago
· Last pushed 10 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = '#>',
fig.path = 'man/figures/README-',
out.width = '100%'
)
```
# opengraph
[](https://christopherkenny.r-universe.dev/opengraph)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[](https://github.com/christopherkenny/opengraph/actions/workflows/R-CMD-check.yaml)
[](https://app.codecov.io/gh/christopherkenny/opengraph?branch=main)
The goal of `opengraph` is to read and process Open Graph Protocol metadata on websites.
## Installation
You can install the development version of `opengraph` from [GitHub](https://github.com/) with:
``` r
# install.packages('pak')
pak::pak('christopherkenny/opengraph')
```
## Example
This is a relatively simple package.
The main function is `og_parse()` which returns a named vector of Open Graph metadata found on a given webpage.
```{r parse}
library(opengraph)
url <- 'https://christophertkenny.com/opengraph/'
og_parse(url)
```
The package can also read specific Open Graph properties with `og_property()`.
Properties can be prefixed with `og:` or not.
```{r property}
og_property(url, 'og:title')
og_property(url, 'title')
```
If there is no Open Graph metadata found, `og_parse()` will return an empty named vector.
```{r none}
og_parse('https://cran.r-project.org/')
```
Owner
- Name: Christopher T. Kenny
- Login: christopherkenny
- Kind: user
- Location: Cambridge, MA
- Company: Harvard University
- Website: https://www.christophertkenny.com
- Twitter: chris_t_kenny
- Repositories: 78
- Profile: https://github.com/christopherkenny
Redistricting and rstats. Harvard University, PhD Candidate, Department of Government. Cornell '19.
GitHub Events
Total
- Release event: 1
- Watch event: 1
- Public event: 1
- Push event: 38
- Create event: 2
Last Year
- Release event: 1
- Watch event: 1
- Public event: 1
- Push event: 38
- Create event: 2
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Christopher Kenny | c****4@c****u | 24 |
Committer Domains (Top 20 + Academic)
cornell.edu: 1
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 236 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: opengraph
Process Metadata from the 'Open Graph Protocol'
- Homepage: https://github.com/christopherkenny/opengraph
- Documentation: http://cran.r-project.org/web/packages/opengraph/opengraph.pdf
- License: MIT + file LICENSE
-
Latest release: 0.0.3
published 10 months ago
Rankings
Dependent packages count: 27.6%
Dependent repos count: 34.0%
Average: 49.5%
Downloads: 86.9%
Maintainers (1)
Last synced:
10 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- rvest * imports
- testthat >= 3.0.0 suggests
.github/workflows/test-coverage.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite