Learn R Programming

OpenMindat (version 1.0.1)

geomeaterials_ordering: retrieve the geomaterials by an given ordering.

Description

: Queries the geomaterials by an given ordering.

Usage

geomeaterials_ordering(ord, ...)

Value

df, a data frame of geomaterials

Arguments

ord

string of field. Prepend "-" to the field name for descending order. Enum: "approval_year" "id" "minstats__ms_locentries" "minstats__ms_photos" "name" "updttime" "weighting".

...,

Further named parameters.Other optional arguments.

Details

This function releated to the field "ordering" of geomaterials. ordering=-id - sort by id descending. Prepend "-" to the field name for descending order. fields:"approval_year" "id" "minstats__ms_locentries" "minstats__ms_photos" "name" "updttime" "weighting". retrieve the geomaterials by an given ordering.

Examples

Run this code
if (FALSE) {
df <-geomeaterials_ordering(-id)
}

Run the code above in your browser using DataLab