Downloading a CSV of all observations of a species with python

Thank you very much for the links!
I am curently fiddleling with your code. I removed the “user-id” so that it takes all observations at the location.

I wonder why this first Date says None when there’s in fact a date on the observation?

Also, I would like to try modifying the code so that it adds a “user-id” column to the final dataframe.
Can you tell me quickly which part you would modify so that it would add that column? (Only the general steps). This is an introductory class to python so I think I will try understanding your code as a practice.

I added this part but…
image
… It returns this list or dictionnary?:


I will try to refer to the index for the name of the account inside of obs[‘user’]

EDIT: I managed to make it work: It’s a dictionnary inside of a dictionnary:


And it returned this:

I still have a question about this part:
Why 11 and 10? Are these the values reserved for “male” and “female” on Inaturalist?

1 Like

Yes

If this is a bug it´s not one I´ve noticed before.
Is it the same if you run with original values or only something triggered by your edits?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.