Beispiel #1
0
def institution_facets():
    """
    Materialize institution facets with counts.

    Returns:
        dict: {label, value, count}
    """

    counts = Citation_Index.count_facets('institution_id')
    return Institution_Index.materialize_institution_facets(counts)
def institution_facets():

    """
    Materialize institution facets with counts.

    Returns:
        dict: {label, value, count}
    """

    counts = Citation_Index.count_facets("institution_id")
    return Institution_Index.materialize_institution_facets(counts)
def institution_facets(depth=200, include=None):
    """
    Materialize institution facets with counts.

    Args:
        depth (int)
        include (list)

    Returns:
        dict: {label, value, count}
    """

    counts = Citation_Index.count_facets(
        'institution_id',
        depth=depth,
        include=include,
    )

    return Institution_Index.materialize_institution_facets(counts)