dynamodb.dynamodb_helpers

Functions

get_config()

Reads the configuration file and returns the config object.

get_dynamodb_resource()

Creates a DynamoDB resource using the AWS session.

get_movie_item(table, year, title)

Gets a movie item from the DynamoDB table.

get_movies_table(dynamo_resource)

Gets the movies table from DynamoDB.

get_path_to_data()

Return path to data.

get_raw_data_path()

Return path to raw data.

get_tidy_data_path()

Return path to tidy data.

list_dynamodb_tables(dynamo_resource)

Lists all tables in the DynamoDB resource.

query_movies_by_year(table, year)

Queries movies by year from the DynamoDB table.

tidy_movie_data(movies)

Transforms the raw movie data into a tidy DataFrame.