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

Update Chapter 6 - Editing System Metadata #290

Open
2 tasks
dvirlar2 opened this issue Apr 18, 2022 · 1 comment
Open
2 tasks

Update Chapter 6 - Editing System Metadata #290

dvirlar2 opened this issue Apr 18, 2022 · 1 comment

Comments

@dvirlar2
Copy link
Contributor

dvirlar2 commented Apr 18, 2022

  • Section 6.2 - Include either callback to where the code is for pids = c(pkg$metadata, pkg$data, pkg$resource_map) in the set_rights_and_access function, or include a hide-able code chunk for this code explicitly so that it's all in one place.

  • Proper code is pkg <- get_package(d1c@mn, packageId). This is easy, so maybe just include it all together so it's easy to follow/copy

@dvirlar2
Copy link
Contributor Author

dvirlar2 commented Apr 18, 2022

There's already a callback to the Reference Guide section on how to get all pids of a package, but I don't think it's obvious that future interns or Data Coordinators should look at that link. Might be better to write something like:

Make sure to retrieve all pids associated with the package with the code below. Additional information can be found here.
pkg <- get_package(d1c@mn, packageId)

This would, ideally, go between setting the subject and set_rights_and_access() code blocks.

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