cambialens / lens-api-doc

10 stars 6 forks source link

Grouped by simple family filter in API response #55

Closed Siru645 closed 2 years ago

Siru645 commented 2 years ago

Hi,

I am trying to use Lens API query to get the simple family size under some patent subclass. I am wondering if there is some response fields that allow me to get the result of total simple famil size using API.

What I want to achieve is something looks like the following highlight result: image

Best, Siru

AaronBallagh commented 2 years ago

Hi Siru645, There is no response field available for simple families in the API currently. We will be adding a param or endpoint for families in future, but for now you would need to request the family information for each record to determine the number of simple families represented in the response.

poldham commented 2 years ago

Hi @AaronBallagh,

@Siru645 seems to have read my mind on this. It would be very helpful if there was some way to group results by simple or extended families with the API as a query option to reproduce the public user interface. That would aid with reproducibility of methods (when writing papers) but more importantly reduce the volume of date passed through the API and the need to deduplicate the records down to first family members for analysis purposes (which means a lot gets discarded anyway). So, I think this would have a number of advantages. In the meantime, as you point out, retrieving the family member data in a second set of calls is the solution.

Siru645 commented 2 years ago

I got the point, thanks for the reply.


From: Paul Oldham @.> Sent: Saturday, July 23, 2022 5:16:15 AM To: cambialens/lens-api-doc @.> Cc: Siru Liu @.>; Mention @.> Subject: Re: [cambialens/lens-api-doc] Grouped by simple family filter in API response (Issue #55)

Hi @AaronBallaghhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAaronBallagh&data=05%7C01%7Csliu43%40student.gsu.edu%7C75e96625f2bb498d892308da6c8bfefe%7C704d822c358a47849a1649e20b75f941%7C0%7C0%7C637941645800143374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=4aizthHQFBWPiK3c9neDkONF%2FwOjlvT690qzuLqtsHc%3D&reserved=0,

@Siru645https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSiru645&data=05%7C01%7Csliu43%40student.gsu.edu%7C75e96625f2bb498d892308da6c8bfefe%7C704d822c358a47849a1649e20b75f941%7C0%7C0%7C637941645800143374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wskmioCjXv%2F1eYDPsfbkh6TzGz2C%2BriyIKS%2FFlJErKs%3D&reserved=0 seems to have read my mind on this. It would be very helpful if there was some way to group results by simple or extended families with the API as a query option to reproduce the public user interface. That would aid with reproducibility of methods (when writing papers) but more importantly reduce the volume of date passed through the API and the need to deduplicate the records down to first family members for analysis purposes (which means a lot gets discarded anyway). So, I think this would have a number of advantages. In the meantime, as you point out, retrieving the family member data in a second set of calls is the solution.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcambialens%2Flens-api-doc%2Fissues%2F55%23issuecomment-1193093158&data=05%7C01%7Csliu43%40student.gsu.edu%7C75e96625f2bb498d892308da6c8bfefe%7C704d822c358a47849a1649e20b75f941%7C0%7C0%7C637941645800143374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ssAtERuB%2FraHOdXM36cwhz4ZJ%2FmQZfUSWshnGC1fQO8%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANTZCQKTIVVBHPHGCRTJGP3VVOZ57ANCNFSM54JNWGXA&data=05%7C01%7Csliu43%40student.gsu.edu%7C75e96625f2bb498d892308da6c8bfefe%7C704d822c358a47849a1649e20b75f941%7C0%7C0%7C637941645800143374%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Yonz4GMcaf1ASIwJhjbCMM5XanAT0zWAXeFUL8bT4tI%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.***>

CAUTION: This email was sent from someone outside of the university. Do not click links or open attachments unless you recognize the sender and know the content is safe.