Skip to content

Commit 0bc2113

Browse files
committed
Skeleton
1 parent f94abf4 commit 0bc2113

File tree

7 files changed

+87
-0
lines changed

7 files changed

+87
-0
lines changed

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
^\.Rproj\.user$
2+
^LICENSE\.md$
3+
^explorecourses\.Rproj$
4+
^data-raw$

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.Rproj.user
2+
.Rhistory

DESCRIPTION

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
Package: explorecourses
2+
Title: Stanford Course Explorer API
3+
Version: 0.0.0.9000
4+
Authors@R:
5+
person("James Joseph", "Balamuta", email = "james.balamuta@gmail.com",
6+
role = c("aut", "cre", "cph"),
7+
comment = c(ORCID = "0000-0003-2826-8458"))
8+
Description: Fetches and processes Stanford course data from ExploreCourses API.
9+
URL: https://github.com/coatless-rpkg/explorecourses
10+
BugReports: https://github.com/coatless-rpkg/explorecourses/issues
11+
License: MIT + file LICENSE
12+
Encoding: UTF-8
13+
Roxygen: list(markdown = TRUE)
14+
RoxygenNote: 7.3.2
15+
Imports:
16+
httr2,
17+
jsonlite,
18+
xml2,
19+
dplyr,
20+
fs,
21+
glue,
22+
purrr,
23+
readr,
24+
tibble
25+
Collate:
26+
'cache.R'
27+
'constants.R'
28+
'explorecourses-package.R'
29+
'fetch.R'
30+
Depends:
31+
R (>= 2.10)
32+
LazyData: true

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2024
2+
COPYRIGHT HOLDER: stanford authors

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2024 stanford authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

data-raw/schedule_ay24_25.R

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
all_depts <- explorecourses::fetch_all_courses()
2+
3+
schedule_ay24_25 <- all_depts
4+
usethis::use_data(schedule_ay24_25, overwrite = TRUE)

explorecourses.Rproj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Version: 1.0
2+
3+
RestoreWorkspace: No
4+
SaveWorkspace: No
5+
AlwaysSaveHistory: Default
6+
7+
EnableCodeIndexing: Yes
8+
UseSpacesForTab: Yes
9+
NumSpacesForTab: 2
10+
Encoding: UTF-8
11+
12+
RnwWeave: Sweave
13+
LaTeX: pdfLaTeX
14+
15+
AutoAppendNewline: Yes
16+
StripTrailingWhitespace: Yes
17+
LineEndingConversion: Posix
18+
19+
BuildType: Package
20+
PackageUseDevtools: Yes
21+
PackageInstallArgs: --no-multiarch --with-keep.source
22+
PackageRoxygenize: rd,collate,namespace

0 commit comments

Comments
 (0)