get_structuralresources_codelists_agency_resource_version_codes: Get codelists agency resource version codes

View source: R/structural-resources-clasifications.R

get_structuralresources_codelists_agency_resource_version_codesR Documentation

Get codelists agency resource version codes

Description

This function allows to consult the codes of a version of a classification. Note that if wildcards are used as ~all or one of the limit, offset, query or orderBy parameters, the list will be automatically paginated.

Usage

get_structuralresources_codelists_agency_resource_version_codes(
  agencyid,
  resourceid,
  version,
  limit = 1000,
  offset = 0,
  query = "",
  orderby = "",
  openness = "",
  order = "",
  fields = "",
  lang = "es",
  as_dataframe = T
)

Arguments

agencyid

(string): Agency identificator.

resourceid

(string): Resource identificator.

version

(string): Specific resource version.

limit

(int): Results limit. By default limit = 25.

offset

(int): Displacement. Result from which it is returned. By default offset = 0.

query

(string): Query to filter the results. orderby (string): Field by which to sort the results.

orderby

(string): Order established for data.

openness

(string): Opening established for viewing.

order

(string): Order established for visualization.

fields

(string): Additional fields that you want to show in the answer.

lang

(string): Language in which you want to get the answer.

as_dataframe

(bool): If True, this function returns a pandas dataframe built from API response.

Examples

get_structuralresources_codelists_agency_resource_version_codes(
"ISTAC",
"CL_AREA_ES",
"01.000"
)

istacr documentation built on Sept. 9, 2025, 5:47 p.m.