-
Notifications
You must be signed in to change notification settings - Fork 12
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 importTable()
and process of uploading a new table of data into ActivityInfo
#44
Comments
|
for
|
maybe also a way to pick/choose the correct column label (or specify it with the field code when |
ideal pain-free process:
|
So I think now you can do item 2, 3 and 4 with the form field schema functions. For example:
From that moment, you should be able to import your data using as in item 6. You can try it if you run from https://github.com/bedatadriven/activityinfo-R/tree/version-4.32 I'll try to make a vignette with a reproducible example before Wednesday.
|
in general the error messages seem way to vague but i'm not sure how to improve it from the API's p.o.v. since everything underneath is really a JSON related message |
documentation for ALL of the field schema function in one place makes sense. the formatting could be improved though because with everything in one giant 'Description' section only separated by new lines, it's a bit hard to tell which paragraph begins and ends for a particular field. I think just having them as their own bullet points would help distinguish each a bit more |
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 |
still works despite no default stated so need to fix function parameters in the package?
|
Some quick responses:
I agree it is a bit strange to add the databaseId but I think it is also the simplest solution at the moment. |
Note to self: also needs to work if a recordId is not provided. |
recordId bug: #44 (comment) |
While implementing migrateField() see if bug still exists (provide recordIds). |
I'm getting a bug with ex. i have a "Fiscal Year" column that's set to numeric/integer in Excel/Access/data.frame/etc. but the form schema in activityinfo has it set as a single-select column with the options "2018", "2019", etc... so when i try to push data from R with the "Fiscal Year" column with "2018" , "2019" ,etc. that are set as numeric/integer then my session crashes. but yeah it's a weird issue i've found, i'll post screenshots and a bit more detail tomorrow if i can replicate it elsewhere |
currently the process of:
alongside the changes to improve how we manipulate the form/database schemas in issue #32 and #31 we should think of ways to streamline this process
The text was updated successfully, but these errors were encountered: