allenai / s2-folks

Public space for the user community of Semantic Scholar APIs to share scripts, report issues, and make suggestions.
Other
162 stars 28 forks source link

Article Author Affiliation from your API? #85

Closed wammar closed 6 months ago

wammar commented 1 year ago

Is your feature request related to a problem? Please describe. In the recent past, we used to extract the author affiliation associated with every article, but this is not available any longer.

Describe the solution you'd like Can we get the author affiliation as listed on each article (i.e. the affiliations each authors listed in their article)?

Describe alternatives you've considered Not provided by user.

Additional context Created on behalf of Nikos Pitsianis (see freshdesk ticket).

pitsianis commented 1 year ago

Thanks!

cfiorelli commented 11 months ago

@pitsianis Looks like we do now offer affiliations for the author endpoint. https://api.semanticscholar.org/api-docs/graph#tag/Author-Data/operation/post_graph_get_authors

Thank you!

pitsianis commented 11 months ago

I am sorry if I did not make this clear, the request was about author-affiliation associated with every article, that is, where each author was as listed in each and every publication. Authors do move... 😄

From the API, you do associate articles to authors and authors to affiliations, but it appears the affiliation is independent of the the article, and it can differ from the one listed on the article.

cfiorelli commented 11 months ago

@pitsianis Thanks for the fast reply. From your update I'm understanding that ✅ articles to authors ✅ authors to affiliations(venue) ❌ affiliation(venue) to article

Did I get that right? I'd be happy to take a look at this and work to understand what/why we don't currently serve the data the way we used to. Would you be able to share an example of the requests you're submitting so I can follow closely what you see?

Thank you!

pitsianis commented 11 months ago

Yes, that is correct. In the past, the article record contained the author record with an affiliation field, as it appeared on each specific article. Now, the article record points to an author record, which has the (latest?) affiliation of the author. Still, this affiliation is not necessarily the same as the one in the article because the author might have moved. Thank you again for your efforts and the excellent service you are offering to the academic community.

cfiorelli commented 6 months ago

Affiliations remodeling work is on review this year. Logging this on 2024 prioritization agenda