Skip to content

Commit

Permalink
Bump version to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
motin committed Apr 15, 2019
1 parent c59b1de commit 0822e2c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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.

Expand Down Expand Up @@ -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:

Expand All @@ -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.

Expand All @@ -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.

Expand All @@ -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".

Expand All @@ -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.

Expand Down Expand Up @@ -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)

Expand Down Expand Up @@ -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".

Expand All @@ -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.

Expand All @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 0822e2c

Please sign in to comment.