Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

interface missing descriptive text (hover bubble text) for some DQ flags #10

Open
danstoner opened this issue Aug 14, 2018 · 3 comments
Assignees

Comments

@danstoner
Copy link
Contributor

The flags listed in

https://github.com/iDigBio/idb-portal/blob/master/public/client/js/lib/dq_flags.js

should match what is documented in the backend wiki

https://github.com/iDigBio/idigbio-search-api/wiki/Data-Quality-Flags

which should match what is available in the backend / index.

@danstoner danstoner self-assigned this Aug 14, 2018
@danstoner
Copy link
Contributor Author

Flags currently assigned to records via

http://search.idigbio.org/v2/summary/top/records?top_fields=[%22flags%22]&count=1000

(sorted json thru tool at http://novicelab.org/jsonabc/)

{
    "flags": {
        "datecollected_bounds": {
            "itemCount": 91975
        },
        "dwc_acceptednameusageid_added": {
            "itemCount": 62245
        },
        "dwc_basisofrecord_invalid": {
            "itemCount": 632801
        },
        "dwc_basisofrecord_removed": {
            "itemCount": 534884
        },
        "dwc_class_added": {
            "itemCount": 38874787
        },
        "dwc_class_replaced": {
            "itemCount": 10912560
        },
        "dwc_continent_added": {
            "itemCount": 42717944
        },
        "dwc_continent_replaced": {
            "itemCount": 11885746
        },
        "dwc_country_added": {
            "itemCount": 49403
        },
        "dwc_country_replaced": {
            "itemCount": 12596704
        },
        "dwc_datasetid_added": {
            "itemCount": 81643690
        },
        "dwc_datasetid_replaced": {
            "itemCount": 8663517
        },
        "dwc_family_added": {
            "itemCount": 3367943
        },
        "dwc_family_replaced": {
            "itemCount": 9076044
        },
        "dwc_genus_added": {
            "itemCount": 1483983
        },
        "dwc_genus_replaced": {
            "itemCount": 4630120
        },
        "dwc_infraspecificepithet_added": {
            "itemCount": 1462376
        },
        "dwc_infraspecificepithet_replaced": {
            "itemCount": 163560
        },
        "dwc_kingdom_added": {
            "itemCount": 22042345
        },
        "dwc_kingdom_replaced": {
            "itemCount": 469256
        },
        "dwc_kingdom_suspect": {
            "itemCount": 863672
        },
        "dwc_multimedia_added": {
            "itemCount": 53309975
        },
        "dwc_order_added": {
            "itemCount": 29973132
        },
        "dwc_order_replaced": {
            "itemCount": 4686574
        },
        "dwc_originalnameusageid_added": {
            "itemCount": 25579403
        },
        "dwc_parentnameusageid_added": {
            "itemCount": 90307207
        },
        "dwc_phylum_added": {
            "itemCount": 34482694
        },
        "dwc_phylum_replaced": {
            "itemCount": 14336026
        },
        "dwc_scientificnameauthorship_added": {
            "itemCount": 34256710
        },
        "dwc_scientificnameauthorship_replaced": {
            "itemCount": 42316371
        },
        "dwc_specificepithet_added": {
            "itemCount": 6553474
        },
        "dwc_specificepithet_replaced": {
            "itemCount": 9177974
        },
        "dwc_stateprovince_replaced": {
            "itemCount": 1093524
        },
        "dwc_taxonid_added": {
            "itemCount": 78906800
        },
        "dwc_taxonid_replaced": {
            "itemCount": 11400407
        },
        "dwc_taxonomicstatus_added": {
            "itemCount": 89282406
        },
        "dwc_taxonomicstatus_replaced": {
            "itemCount": 1023782
        },
        "dwc_taxonrank_added": {
            "itemCount": 65759810
        },
        "dwc_taxonrank_invalid": {
            "itemCount": 36450
        },
        "dwc_taxonrank_removed": {
            "itemCount": 36450
        },
        "dwc_taxonrank_replaced": {
            "itemCount": 14804691
        },
        "dwc_taxonremarks_added": {
            "itemCount": 4172984
        },
        "dwc_taxonremarks_replaced": {
            "itemCount": 90076
        },
        "gbif_canonicalname_added": {
            "itemCount": 90307207
        },
        "gbif_genericname_added": {
            "itemCount": 90307207
        },
        "gbif_reference_added": {
            "itemCount": 70853487
        },
        "gbif_taxon_corrected": {
            "itemCount": 90307207
        },
        "gbif_vernacularname_added": {
            "itemCount": 59500192
        },
        "geopoint_0_coord": {
            "itemCount": 212754
        },
        "geopoint_bounds": {
            "itemCount": 63593
        },
        "geopoint_datum_error": {
            "itemCount": 7578337
        },
        "geopoint_datum_missing": {
            "itemCount": 35861954
        },
        "geopoint_low_precision": {
            "itemCount": 11663420
        },
        "geopoint_pre_flip": {
            "itemCount": 671
        },
        "geopoint_similar_coord": {
            "itemCount": 198993
        },
        "idigbio_isocountrycode_added": {
            "itemCount": 90567424
        },
        "rev_geocode_both_sign": {
            "itemCount": 2978
        },
        "rev_geocode_corrected": {
            "itemCount": 183487
        },
        "rev_geocode_eez": {
            "itemCount": 6729986
        },
        "rev_geocode_eez_corrected": {
            "itemCount": 29796
        },
        "rev_geocode_failure": {
            "itemCount": 488284
        },
        "rev_geocode_flip": {
            "itemCount": 3423
        },
        "rev_geocode_flip_both_sign": {
            "itemCount": 7215
        },
        "rev_geocode_flip_lat_sign": {
            "itemCount": 1353
        },
        "rev_geocode_flip_lon_sign": {
            "itemCount": 270
        },
        "rev_geocode_lat_sign": {
            "itemCount": 34109
        },
        "rev_geocode_lon_sign": {
            "itemCount": 134139
        },
        "rev_geocode_mismatch": {
            "itemCount": 818995
        },
        "scientificname_added": {
            "itemCount": 1512964
        },
        "taxon_match_failed": {
            "itemCount": 30191258
        }
    },
    "itemCount": 112017821
}

@danstoner
Copy link
Contributor Author

danstoner commented Aug 14, 2018

Flags that are "live" in backend have now been added to doc (mostly not defined yet though).

https://github.com/iDigBio/idigbio-search-api/wiki/Data-Quality-Flags

@danstoner
Copy link
Contributor Author

Flag descriptions added to codebase via commit b59716e

Ready to integrate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants