Search projects by place and taxa

Kind of hard to describe…but things like subscriptions, people you follow, and project will see changes. Subscriptions can especially be taxing on our infrastructure, especially if they’re large - like all birds, or all of north america. Those will no longer be churning away in the background but dynamically searched for when you want it.

But wouldn’t these dashboard changes apply to projects you already follow, since those are the ones on the dashboard?

Finding projects you haven’t joined would be part of search, not the dashboard revamp, right?

Though not ideal, another way to search for Projects by location is to search for the PLACE you want, then click the Projects tab.

For example, here’s how to list all the Projects which specify “Brooklyn” (one of the five boroughs of New York City, aka Kings County, NY) as at least one of their locations:

  1. Search Places for “Brooklyn”:
    https://www.inaturalist.org/places/search?utf8=✓&q=Brooklyn&commit=Search
  2. Select the first match: “Brooklyn, NY, US”:
    https://www.inaturalist.org/places/brooklyn-ny-us
  3. Click the Projects tab, then click View all:
    https://www.inaturalist.org/projects/browse?place_id=brooklyn-ny-us

This also picks up Projects whose Places specify the searched for Place as their Parent.

It’s not a true geographic search, as it overlooks overlapping, or equivalent, Places. For example, “Brooklyn, NY, US” is the same boundary as “Kings County, NY, US”, but searching for “Kings County” and selecting the latter returns far more results:

  1. https://www.inaturalist.org/places/search?utf8=✓&q=Kings+County&commit=Search
  2. https://www.inaturalist.org/places/kings-county-ny-us
  3. https://www.inaturalist.org/projects/browse?place_id=kings-county-ny-us

This technique also won’t work for the many examples others provided where you’re visiting a place you are unfamiliar with, and you may not be aware of local place names people may use.

4 Likes

Adding my vote and a comment since my feature request was too similar to this one to be accepted. I would love the functionality requested here. But I’m also hoping the Browse All Projects page can be improved. I’ll include that part of my denied feature request here:

Currently, the Browse All Projects page is effectively useless. I doubt anyone is ever going to browse through all the projects, but even if you go to the final allowed page (page 500), you will still only have made it to a project that starts with “Alagappa”. The request would be to be able to actually browse all projects, if the browse feature is still something that will be kept around. There’s not much use in browsing alphabetically when you can only get halfway through the A’s.

3 Likes

I created this simple web app to search projects by location or name, check it out: https://glauberramos.github.io/inat/project-search

3 Likes

Very cool! Thank you!

1 Like

Thanks for your great tools! I was wondering if it was technically possible to sort by project members in your project search tool?

AFAIK this is also not possible on iNat, but often I find myself opening many similar projects just to figure out how many people actually use which project to see, where it makes sense to contribute to.

The api currently doesn’t have members’ information. I would need to call a separate endpoint for each project. It’s possible, but it would make the page load way slower

1 Like

Are you using the v2 API? In v2 it should be possible to get a list of member ids alongside the project search results by supplying “user_ids" to fields like

curl -X GET 'https://api.inaturalist.org/v2/projects?fields=title%2Cuser_ids' -H 'accept: application/json'

Or is this what would be too slow?

I was using the v1! I updated to v2, and now it has the members’ information; you can sort by members.

The only problem is that the sort is per page, so if your search is returning multiple pages, you will need to access all pages and check the first results for the projects with most members

Wow so quick, thanks!

Ah, I see the problem. Could you mabe provide an option for “items per page” in a modest range to somewhat solve this problem?

how many projects your searches are returning? right now each page has 200 projects (which is the limit), but I can implement a logic to get like 1000 projects per page (call 5 times the api)

Ah ok. No I dont think it’s worth it. Thank you!

It’s returning 1000 per page now

1 Like