Skip to content

Commit 47ee711

Browse files
committed
Merge commit '24fe235ec6bffc125db90997b5db5f559e9bbb6b'
2 parents 299e6d1 + 24fe235 commit 47ee711

23 files changed

+1688
-86
lines changed

.Rbuildignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
^docs$
66
^pkgdown$
77
^.lintr$
8-
.vscode/
8+
.vscode$
99
^\.github$
1010
terraform/
1111
DEVELOPER.md
12+
^README\.Rmd$
13+
^CODE_OF_CONDUCT\.md$
14+

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ inst/doc
22
**/.quarto/
33
docs
44
.vscode/
5-
terraform/
5+
terraform/
6+
/.quarto/
7+
**/*.quarto_ipynb

CODE_OF_CONDUCT.md

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
# Code of Conduct
2+
3+
We abide the [CU code of conduct](https://www.cu.edu/ope/aps/2027) as part of our association with the University of Colorado Anshutz Medical Campus.
4+
5+
Additionally, we follow the Contributor Covenant Code of Conduct, as found below.
6+
7+
## Contributor Covenant Code of Conduct
8+
9+
## Our Pledge
10+
11+
We as members, contributors, and leaders pledge to make participation in our
12+
community a harassment-free experience for everyone, regardless of age, body
13+
size, visible or invisible disability, ethnicity, sex characteristics, gender
14+
identity and expression, level of experience, education, socioeconomic status,
15+
nationality, personal appearance, race, caste, color, religion, or sexual
16+
identity and orientation.
17+
18+
We pledge to act and interact in ways that contribute to an open, welcoming,
19+
diverse, inclusive, and healthy community.
20+
21+
## Our Standards
22+
23+
Examples of behavior that contributes to a positive environment for our
24+
community include:
25+
26+
- Demonstrating empathy and kindness toward other people
27+
- Being respectful of differing opinions, viewpoints, and experiences
28+
- Giving and gracefully accepting constructive feedback
29+
- Accepting responsibility and apologizing to those affected by our mistakes,
30+
and learning from the experience
31+
- Focusing on what is best not just for us as individuals, but for the overall
32+
community
33+
34+
Examples of unacceptable behavior include:
35+
36+
- The use of sexualized language or imagery, and sexual attention or advances of
37+
any kind
38+
- Trolling, insulting or derogatory comments, and personal or political attacks
39+
- Public or private harassment
40+
- Publishing others' private information, such as a physical or email address,
41+
without their explicit permission
42+
- Other conduct which could reasonably be considered inappropriate in a
43+
professional setting
44+
45+
## Enforcement Responsibilities
46+
47+
Community leaders are responsible for clarifying and enforcing our standards of
48+
acceptable behavior and will take appropriate and fair corrective action in
49+
response to any behavior that they deem inappropriate, threatening, offensive,
50+
or harmful.
51+
52+
Community leaders have the right and responsibility to remove, edit, or reject
53+
comments, commits, code, wiki edits, issues, and other contributions that are
54+
not aligned to this Code of Conduct, and will communicate reasons for moderation
55+
decisions when appropriate.
56+
57+
## Scope
58+
59+
This Code of Conduct applies within all community spaces, and also applies when
60+
an individual is officially representing the community in public spaces.
61+
Examples of representing our community include using an official email address,
62+
posting via an official social media account, or acting as an appointed
63+
representative at an online or offline event.
64+
65+
## Enforcement
66+
67+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
68+
reported to the community leaders responsible for enforcement.
69+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to community leaders responsible for enforcement.
70+
Please open a [new security advisory notice](https://github.com/CU-DBMI/.github/security/advisories/new) (using defaults or “n/a” where unable to fill in the form) to privately notify us of any incidents of this nature.
71+
All complaints will be reviewed and investigated promptly and fairly.
72+
73+
All community leaders are obligated to respect the privacy and security of the
74+
reporter of any incident.
75+
76+
## Enforcement Guidelines
77+
78+
Community leaders will follow these Community Impact Guidelines in determining
79+
the consequences for any action they deem in violation of this Code of Conduct:
80+
81+
### 1. Correction
82+
83+
**Community Impact**: Use of inappropriate language or other behavior deemed
84+
unprofessional or unwelcome in the community.
85+
86+
**Consequence**: A private, written warning from community leaders, providing
87+
clarity around the nature of the violation and an explanation of why the
88+
behavior was inappropriate. A public apology may be requested.
89+
90+
### 2. Warning
91+
92+
**Community Impact**: A violation through a single incident or series of
93+
actions.
94+
95+
**Consequence**: A warning with consequences for continued behavior. No
96+
interaction with the people involved, including unsolicited interaction with
97+
those enforcing the Code of Conduct, for a specified period of time. This
98+
includes avoiding interactions in community spaces as well as external channels
99+
like social media. Violating these terms may lead to a temporary or permanent
100+
ban.
101+
102+
### 3. Temporary Ban
103+
104+
**Community Impact**: A serious violation of community standards, including
105+
sustained inappropriate behavior.
106+
107+
**Consequence**: A temporary ban from any sort of interaction or public
108+
communication with the community for a specified period of time. No public or
109+
private interaction with the people involved, including unsolicited interaction
110+
with those enforcing the Code of Conduct, is allowed during this period.
111+
Violating these terms may lead to a permanent ban.
112+
113+
### 4. Permanent Ban
114+
115+
**Community Impact**: Demonstrating a pattern of violation of community
116+
standards, including sustained inappropriate behavior, harassment of an
117+
individual, or aggression toward or disparagement of classes of individuals.
118+
119+
**Consequence**: A permanent ban from any sort of public interaction within the
120+
community.
121+
122+
## Attribution
123+
124+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
125+
version 2.1, available at
126+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
127+
128+
Community Impact Guidelines were inspired by
129+
[Mozilla's code of conduct enforcement ladder][mozilla coc].
130+
131+
For answers to common questions about this code of conduct, see the FAQ at
132+
[https://www.contributor-covenant.org/faq][faq]. Translations are available at
133+
[https://www.contributor-covenant.org/translations][translations].
134+
135+
[faq]: https://www.contributor-covenant.org/faq
136+
[homepage]: https://www.contributor-covenant.org
137+
[mozilla coc]: https://github.com/mozilla/diversity
138+
[translations]: https://www.contributor-covenant.org/translations
139+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html

DESCRIPTION

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: programets
22
Title: Collect and analyze academic impact metrics from various sources
3-
Version: 0.2.0
3+
Version: 0.3.0
44
Authors@R:
55
c(person("Sean", "Davis", , "[email protected]", role = c("aut", "cre"), comment=c(ORCID = "0000-0002-8991-6458")),
66
person("David", "Mayer", , "[email protected]", role = c("aut")))
@@ -14,18 +14,23 @@ License: MIT + file LICENSE
1414
Encoding: UTF-8
1515
Roxygen: list(markdown = TRUE)
1616
RoxygenNote: 7.3.2
17+
Depends:
18+
R (>= 4.1.0)
1719
Imports:
1820
googleAnalyticsR,
1921
dplyr,
2022
rlang,
2123
utils,
22-
httr2,
2324
purrr,
25+
httr2,
2426
jsonlite,
2527
stringr,
26-
tibble
28+
tibble,
29+
glue,
30+
ghql
2731
Suggests:
2832
gargle,
33+
gitcreds,
2934
knitr,
3035
quarto,
3136
lubridate,

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
YEAR: 2025
2-
COPYRIGHT HOLDER: programets authors
2+
COPYRIGHT HOLDER: programets authors

NAMESPACE

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,52 @@
11
# Generated by roxygen2: do not edit by hand
22

3+
export(epmc_search)
34
export(ga_dataframe)
45
export(ga_meta_simple)
56
export(ga_query_explorer)
6-
export(get_publications_for_core_projects)
7+
export(get_core_project_info)
8+
export(get_github_by_topic)
9+
export(get_github_by_topic_graphql)
710
export(icite)
811
import(dplyr)
912
import(httr2)
1013
import(jsonlite)
1114
importFrom(dplyr,arrange)
15+
importFrom(dplyr,as_tibble)
1216
importFrom(dplyr,bind_rows)
17+
importFrom(dplyr,filter)
18+
importFrom(dplyr,full_join)
1319
importFrom(dplyr,mutate)
20+
importFrom(dplyr,relocate)
1421
importFrom(dplyr,tibble)
22+
importFrom(ghql,GraphqlClient)
23+
importFrom(glue,glue)
24+
importFrom(glue,glue_collapse)
25+
importFrom(httr2,req_auth_bearer_token)
1526
importFrom(httr2,req_body_json)
27+
importFrom(httr2,req_error)
1628
importFrom(httr2,req_headers)
1729
importFrom(httr2,req_method)
1830
importFrom(httr2,req_perform)
31+
importFrom(httr2,req_perform_parallel)
32+
importFrom(httr2,req_retry)
33+
importFrom(httr2,req_url_query)
1934
importFrom(httr2,request)
2035
importFrom(httr2,resp_body_json)
36+
importFrom(httr2,resp_status)
37+
importFrom(jsonlite,fromJSON)
38+
importFrom(purrr,discard)
39+
importFrom(purrr,map2_dbl)
40+
importFrom(purrr,map_chr)
41+
importFrom(purrr,map_dbl)
2142
importFrom(purrr,map_dfr)
43+
importFrom(purrr,pmap)
44+
importFrom(rlang,"%||%")
2245
importFrom(rlang,.data)
2346
importFrom(rlang,abort)
2447
importFrom(rlang,format_error_bullets)
2548
importFrom(rlang,inform)
49+
importFrom(stats,setNames)
2650
importFrom(stringr,regex)
2751
importFrom(stringr,str_detect)
52+
importFrom(tibble,tibble)

0 commit comments

Comments
 (0)