set_license#

Note

License information in the data itself is not required by the ALA, but it is nice to have.

One of the functions you can use to check your data is set_individual_traits(). This function aims to check if you have the following:

  • license: A legal document giving official permission to do something with the resource. Must be provided as a url to a valid license.

  • rightsHolder: Person or organisation owning or managing rights to resource.

  • accessRights: Access or restrictions based on privacy or security.

specifying license information#

For specifying license information for individual organisms, as well as the rights holders, use the example below:

>>> import pandas as pd
>>> occ = pd.DataFrame({'scientificName': ['Eolophus roseicapilla','Eolophus roseicapilla']})
>>> my_dwca = galaxias.dwca(occurrences=occ)
>>> my_dwca.set_license(dataframe=occ,license=['CC-BY 4.0 (Int)', 'CC-BY-NC 4.0 (Int)'],
...                           rightsHolder='The Regents of the University of California',
...                           accessRights=['','not-for-profit use only'])
>>> my_dwca.occurrences.head()
          scientificName             license                                 rightsHolder             accessRights
0  Eolophus roseicapilla     CC-BY 4.0 (Int)  The Regents of the University of California                         
1  Eolophus roseicapilla  CC-BY-NC 4.0 (Int)  The Regents of the University of California  not-for-profit use only

Other functions#

To learn more about how to use other functions, go to

Optional functions:

Creating Unique IDs:

Passing Dataset: