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

Use of keywords in DESCRIPTION and in search #48

Closed
maelle opened this issue May 21, 2019 · 12 comments
Closed

Use of keywords in DESCRIPTION and in search #48

maelle opened this issue May 21, 2019 · 12 comments

Comments

@maelle
Copy link
Member

maelle commented May 21, 2019

I've tried finding https://cran.r-project.org/web/packages/paws/index.html via pkgsearch::ps("aws", size = 100). It didn't appear. I assume it's because the aws abbreviation is only present in an URL? Is this an example of why authors should think about keywords folks might use to find their package? E.g. in this case would it be sufficient to replace "Interface to Amazon Web Services" with "Interface to Amazon Web Services ('AWS')" in the package Description?

@gaborcsardi
Copy link
Contributor

gaborcsardi commented May 21, 2019 via email

@maelle
Copy link
Member Author

maelle commented May 21, 2019

So it's something the authors should pay attention to, right? It's something I'll mention in the blog post but I wonder whether it could/should be part of the package docs too. 🤔

@gaborcsardi
Copy link
Contributor

gaborcsardi commented May 21, 2019

IDK, what is the best way to put keywords into DESCRIPTION?

@maelle
Copy link
Member Author

maelle commented May 21, 2019

You can use X.schema.org stuff cf e.g. https://github.com/ropensci/codemetar/blob/0630dc38c48f594b48ad708707248a37d129dba6/DESCRIPTION#L100 and CRAN won't complain (thanks to @cboettig). Such info doesn't appear on the CRAN page, but could the search API use it?

@gaborcsardi
Copy link
Contributor

The search server indexes all fields, so yeah they will be found. But should we advertise this as the correct way to add keywords? If this is the standard way, then we should up-weight the search hits for this field.

@maelle
Copy link
Member Author

maelle commented May 21, 2019

there's no standard way AFAIK. Maybe we should rather recommend to pack as many keywords as possible in Description.

@gaborcsardi
Copy link
Contributor

I think having an explicit keyword field would be nice.

@gaborcsardi
Copy link
Contributor

But until then we can also use the X.schema.org stuff....

@maelle
Copy link
Member Author

maelle commented May 21, 2019

especially as it was already CRAN-approved. In codemetar we even discussed a possible helper function that'd take GitHub topics of a repo and write them as X.schema.org keywords in DESCRIPTION cf ropensci/codemetar#152 but I'm not sure where such a function should live, probably not pkgsearch.

@maelle
Copy link
Member Author

maelle commented May 21, 2019

Interestingly at the time of that convo in codemetar I noted that having (schema.org) keywords in DESCRIPTION was useless if not for inclusion in the codemeta.json (whereas GitHub topics are useful or at least can be, for folks who browse topics), but if the search API used those, then keywords in DESCRIPTION would be useful for sure!

@gaborcsardi gaborcsardi added this to In progress in 2019 May May 30, 2019
@maelle
Copy link
Member Author

maelle commented Jun 3, 2019

at the moment not that many results for https://github.com/search?p=1&q=X-schema.org-keywords+user%3Acran&type=Code, and most of them seem to be rOpenSci packages.

I'm not sure we can revolutionize CRAN before the next pkgsearch release but in the release blog post I could show the use of advanced search on that field and mention package developers could use this field for keywords. 🤔

@gaborcsardi gaborcsardi added this to In progress in 2019 June Jun 10, 2019
@gaborcsardi gaborcsardi moved this from In progress to Done in 2019 June Jun 10, 2019
@gaborcsardi gaborcsardi moved this from Done to In progress in 2019 June Jun 10, 2019
@gaborcsardi gaborcsardi added this to In progress in 2019 July Jul 8, 2019
@maelle maelle changed the title aws question Use of keywords in DESCRIPTION and in search Oct 22, 2019
@gaborcsardi
Copy link
Contributor

Closing, as it does not seem to be actionable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
2019 July
  
In progress
2019 June
  
In progress
2019 May
  
In progress
Development

No branches or pull requests

2 participants