-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
343 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ on: | |
|
||
name: R-CMD-check | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
R-CMD-check: | ||
runs-on: ${{ matrix.config.os }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,8 @@ on: | |
|
||
name: lint | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,8 @@ on: | |
|
||
name: pkgdown | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
pkgdown: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: tarflow.iquizoo | ||
Title: Setup "targets" Workflows for "iquizoo" Data Processing | ||
Version: 3.11.5 | ||
Version: 3.12.0 | ||
Authors@R: c( | ||
person("Liang", "Zhang", , "[email protected]", role = c("aut", "cre"), | ||
comment = c(ORCID = "0000-0001-9041-1150")), | ||
|
@@ -22,10 +22,10 @@ Imports: | |
cli, | ||
data.iquizoo (>= 2024.3.31.2), | ||
DBI, | ||
glue, | ||
jsonlite, | ||
memoise, | ||
rlang (>= 1.0.0), | ||
stringr, | ||
tarchetypes, | ||
targets | ||
Suggests: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,3 +26,4 @@ reference: | |
- setup_source | ||
- setup_option_file | ||
- check_source | ||
- get_users_props_names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
## code to prepare `users_props` dataset goes here | ||
|
||
users_props <- readr::read_csv( | ||
"data-raw/users_props.csv", | ||
show_col_types = FALSE | ||
) | ||
usethis::use_data(users_props, overwrite = TRUE, internal = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
table,column,alias | ||
project_course_config,Name,project_name | ||
organization_user,RealName,user_name | ||
organization_user,Gender,user_sex | ||
organization_user,Birthday,user_dob | ||
organization_user,IdCard,user_id_card | ||
organization_user,StudentNumber,user_id_student | ||
organization_user,Mobile,user_phone | ||
base_organization,Name,organization_name | ||
base_organization,Country,organization_country | ||
base_organization,Province,organization_province | ||
base_organization,City,organization_city | ||
base_organization,District,organization_district |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
-- start from 2024-07-20, columns related to organization structure will not be supported | ||
SELECT DISTINCT | ||
vo.OrganizationUserId user_id, | ||
vo.RealName user_name, | ||
vo.Gender user_sex, | ||
vo.Birthday user_dob, | ||
vo.OrganizationName organization_name, | ||
vo.GradeName grade_name, | ||
vo.ClassName class_name | ||
project_course_user.OrganizationUserId user_id | ||
{ columns } | ||
FROM | ||
iquizoo_business_db.project_course_config pcc | ||
INNER JOIN iquizoo_business_db.project_course_user pcu ON pcu.ProjectCourseConfigId = pcc.Id AND pcu.Deleted <>1 AND pcc.Deleted <> 1 | ||
INNER JOIN iquizoo_business_db.v_organizationuser vo ON vo.OrganizationUserId = pcu.OrganizationUserId | ||
iquizoo_business_db.project_course_config | ||
INNER JOIN iquizoo_business_db.project_course_user | ||
ON project_course_user.ProjectCourseConfigId = project_course_config.Id | ||
AND project_course_user.Deleted <> 1 AND project_course_config.Deleted <> 1 | ||
INNER JOIN iquizoo_user_db.organization_user | ||
ON organization_user.Id = project_course_user.OrganizationUserId | ||
AND organization_user.Deleted <> 1 | ||
INNER JOIN iquizoo_user_db.base_organization | ||
ON base_organization.Id = organization_user.OrganizationId | ||
WHERE | ||
pcc.Id = ?; | ||
project_course_config.Id = ?; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.