-
Notifications
You must be signed in to change notification settings - Fork 3
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
suggestions for improving elx_dowload_xml and make query #26
Labels
enhancement
New feature or request
Comments
hi, thanks for these suggestions again, it's much appreciated that you are testing the features and giving feedback.
You can get the provisional fixes for 1-4 by updating to the github version of the package. I haven't tested them properly yet so feedback would be welcome again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Michal,
Thanks for releasing v0.4.0, I updated R and eurlex and i am using it.
I recently used elx_dowload_xml and I wanted to suggest some improvements:
notice type must be correctly specified" = notice %in% c("tree", "branch", "object"))
(this is more of an issue)file = basename(url)
could befile = paste(basename(url), ".xml)"
object
is passed to notice the object expression notice is retrieved (p 44 of cellar), however this does not contain metadata. I'd suggest to drop the language header and use?language=
a the end of the url whenobject
is passed (p 42 of cellar), so that the object notice with the object metadata is retrieved.include_authors = TRUE
, it could help to use(group_concat(distinct ?author_;separator=", ") as ?author)
in theselect
statement andOPTIONAL{?work cdm:work_created_by_agent ?author_.}
in thewhere
statement of the sparql query. The uri would still be inside, but i see this less of an issue to clean it afterwards. This would help in not having duplicated works when running queries.What do you think about theese?
All the best
The text was updated successfully, but these errors were encountered: