diff --git a/docs/README.md b/docs/README.md index 7d339c8..37cf8d7 100644 --- a/docs/README.md +++ b/docs/README.md @@ -31,7 +31,7 @@ Gapminder-specific custom functions for Google Spreadsheets. ▸ **GM_AGGR**(table_range_with_headers: *`string`[][]*, aggregation_prop: *`string`*, geo_set: *`string`*): `any`[][] -*Defined in [GM_AGGR.ts:30](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_AGGR.ts#L30)* +*Defined in [GM_AGGR.ts:30](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_AGGR.ts#L30)* Aggregates an input table by property and time, returning a table with the aggregated values of the input table. @@ -60,7 +60,7 @@ ___ ▸ **GM_DATA**(column_or_table_range_with_headers: *`string`[][]*, property_or_concept_id: *`string`*, time_unit: *`string`*, geo_set: *`string`*, property_or_concept_data_table_range_with_headers: *`string`[][]*): `any`[][] -*Defined in [GM_DATA.ts:25](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_DATA.ts#L25)* +*Defined in [GM_DATA.ts:25](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_DATA.ts#L25)* Inserts a property or concept column, including a header row, with a common Gapminder property or concept matched against the input column/table range. @@ -90,7 +90,7 @@ ___ ▸ **GM_DATASET_CATALOG_STATUS**(concept_id: *`string`*, time_unit: *`string`*, geo_set: *`string`*, verbose: *`boolean`*): `string`[][] -*Defined in [GM_DATASET_CATALOG_STATUS.ts:24](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_DATASET_CATALOG_STATUS.ts#L24)* +*Defined in [GM_DATASET_CATALOG_STATUS.ts:24](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_DATASET_CATALOG_STATUS.ts#L24)* Checks if the referenced data is available remotely for use by GM\_\* functions. @@ -122,7 +122,7 @@ ___ ▸ **GM_DATASET_VALIDATION**(about_sheet_range_except_the_title_row: *`string`[][]*, data_for_world_by_year_sheet_range: *`string`[][]*, data_for_regions_by_year_sheet_range: *`string`[][]*, data_for_countries_etc_by_year_range_sheet_range: *`string`[][]*): `string`[][] -*Defined in [GM_DATASET_VALIDATION.ts:16](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_DATASET_VALIDATION.ts#L16)* +*Defined in [GM_DATASET_VALIDATION.ts:16](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_DATASET_VALIDATION.ts#L16)* Evaluates if the referenced dataset ranges are set up according to the standard format and complete: @@ -148,7 +148,7 @@ ___ ▸ **GM_GEO_LOOKUP_TABLE**(geo_set: *`string`*): `string`[][] -*Defined in [GM_GEO_LOOKUP_TABLE.ts:19](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_GEO_LOOKUP_TABLE.ts#L19)* +*Defined in [GM_GEO_LOOKUP_TABLE.ts:19](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_GEO_LOOKUP_TABLE.ts#L19)* Inserts a table with Gapminder’s geo ids together with their aliases (all spellings we have seen before), including lower cased variants without diacritics and special characters to allow for somewhat fuzzy matching. @@ -170,7 +170,7 @@ ___ ▸ **GM_GROWTH**(table_range_with_headers: *`string`[][]*, concept_id: *`string`*, time_unit: *`string`*, geo_set: *`string`*, concept_data_table_range_with_headers: *`string`[][]*): `string`[][] -*Defined in [GM_GROWTH.ts:20](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_GROWTH.ts#L20)* +*Defined in [GM_GROWTH.ts:20](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_GROWTH.ts#L20)* Inserts the growth per time unit of a common Gapminder concept column, including a header row, matched against the input table range. @@ -196,7 +196,7 @@ ___ ▸ **GM_ID**(column_range_with_headers: *`string`[][]*, geo_set: *`string`*, verbose: *`boolean`*): `string`[][] -*Defined in [GM_ID.ts:14](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_ID.ts#L14)* +*Defined in [GM_ID.ts:14](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_ID.ts#L14)* Inserts a matching column, including a header row, with Gapminder’s geo ids matched against the input column range, based on all spellings we have seen before. It should be entered in the header cell under which you want the first first id to appear and it uses as input another range of cells, which should start with the header of the column with names of a geo\_set you want to identify. Note: Automatically adds geo ids as aliases in geo lookup tables, so that "USA" matches "usa" even though no specific alias "usa" is mapped to "usa". @@ -218,7 +218,7 @@ ___ ▸ **GM_IMPORT**(concept_id: *`string`*, time_unit: *`string`*, geo_set: *`string`*): `string`[][] -*Defined in [GM_IMPORT.ts:30](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_IMPORT.ts#L30)* +*Defined in [GM_IMPORT.ts:30](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_IMPORT.ts#L30)* Imports a standard Gapminder concept table. @@ -250,7 +250,7 @@ ___ ▸ **GM_INTERPOLATE**(table_range_with_headers: *`string`[][]*, method: *`string`*): `any`[][] -*Defined in [GM_INTERPOLATE.ts:24](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_INTERPOLATE.ts#L24)* +*Defined in [GM_INTERPOLATE.ts:24](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_INTERPOLATE.ts#L24)* Interpolates an input table, inserting a sorted table with additional rows, where the gaps (missing rows or empty values) in the input table have been filled in. This function works on data with two primary key columns: usually geo and time. (If we want to use this on data that has more keys: geo, time, age, gender, etc - we need a different formula) @@ -278,7 +278,7 @@ ___ ▸ **GM_NAME**(column_range_with_headers: *`string`[][]*, geo_set: *`string`*, verbose: *`boolean`*): `string`[][] -*Defined in [GM_NAME.ts:14](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_NAME.ts#L14)* +*Defined in [GM_NAME.ts:14](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_NAME.ts#L14)* Inserts a matching column, including a header row, with Gapminder’s common name for the geo matched against the input column range, based on all spellings we have seen before. (Like GM\_ID but inserts Gapminder’s common name for the geo instead of its id.) Note: Automatically adds geo ids as aliases in geo lookup tables, so that "USA" matches "usa" even though no specific alias "usa" is mapped to "usa". @@ -300,7 +300,7 @@ ___ ▸ **GM_PER_CAP**(table_range_with_headers_and_concept_values: *`string`[][]*, time_unit: *`string`*, geo_set: *`string`*, population_concept_data_table_range_with_headers: *`string`[][]*): `string`[][] -*Defined in [GM_PER_CAP.ts:19](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_PER_CAP.ts#L19)* +*Defined in [GM_PER_CAP.ts:19](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_PER_CAP.ts#L19)* Divides the concept-value column(s) of the input table range by the population of the geo\_set. @@ -325,7 +325,7 @@ ___ ▸ **GM_UNPIVOT**(table_range_with_headers: *`string`[][]*, time_label: *`string`*, value_label: *`string`*): `string`[][] -*Defined in [GM_UNPIVOT.ts:16](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.6.0/src/GM_UNPIVOT.ts#L16)* +*Defined in [GM_UNPIVOT.ts:16](https://github.com/Gapminder/gsheets-gm-functions/blob/v0.7.0/src/GM_UNPIVOT.ts#L16)* Unpivots a standard pivoted Gapminder table \[geo, name, ...time-values-across-columns\], converting the data column headers into time units and the column values as concept values. diff --git a/package-lock.json b/package-lock.json index 12fcc97..528e9b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "gsheets-gm-functions", - "version": "0.6.0", + "version": "0.7.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4fafab3..dd86294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gsheets-gm-functions", - "version": "0.6.0", + "version": "0.7.0", "description": "Gapminder-specific custom functions for Google Spreadsheets", "main": "src/index.js", "dependencies": {