# A tibble: 3 × 15 search_term scientific_name scientific_name_auth…¹ taxon_concept_id rank <chr> <chr> <chr> <chr> <chr>1 litoria peronii Litoria peronii (Tschudi, 1838) https://biodive… spec…2 Crinia signifera Crinia signife… Girard, 1853 https://biodive… spec…3 Rhinella marina Rhinella marina (Linnaeus, 1758) https://biodive… spec…# ℹ abbreviated name: ¹scientific_name_authorship# ℹ 10 more variables: match_type <chr>, kingdom <chr>, phylum <chr>,# class <chr>, order <chr>, family <chr>, genus <chr>, species <chr>,# vernacular_name <chr>, issues <chr>
galah.search_taxa("litoria peronii")
scientificName scientificNameAuthorship taxonConceptID rank kingdom phylum order family genus species vernacularName issues0 Litoria peronii (Tschudi, 1838) https://biodiversity.org.au/afd/taxa/c584f24b-... species Animalia Chordata Anura Hylidae Litoria Litoria peronii Peron's Tree Frog noIssue
Download record counts of Peron’s tree frog (Litoria peronii)since 2018
To see a list of all possible fields, use show_all()
show_all(fields)
# A tibble: 626 × 4 id description type link <chr> <chr> <chr> <chr> 1 _nest_parent_ <NA> fiel… <NA> 2 _nest_path_ <NA> fiel… <NA> 3 _root_ <NA> fiel… <NA> 4 abcdTypeStatus ABCD field in use by herbaria fiel… <NA> 5 acceptedNameUsage http://rs.tdwg.org/dwc/terms/acceptedNameUsa… fiel… <NA> 6 acceptedNameUsageID http://rs.tdwg.org/dwc/terms/acceptedNameUsa… fiel… <NA> 7 accessRights <NA> fiel… <NA> 8 annotationsDoi <NA> fiel… <NA> 9 annotationsUid <NA> fiel… <NA> 10 assertionUserId User ID of the person who has made an assert… fiel… <NA> # ℹ 616 more rows
galah.show_all(fields=True)
id description type link0 _nest_parent_ NaN field NaN1 _nest_path_ NaN field NaN2 _root_ NaN field NaN3 abcdTypeStatus ABCD field in use by herbaria field NaN4 acceptedNameUsage http://rs.tdwg.org/dwc/terms/acceptedNameUsage field NaN.. ... ... ... ...749 multimediaLicence Media filter field media 750 images Media filter field media 751 videos Media filter field media 752 sounds Media filter field media 753 qid Reference to pre-generated query other [754 rows x 4 columns]
Download record counts of Peron’s tree frog (Litoria peronii)since 2018
Search for valid field names with “year” in title or description
search_all(fields, "year")
# A tibble: 9 × 4 id description type link <chr> <chr> <chr> <chr>1 year The year in which an occurrence was observed.… fiel… <NA> 2 raw_year <NA> fiel… <NA> 3 endDayOfYear http://rs.tdwg.org/dwc/terms/endDayOfYear fiel… <NA> 4 startDayOfYear http://rs.tdwg.org/dwc/terms/startDayOfYear fiel… <NA> 5 datePrecision The precision of the date information for the… fiel… <NA> 6 occurrenceYear Year ranges for a search. Calculated based on… fiel… <NA> 7 raw_endDayOfYear <NA> fiel… <NA> 8 raw_startDayOfYear <NA> fiel… <NA> 9 namePublishedInYear http://rs.tdwg.org/dwc/terms/namePublishedInY… fiel… <NA>
galah.search_all(fields="year",column_name="id")
id description type link592 year The year in which an occurrence was observed. ... field https://github.com/AtlasOfLivingAustralia/ala-...512 raw_year NaN field NaN
Download record counts of Peron’s tree frog (Litoria peronii)since 2018
Download record counts of Peron’s tree frog (Litoria peronii) since 2018 in New South Wales
Search for valid fields that contain “australian states” in title or description
search_all(fields, "australian states")
# A tibble: 2 × 4 id description type link <chr> <chr> <chr> <chr>1 cl2013 ASGS Australian States and Territories Australian Statisti… laye… http…2 cl22 Australian States and Territories Australian States and Te… laye… http…
galah.search_all(fields="Australian States")
id description type link692 cl22 Australian States and Territories Australian S... layers 668 cl2013 ASGS Australian States and Territories Austral... layers
Download record counts of Peron’s tree frog (Litoria peronii) since 2018 in New South Wales
See and search for values within field cl22 to see whether it contains “New South Wales”
search_all(fields, "cl22") |>show_values()
# A tibble: 11 × 2 field category <chr> <chr> 1 cl22 New South Wales 2 cl22 Victoria 3 cl22 Queensland 4 cl22 South Australia 5 cl22 Western Australia 6 cl22 Northern Territory 7 cl22 Tasmania 8 cl22 Australian Capital Territory 9 cl22 Unknown1 10 cl22 Coral Sea Islands 11 cl22 Ashmore and Cartier Islands
search_all(fields, "cl22") |>search_values("new south wales")
# A tibble: 1 × 2 field category <chr> <chr> 1 cl22 New South Wales
galah.show_values(field="cl22")
field category0 cl22 New South Wales1 cl22 Victoria2 cl22 Queensland3 cl22 South Australia4 cl22 Western Australia5 cl22 Northern Territory6 cl22 Tasmania7 cl22 Australian Capital Territory8 cl22 Unknown19 cl22 Coral Sea Islands10 cl22 Ashmore and Cartier Islands
galah.search_values(field="cl22",value="new south wales")
field category0 cl22 New South Wales
Download record counts of Peron’s tree frog (Litoria peronii) since 2018 in New South Wales
Add state/territory to your query as a filter
galah_call() |>galah_identify("litoria peronii") |>galah_filter(year >=2018, cl22 =="New South Wales") |>atlas_counts()
# A tibble: 1 × 1 count <int>1 48907
galah.atlas_counts( taxa="litoria peronii", filters=["year>=2018","cl22=New South Wales"])
totalRecords0 48907
Download record counts of Peron’s tree frog (Litoria peronii) since 2018 in New South Wales by FrogID
Search for fields that contain “dataresource”. Then see and search for values within field
search_all(fields, "dataresource")
# A tibble: 4 × 4 id description type link <chr> <chr> <chr> <chr>1 dataResourceUid A list (concatenated and separated) of prepa… fiel… <NA> 2 dataResourceName The data resource that supplies the record. … fiel… <NA> 3 raw_dataResourceUid <NA> fiel… <NA> 4 raw_dataResourceName <NA> fiel… <NA>
id description type link143 dataResourceUid A list (concatenated and separated) of prepara... field NaN142 dataResourceName The data resource that supplies the record. Th... field NaN406 raw_dataResourceUid NaN field NaN405 raw_dataResourceName NaN field NaN
# A tibble: 11 × 2 dataResourceName count <chr> <int> 1 FrogID 27647 2 NSW BioNet Atlas 19639 3 iNaturalist Australia 1348 4 Earth Guardians Weekly Feed 145 5 NatureMapr 98 6 ALA species sightings and OzAtlas 16 7 Australian Museum provider for OZCAM 4 8 FrogWatch SA 4 9 BowerBird 310 Melbourne Water Frog Census 211 Victorian Biodiversity Atlas 1
galah.atlas_counts( taxa="litoria peronii", filters=["year>=2018","cl22=New South Wales"], group_by="dataResourceName", expand=False)
dataResourceName count0 FrogID 276471 NSW BioNet Atlas 196392 iNaturalist Australia 13483 Earth Guardians Weekly Feed 1454 NatureMapr 985 ALA species sightings and OzAtlas 166 Australian Museum provider for OZCAM 47 FrogWatch SA 48 BowerBird 39 Melbourne Water Frog Census 210 Victorian Biodiversity Atlas 1
# A tibble: 21 × 3 year cl22 count <chr> <chr> <int> 1 2020 New South Wales 12459 2 2020 Victoria 1131 3 2020 Queensland 1038 4 2020 Australian Capital Territory 116 5 2020 South Australia 77 6 2021 New South Wales 6473 7 2021 Queensland 876 8 2021 Victoria 666 9 2021 South Australia 5710 2021 Australian Capital Territory 28# ℹ 11 more rows
cl22 year count0 New South Wales 2018 42661 Queensland 2018 3652 Victoria 2018 3263 South Australia 2018 624 Australian Capital Territory 2018 355 New South Wales 2019 44496 Victoria 2019 3777 Queensland 2019 3698 South Australia 2019 709 Australian Capital Territory 2019 1610 Tasmania 2019 311 New South Wales 2020 1245912 Victoria 2020 113113 Queensland 2020 103814 Australian Capital Territory 2020 11615 South Australia 2020 7716 New South Wales 2021 647317 Queensland 2021 87618 Victoria 2021 66619 South Australia 2021 5720 Australian Capital Territory 2021 28
Download occurrences
Download record counts of Peron’s tree frog (Litoria peronii) since 2018 in New South Wales by FrogID
Get Australian state and territory boundaries (link to shapefile).
Select New South Wales
states = gpd.read_file("STE_2021_AUST_GDA94.shp")print(states.crs)
EPSG:4283
states
STE_CODE21 STE_NAME21 CHG_FLAG21 CHG_LBL21 AUS_CODE21 AUS_NAME21 AREASQKM21 LOCI_URI21 geometry0 1 New South Wales 0 No change AUS Australia 8.007977e+05 http://linked.data.gov.au/dataset/asgsed3/STE/1 MULTIPOLYGON (((159.06230 -31.50887, 159.06217...1 2 Victoria 0 No change AUS Australia 2.274962e+05 http://linked.data.gov.au/dataset/asgsed3/STE/2 MULTIPOLYGON (((146.29286 -39.15779, 146.29341...2 3 Queensland 0 No change AUS Australia 1.730171e+06 http://linked.data.gov.au/dataset/asgsed3/STE/3 MULTIPOLYGON (((142.53139 -10.68302, 142.53071...3 4 South Australia 0 No change AUS Australia 9.842314e+05 http://linked.data.gov.au/dataset/asgsed3/STE/4 MULTIPOLYGON (((140.66024 -38.06257, 140.66005...4 5 Western Australia 0 No change AUS Australia 2.526632e+06 http://linked.data.gov.au/dataset/asgsed3/STE/5 MULTIPOLYGON (((117.86952 -35.19109, 117.86960...5 6 Tasmania 0 No change AUS Australia 6.801754e+04 http://linked.data.gov.au/dataset/asgsed3/STE/6 MULTIPOLYGON (((144.60439 -41.01002, 144.60442...6 7 Northern Territory 0 No change AUS Australia 1.348134e+06 http://linked.data.gov.au/dataset/asgsed3/STE/7 MULTIPOLYGON (((133.02817 -10.90841, 133.02981...7 8 Australian Capital Territory 0 No change AUS Australia 2.358133e+03 http://linked.data.gov.au/dataset/asgsed3/STE/8 POLYGON ((149.06238 -35.15911, 149.09134 -35.1...8 9 Other Territories 0 No change AUS Australia 2.557420e+02 http://linked.data.gov.au/dataset/asgsed3/STE/9 MULTIPOLYGON (((167.94747 -29.12758, 167.94748...9 Z Outside Australia 1 New ZZZ Outside Australia NaN http://linked.data.gov.au/dataset/asgsed3/STE/Z None
Plot New South Wales
states = states.to_crs(4326)states[states["STE_NAME21"] =="New South Wales"].plot(edgecolor ="#5A5A5A", linewidth =0.5, facecolor ="white", figsize = (24,10))
Add occurrence records to the map
ax = states[states["STE_NAME21"] =="New South Wales"].plot(edgecolor ="#5A5A5A", linewidth =0.5, facecolor ="white", figsize = (24,10))plt.scatter(frogs['decimalLongitude'],frogs['decimalLatitude'], c ="#6fab3f", alpha =0.5)