Science Score: 18.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.1%) to scientific vocabulary
Last synced: 10 months ago
·
JSON representation
·
Repository
What the Package Does (One Line, Title Case)
Basic Info
- Host: GitHub
- Owner: CindySun0309
- License: other
- Language: R
- Default Branch: main
- Size: 42 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 0
Created over 2 years ago
· Last pushed over 2 years ago
Metadata Files
Readme
License
Citation
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# citation
[](https://github.com/CindySun0309/citation/actions/workflows/R-CMD-check.yaml)
The goal of citation is to provide users an APA citation when given a user's Google API and article title.
## Installation
You can install the development version of citation from [GitHub](https://github.com/) with:
```{r}
devtools::install_github("CindySun0309/citation")
```
## Attaining a Citation
Given a Google API code and article title, the `APA()` function quickly retrieves the APA information of an article from Google Scholar.
```{r example}
api_example <- readLines("example_api_k.txt")
library(citation)
example <- APA("Variation in Chinese population health related quality of life: results from a EuroQol study in Beijing, China", api_example)
example
```
## Citation Data
The metadata that comes with the citation package contains an example data frame which has one row, an article, and columns which associate with parts of the APA citation.
```{r}
head(citation_data)
Owner
- Name: Cindy Sun
- Login: CindySun0309
- Kind: user
- Repositories: 1
- Profile: https://github.com/CindySun0309
Citation (citation.Rproj)
Version: 1.0 RestoreWorkspace: No SaveWorkspace: No AlwaysSaveHistory: Default EnableCodeIndexing: Yes UseSpacesForTab: Yes NumSpacesForTab: 2 Encoding: UTF-8 RnwWeave: Sweave LaTeX: pdfLaTeX AutoAppendNewline: Yes StripTrailingWhitespace: Yes LineEndingConversion: Posix BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source PackageRoxygenize: rd,collate,namespace
GitHub Events
Total
Last Year
Dependencies
DESCRIPTION
cran
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v3 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