addGeoZoom | |||||||||
addGeoZoom(spec, opts)
|
|||||||||
Adds zooming functionality to a vega spec with a geographic projection.
Parameters :
Returns :
void
|
createGeoZoomPatch | ||||
createGeoZoomPatch(opts)
|
||||
Parameters :
Returns :
Spec
|
byteToString | ||||
byteToString(byte)
|
||||
Parameters :
Returns :
string
|
conditionBy | ||||||
conditionBy(header)
|
||||||
lodash 'intersectionBy' accepts this callback function.
Parameters :
Returns :
string
double quote trimmed and \r removed (DOS line ending) header. |
isNSFCompatibleCSV | ||||||
isNSFCompatibleCSV(fileContents)
|
||||||
Determines whether csv file is nsf template compatible. reads the first row of the file then creates an array of strings (headers), these two arrays are then fed into lodash 'intersectionBy' which returns an array of headers matched between the two. Tolerance specifies how many missing standard nsf headers are allowed.
Parameters :
Example :
Returns :
boolean
true of false |
createDefaultFieldGroup | ||||||
createDefaultFieldGroup(emptyFields, undefFields)
|
||||||
Parameters :
|
createFieldNameMapping | ||||||||
createFieldNameMapping(simple, complex, prefix)
|
||||||||
Parameters :
|
createStubComponent | ||||||
createStubComponent(selector, options)
|
||||||
Parameters :
Returns :
Type<Stub<In, Out>>
|
dataTableStateReducer | ||||||
dataTableStateReducer(state, action)
|
||||||
Parameters :
|
date | ||||
date(field)
|
||||
Parameters :
Returns :
Operator<any, Date>
|
firstValid | ||||
firstValid(...operators: undefined)
|
||||
Parameters :
Returns :
Operator<any, T>
|
padLeft | ||||||||||||
padLeft(nr, n, str: string)
|
||||||||||||
Parameters :
|
parseNSFFile | ||||
parseNSFFile(fileContents)
|
||||
Parameters :
Returns :
NSFRecord[]
|
splitTrim | |||||||||
splitTrim(field, separator: string)
|
|||||||||
Parameters :
Returns :
Operator<any, string[]>
|
usDollars | ||||
usDollars(field)
|
||||
Parameters :
Returns :
Operator<any, number>
|
year | ||||
year(field)
|
||||
Parameters :
Returns :
Operator<any, number>
|
empty |
empty()
|
extractAuthors | ||||||
extractAuthors(publications, geocoder)
|
||||||
Parameters :
Returns :
Promise<Author[]>
|
extractAwards | ||||||
extractAwards(records, geocoder)
|
||||||
Parameters :
Returns :
Promise<Award[]>
|
extractCoAuthorLinks | ||||
extractCoAuthorLinks(publications)
|
||||
Parameters :
Returns :
CoAuthorLink[]
|
extractCoPiLinks | ||||
extractCoPiLinks(awards)
|
||||
Parameters :
Returns :
CoPiLink[]
|
extractInvestigators | ||||
extractInvestigators(awards)
|
||||
Parameters :
Returns :
Investigator[]
|
extractJournals | ||||
extractJournals(publications)
|
||||
Parameters :
Returns :
Journal[]
|
scienceLocatePublication | ||||
scienceLocatePublication(pub)
|
||||
Parameters :
Returns :
literal type
|
extractPoint | ||||
extractPoint(...fields: undefined)
|
||||
Parameters :
Returns :
Operator<any, T[]>
|
norm0to100 | ||||||||
norm0to100(field, maxField, minField?)
|
||||||||
Parameters :
Returns :
Operator<any, number>
|
extractPublications | ||||
extractPublications(publications)
|
||||
Parameters :
Returns :
Publication[]
|
extractSubdisciplines | ||||
extractSubdisciplines(journals)
|
||||
Parameters :
Returns :
Subdiscipline[]
|
geomapSpec | ||||||
geomapSpec(options, defaultOptions)
|
||||||
Parameters :
Returns :
VisualizationSpec
|
getIdTable |
getIdTable()
|
Returns :
Map<number, IdTableValue[]>
|
getIssnTable |
getIssnTable()
|
Returns :
Map<string, NameTableValue>
|
getNameTable |
getNameTable()
|
Returns :
Map<string, NameTableValue>
|
loadIdTable |
loadIdTable()
|
Returns :
void
|
loadIssnTable |
loadIssnTable()
|
Returns :
void
|
loadNameTable |
loadNameTable()
|
Returns :
void
|
loadRawTables |
loadRawTables()
|
Returns :
void
|
numberAccess | ||||
numberAccess(field)
|
||||
Parameters :
Returns :
Operator<any, number>
|
parse | ||||||||
parse(sheet, start, extractor)
|
||||||||
Parameters :
Returns :
Map<K, V>
|
parse2 | ||||||||
parse2(sheet, start, extractor)
|
||||||||
Parameters :
Returns :
Map<K, V[]>
|
isGVPanelOpen | ||||||
isGVPanelOpen(state)
|
||||||
Returns the state of the graphic-variable-panel
Parameters :
Returns :
boolean
true if graphic-variable-panel is open |
getTelemetryStorageSetting |
getTelemetryStorageSetting()
|
Returns :
boolean | undefined
|
importProject | ||||||||
importProject(template, inData, outYAML)
|
||||||||
Parameters :
|
isActivityLogData | ||||
isActivityLogData(obj)
|
||||
Parameters :
Returns :
ActivityLogRawData
|
isoToCountry | ||||
isoToCountry(isoCode)
|
||||
Parameters :
|
layoutCoAuthorNetwork | ||||||
layoutCoAuthorNetwork(authors, links)
|
||||||
Parameters :
|
layoutCoPiNetwork | ||||||
layoutCoPiNetwork(nodes, links)
|
||||||
Parameters :
|
mavSelectionStateReducer | |||||||||
mavSelectionStateReducer(state, action)
|
|||||||||
Mavs selection state reducer
Parameters :
Returns :
MavSelectionState
the new state |
MockDirective | ||||
MockDirective(options)
|
||||
Parameters :
Returns :
Directive
|
networkSpec | ||||
networkSpec(options)
|
||||
Parameters :
Returns :
VisualizationSpec
|
normalizeIssn | ||||
normalizeIssn(name)
|
||||
Parameters :
Returns :
string
|
normalizeJournalName | ||||
normalizeJournalName(name)
|
||||
Parameters :
Returns :
string
|
parse | ||||||
parse(input, config)
|
||||||
Parameters :
Returns :
ParseResult
|
parseISIFile | ||||
parseISIFile(fileContents)
|
||||
Parameters :
Returns :
ISIRecord[]
|
parseRISRecords | ||||||
parseRISRecords(data, tagDefinitions)
|
||||||
Parameters :
Returns :
any[]
|
parseRISString | ||||
parseRISString(data)
|
||||
Parameters :
Returns :
any
|
reduceWrapper | ||||||
reduceWrapper(state, action)
|
||||||
Parameters :
Returns :
any
|
registerProjectionIfExists | ||||
registerProjectionIfExists(projection)
|
||||
Parameters :
Returns :
boolean
|
registerProjections |
registerProjections()
|
Returns :
string[]
|
scatterplotSpec | ||||
scatterplotSpec(options)
|
||||
Parameters :
Returns :
VisualizationSpec
|
scienceMapSpec | ||||
scienceMapSpec(options)
|
||||
Parameters :
Returns :
VisualizationSpec
|
sidenavStateReducer | ||||||
sidenavStateReducer(state, action)
|
||||||
Parameters :
|
temporalBargraphSpec | ||||
temporalBargraphSpec(options)
|
||||
Parameters :
Returns :
VisualizationSpec
|
Transient | ||||||
Transient(target, key)
|
||||||
A decorator that allows a property to store data, but not be written to JSON
Parameters :
|
validate | ||||||
validate(inYAML, outBase)
|
||||||
Parameters :
|
writeJSON | ||||||
writeJSON(outputFile, obj)
|
||||||
Parameters :
|
writeTSJSON | ||||||
writeTSJSON(outputFile, obj)
|
||||||
Parameters :
|