Skip to contents

Phase 3DDD4. Returns a compact summary of how many datasets each portal contributes + which API protocols are used. Useful as a quick "what does morie ship?" smoke test.

Usage

morie_datasets_summary()

Value

A data.frame with one row per portal: source, n_datasets, api_modes, n_with_bundled_fixture.

Examples

morie_datasets_summary()
#>                source n_datasets                                 api_modes
#> 1        nyc_opendata       2861 odata,soda2,soda2_csv,soda2_geojson,soda3
#> 2   edmonton_opendata       2027 odata,soda2,soda2_csv,soda2_geojson,soda3
#> 3             chicago       1864 odata,soda2,soda2_csv,soda2_geojson,soda3
#> 4    calgary_opendata        933 odata,soda2,soda2_csv,soda2_geojson,soda3
#> 5    toronto_opendata        540                                      ckan
#> 6   montreal_opendata        401                                      ckan
#> 7     ottawa_opendata        287                    arcgis_hub,arcgis_rest
#> 8  vancouver_opendata        190                          opendatasoft_v21
#> 9      tps_arcgis_hub         71                    arcgis_hub,arcgis_rest
#> 10       ontario_ckan         38                                      ckan
#> 11           tps_psdp         11                    arcgis_hub,arcgis_rest
#> 12       statcan_ccjs         10                               statcan_wds
#> 13           nyc_nypd          8 odata,soda2,soda2_csv,soda2_geojson,soda3
#> 14        vpd_geodash          1                           manual_download
#>    n_with_bundled_fixture
#> 1                      10
#> 2                       2
#> 3                       8
#> 4                       3
#> 5                       2
#> 6                       1
#> 7                       0
#> 8                       0
#> 9                       0
#> 10                     38
#> 11                     11
#> 12                      0
#> 13                      8
#> 14                      1