archivewrangler

package
v0.0.0-...-9340d71 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveMetaCleaner

func ArchiveMetaCleaner()

ArchiveMetaCleaner - function to clean all corpus data

func DataCrawlerSingle

func DataCrawlerSingle(structArchive schema.Archive, archiveURL string, apiKey string, year string, month string)

DataCrawlerSingle - get data for single URL

Types

type CleanedCorpus

type CleanedCorpus struct {
	Abstract      string `json:"abstract"`
	WebURL        string `json:"web_url"`
	PublishedDate string `json:"pub_date"`
	Headline      string `json:"headline"`
}

CleanedCorpus - struct type for cleaned corpus

type CleanerResponse

type CleanerResponse struct {
	Response map[string]interface{} `json:"response"`
}

CleanerResponse - Struct to Unmarshal json byte data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL