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

Improve documentation and examples in package and/or on website #35

Closed
Ryo-N7 opened this issue Nov 25, 2022 · 8 comments
Closed

Improve documentation and examples in package and/or on website #35

Ryo-N7 opened this issue Nov 25, 2022 · 8 comments

Comments

@Ryo-N7
Copy link
Collaborator

Ryo-N7 commented Nov 25, 2022

Create {pkgdown} website for documentation and vignettes (currently lying dormant in inst/examples folder in the Github repository)?

Some of functions also require preparation in the ActivityInfo UI beforehand (setting up forms, roles, formulas, etc.) so it would be nice if documentation could also include stuff like that.

Ex. The various permissions/updateRole functions took a long time for Robert and I to properly grok as the set-up includes lots of actions needed in ActivityInfo UI in tandem with what's needed in the R code to run, which is a lot of lists-within-lists for filters, parameters, etc. This is a topic that would be perfect for a vignette hosted on a pkgdown website with screenshots of the actual tables and database settings in the ActivityInfo UI alongside the R code.

@Ryo-N7
Copy link
Collaborator Author

Ryo-N7 commented Dec 13, 2022

explanation of permission parameters like @user.__, _class, etc. especially as these aren't covered at all in the regular formula documentation. just generally expose more of these 'hidden' features to the users as an option in the documentation

@Ryo-N7
Copy link
Collaborator Author

Ryo-N7 commented Jan 5, 2023

add package version release tags on github

currently it only goes up to 4.20

@Ryo-N7
Copy link
Collaborator Author

Ryo-N7 commented Jan 9, 2023

documentation for internal functions: stageImport() and executeJob()

for heavy-duty scripts/operations some "power users" may want to use these functions more regularly

they can be kept as 'internal' functions as I imagine most users won't need it but would be nice if they were documented + vignette/example


also if there was a way to access a log of jobs based on user account that would help too

@Ryo-N7
Copy link
Collaborator Author

Ryo-N7 commented Jan 25, 2023

permissions // roles

examples:

  1. multi-partner database (like in https://www.activityinfo.org/support/docs/m/92353/l/1165339.html)
  2. set permissions for users with more than one supervisor (reference form would be a list of all db users (one user = one row) with separate column for each supervisor, if any)
  3. multiple filters for a user: partner filter AND firm/organization filter

etc...

@akbertram
Copy link
Member

We are expanding the R package documentation website as part of a larger project to improve AI documentation. You can preview some of the changes here:
https://docs-dot-site-dot-activityinfoeu.appspot.com/support/docs/R/tutorials/introduction-to-activityinfo-api.html

This site will include vignettes as well:
https://docs-dot-site-dot-activityinfoeu.appspot.com/support/docs/R/how-tos/analyze-and-visualize-activityinfo-data.html

I will rewrite the example scripts as proper vignettes.

@akbertram akbertram added this to the Release 4.32 milestone Feb 1, 2023
@akbertram
Copy link
Member

  • Documentation for all schema field helper functions
  • Vignette tutorial for adding a form and database
  • Update getting started tutorial

@Ryo-N7
Copy link
Collaborator Author

Ryo-N7 commented Feb 8, 2023

this is a more general point re: documentation: the documentation should try to further explain ActivityInfo API concepts. like in the field schema docs, in Arguments it talks about presentation: Default is "automatic". but it doesn't give me any info on what presentation is. I'm sure this is all stuff that's just copy-pasted from the API docs but a bit more elaboration would help users.


also the main package 'references' is a bit messy right now (probably because we've combined all of the form schema functions into one place?)

asdfasdfasdf

@akbertram
Copy link
Member

Published here: https://www.activityinfo.org/support/docs/R/index.html

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

No branches or pull requests

2 participants