Skip to content

Commit

Permalink
add field definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
meerapatelmd committed Sep 26, 2020
1 parent 3590879 commit 71b91a8
Show file tree
Hide file tree
Showing 16 changed files with 691 additions and 523 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.github$
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.html
46 changes: 46 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
on:
push:
branches: master

name: pkgdown

jobs:
pkgdown:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@master

- uses: r-lib/actions/setup-pandoc@master

- name: Query dependencies
run: |
install.packages('remotes')
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Cache R packages
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
install.packages("pkgdown")
shell: Rscript {0}

- name: Install package
run: R CMD INSTALL .

- name: Deploy package
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'
9 changes: 9 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(MRXNS_ENG_def)
export(MRXNW_ENG_def)
export(MRXW_def)
export(ddlMeta)
export(deriveDDLFromDataElements)
export(executeSQL)
export(getDataElements)
export(loadMeta)
export(mrconso_field_definitions)
export(mth_field_definitions)
export(mth_fields_to_tables)
export(openMetamorphosys)
export(pgDDLlMeta)
export(pgLoadMeta)
export(readable_mth_tables)
export(runIndices)
import(RMySQL)
import(SqlRender)
Expand All @@ -25,5 +33,6 @@ importFrom(rvest,html_table)
importFrom(secretary,typewrite_error)
importFrom(stringr,str_replace_all)
importFrom(tibble,rowid_to_column)
importFrom(tibble,tribble)
importFrom(tidyr,separate_rows)
importFrom(xml2,read_html)
502 changes: 499 additions & 3 deletions R/mth_data_defintion_functions.R

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions man/MRXNS_ENG_def.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions man/MRXNW_ENG_def.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions man/MRXW_def.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions man/mrconso_field_definitions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions man/mth_data_definition_functions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions man/mth_field_definitions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions man/mth_fields_to_tables.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions man/mth_file_description_functions.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions man/pipe.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions man/readable_mth_tables.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 71b91a8

Please sign in to comment.