Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data integrity from joins #7

Closed
f-hafner opened this issue Jun 3, 2022 · 2 comments
Closed

data integrity from joins #7

f-hafner opened this issue Jun 3, 2022 · 2 comments

Comments

@f-hafner
Copy link
Owner

f-hafner commented Jun 3, 2022

  • unique links
  • no duplicate records within id-year etc

how to implement:

res <- dbSendQuery(
  conn = con,
  statement = "select type, tbl_name, sql from sqlite_master where type = 'index'"
)
dbFetch(res) # returns a df with the relevant information
dbClearResult()

# extract the index columns and whether it is unique
@f-hafner f-hafner changed the title data integrity: data integrity from joins Jun 3, 2022
@f-hafner
Copy link
Owner Author

f-hafner commented Jun 3, 2022

use the same approach for copying indexes from the production to the mockdb

@f-hafner
Copy link
Owner Author

the first part is implemented in commit caf9561. Closing this, see #13 for copying indexes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant