The National Environmental Public Health Tracking Network (Tracking Network) brings together health data and environmental data from national, state, and city sources and provides supporting information to make the data easier to understand.
Emit new event when you add or modify a new row in a table. See the docs here
Emit new event when new rows are returned from a custom query. See the docs here
Emit new event when a new table is added to a database. See the docs here
The CDC - National Environmental Public Health Tracking API provides access to a treasure trove of environmental and public health data. Harness this API to monitor trends, perform analyses, and spark proactive interventions. It's a goldmine for public health officials, researchers, and policy makers, offering data on air quality, water contaminants, climate change, and disease statistics. Leverage Pipedream's platform to automate data retrieval, gain insights, and connect with other services for a seamless data-driven decision-making process.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cdc_national_environmental_public_health_tracking: {
type: "app",
app: "cdc_national_environmental_public_health_tracking",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ephtracking.cdc.gov/apigateway/api/v1/contentareas/json`,
params: {
apiToken: `${this.cdc_national_environmental_public_health_tracking.$auth.api_token}`,
},
})
},
})
The MySQL application on Pipedream enables direct interaction with your MySQL databases, allowing you to perform CRUD operations—create, read, update, delete—on your data with ease. You can leverage these capabilities to automate data synchronization, report generation, and event-based triggers that kick off workflows in other apps. With Pipedream's serverless platform, you can connect MySQL to hundreds of other services without managing infrastructure, crafting complex code, or handling authentication.
import mysql from '@pipedream/mysql';
export default defineComponent({
props: {
mysql,
},
async run({steps, $}) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/mysql
const queryObj = {
sql: "SELECT NOW()",
values: [], // Ignored since query does not contain placeholders
};
return await this.mysql.executeQuery(queryObj);
},
});